Debian Codegraph @

texmf-dist/tex/latex/ctex/config/ctexbackend.cfg

raw
1 %%
2 %% This is file `ctexbackend.cfg',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ctex.dtx (with options: `backend')
8 %%
9 %% Copyright (C) 2003--2022
10 %% CTEX.ORG and any individual authors listed in the documentation.
11 %% ---------------------------------------------------------------------
12 %%
13 %% This work may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either
15 %% version 1.3c of this license or (at your option) any later
16 %% version. This version of this license is in
17 %% http://www.latex-project.org/lppl/lppl-1-3c.txt
18 %% and the latest version of this license is in
19 %% http://www.latex-project.org/lppl.txt
20 %% and version 1.3 or later is part of all distributions of
21 %% LaTeX version 2005/12/01 or later.
22 %%
23 %% This work has the LPPL maintenance status "maintained".
24 %%
25 %% ---------------------------------------------------------------------
26 %%
27 \ProvidesFile{ctexbackend.cfg}%
28 [2022/07/14 v2.5.10 Backend configuration file (CTEX)]
29 \begingroup
30 \expandafter\ifx\csname Umathchardef\endcsname\relax
31 \else\expandafter\endgroup\expandafter\endinput\fi
32 \ifodd
33 \expandafter\ifx\csname pdfoutput\endcsname\relax
34 \expandafter\ifx\csname enablecjktoken\endcsname\relax 0\else 1\fi
35 \else\ifnum\pdfoutput>0 0\else 1\fi\fi\space
36 \def\x#1{%
37 \if\relax\detokenize{#1}\relax
38 \gdef\@classoptionslist{dvipdfmx}%
39 \else
40 \let\CTEX@add\@ne
41 \@tfor\x:={dvips}{dvipdfmx}{dvisvgm}\do{%
42 \expandafter\in@\expandafter{\expandafter,\x,}{,#1,}%
43 \ifin@ \let\CTEX@add\tw@ \@break@tfor \fi}%
44 \ifodd\CTEX@add \gdef\@classoptionslist{dvipdfmx,#1}\fi
45 \fi}
46 \expandafter\x\expandafter{\@classoptionslist}
47 \fi
48 \endgroup
49 %%
50 %%
51 %% End of file `ctexbackend.cfg'.