From fc6ef27970569efd4e3862bfba4640a668ba6aff Mon Sep 17 00:00:00 2001 From: Xavier Olive Date: Tue, 2 Jun 2015 22:53:58 +0200 Subject: 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. --- default.latex | 4 ++++ 1 file changed, 4 insertions(+) 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}}{} -- cgit v1.2.3