summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/engine/ctex-xecjk-engine.def
blob: 2ccbf1d2dbad99898c768992364b14d70bb4d64b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% ctex-xecjk-engine.def: for XeTeX engine with xeCJK
% vim:ft=tex

\CTEX@GBKfalse % XeTeX always use UTF-8 as default encoding

\RequirePackage[BoldFont,CJKnumber]{xeCJK}
\defaultfontfeatures{Mapping=tex-text}

\ifCTEX@punct
  \punctstyle{quanjiao}
\else
  \punctstyle{plain}
\fi

\input{ctex-cjk-common.def}

\ifCTEX@nofonts\else
  \ifCTEX@cjkfonts
    \input{ctex-xecjk-cjkfonts.def}
  \else\ifCTEX@winfonts
    \input{ctex-xecjk-winfonts.def}
  \else\ifCTEX@adobefonts
    \input{ctex-xecjk-adobefonts.def}
  \fi\fi\fi
\fi

\endinput