diff options
author | Xavier Olive <xavier@xoolive.org> | 2015-06-02 22:53:58 +0200 |
---|---|---|
committer | Xavier Olive <xavier@xoolive.org> | 2015-06-02 22:53:58 +0200 |
commit | fc6ef27970569efd4e3862bfba4640a668ba6aff (patch) | |
tree | b4157b8e59e1f759ffd64139c64df6abb09585a3 | |
parent | 7db51bc9ae6afe0de79804346075d2001ba757e2 (diff) | |
download | pandoc-fc6ef27970569efd4e3862bfba4640a668ba6aff.tar.gz |
Support for Asian languages, CJKmainfont label
Works only with xelatex.
This is not a big deal since when it hits on a utf8 unknown char (say Asian script), pandoc suggests to switch to the xelatex engine.
-rw-r--r-- | default.latex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/default.latex b/default.latex index 09a55acb4..f2e1dcb5e 100644 --- a/default.latex +++ b/default.latex @@ -38,6 +38,10 @@ $endif$ $if(mathfont)$ \setmathfont(Digits,Latin,Greek){$mathfont$} $endif$ +$if(CJKmainfont)$ + \usepackage{xeCJK} + \setCJKmainfont{$CJKmainfont$} +$endif$ \fi % use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} |