Improved xetex part of latex.template.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1776 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
ce28d00b87
commit
9905223ae8
1 changed files with 9 additions and 1 deletions
|
@ -4,7 +4,14 @@ $else$
|
||||||
\documentclass{article}
|
\documentclass{article}
|
||||||
\usepackage{amsmath}
|
\usepackage{amsmath}
|
||||||
$if(xetex)$
|
$if(xetex)$
|
||||||
\usepackage{fontspec,xltxtra,xunicode}
|
\usepackage{ifxetex}
|
||||||
|
\ifxetex
|
||||||
|
\usepackage{fontspec,xltxtra,xunicode}
|
||||||
|
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
|
||||||
|
\else
|
||||||
|
\usepackage[mathletters]{ucs}
|
||||||
|
\usepackage[utf8x]{inputenc}
|
||||||
|
\fi
|
||||||
$else$
|
$else$
|
||||||
\usepackage[mathletters]{ucs}
|
\usepackage[mathletters]{ucs}
|
||||||
\usepackage[utf8x]{inputenc}
|
\usepackage[utf8x]{inputenc}
|
||||||
|
@ -69,6 +76,7 @@ $endif$
|
||||||
|
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
$endif$
|
$endif$
|
||||||
$body$
|
$body$
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue