git.iko.soy/typeable/pandoc
on master help sign in
Support for Asian languages, CJKmainfont label
fc6ef27Xavier Olive
default.latex+4
@@ -38,6 +38,10 @@ $endif$
38$if(mathfont)$
38$if(mathfont)$
39 \setmathfont(Digits,Latin,Greek){$mathfont$}
39 \setmathfont(Digits,Latin,Greek){$mathfont$}
40$endif$
40$endif$
41+$if(CJKmainfont)$
42+ \usepackage{xeCJK}
43+ \setCJKmainfont{$CJKmainfont$}
44+$endif$
41\fi
45\fi
42% use upquote if available, for straight quotes in verbatim environments
46% use upquote if available, for straight quotes in verbatim environments
43\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
47\IfFileExists{upquote.sty}{\usepackage{upquote}}{}