2 %% This is file `cenccmn.tex',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% ucs.dtx (with options: `cenccmn.tex')
9 %% Copyright 2001 Dominique Unruh <dominique@unruh.de>
11 %% This program is provided under the terms of the LaTeX Project Public
12 %% License with some modifications.
13 %% See the file LICENSE (http://www.unruh.de/DniQ/latex/unicode/content/LICENSE)
16 \ProvidesFile{cenccmn.tex}[2001/10/25
17 Macros common to fontencodings C00, C40, C61]%
19 \ifx\CJK@plane\undefined\def\mandatory@arg{cmr10}\else
20 \edef\mandatory@arg{\mandatory@arg\CJK@plane}\fi%
22 \xdef\font@name{\csname \curr@fontshape/\f@size/%
23 \ifx\CJK@plane\undefined\else\CJK@plane\fi\endcsname}}
25 \expandafter\ifx\csname CJK@\mandatory@arg/\f@size\endcsname\relax
26 \expandafter\gdef\csname CJK@\mandatory@arg/\f@size\endcsname{}%
32 \ifx\CJK@plane\undefined\def\external@font{cmr10}\else
34 \mandatory@arg\CJK@plane\f@size}\fi
36 \csname \curr@fontshape/\f@size/%
37 \ifx\CJK@plane\undefined\else\CJK@plane\fi\endcsname}}%
39 \ifx\CJK@plane\undefined\def\external@font{cmr10}\else
42 \mandatory@arg\CJK@plane\optional@arg\space at \the\@tempdimb}\fi
44 \csname \curr@fontshape/\f@size/%
45 \ifx\CJK@plane\undefined\else\CJK@plane\fi\endcsname\endcsname}}
46 \DeclareSizeFunction{CJK}{\CJK@@empty\@font@warning}
47 \DeclareSizeFunction{CJKb}{\CJK@@empty\@font@warning}
48 \DeclareSizeFunction{sCJK}{\CJK@@empty\@font@info}
49 \DeclareSizeFunction{sCJKb}{\CJK@@empty\@font@info}
50 \DeclareSizeFunction{CJKsub}{\CJK@@sub\@font@warning}
51 \DeclareSizeFunction{CJKssub}{\CJK@@sub\@font@info}
52 \DeclareSizeFunction{DNPgen}{\CJK@DNPgen}
53 \DeclareSizeFunction{DNPgenb}{\CJK@DNPgen}
54 \DeclareSizeFunction{DNP}{\CJK@DNP}
55 \DeclareSizeFunction{DNPb}{\CJK@DNP}
56 \@ifpackageloaded{CJK}{}{%
58 \@ifpackageloaded{CJK}{%
59 \PackageError{fontenc C??}{Load fontencoding C00/C40/... after CJK}{%
60 Otherwise strange things may happen, when you use those encodings}}{}}}
61 \def\CJKresetplane{\let\CJK@plane\undefined}
65 %%% TeX-master: "../test.tex"
67 %%% Local IspellDict: british