summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ucs/cenccmn.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucs/cenccmn.tex')
-rw-r--r--Master/texmf-dist/tex/latex/ucs/cenccmn.tex67
1 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ucs/cenccmn.tex b/Master/texmf-dist/tex/latex/ucs/cenccmn.tex
new file mode 100644
index 00000000000..b3d2a5d693d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ucs/cenccmn.tex
@@ -0,0 +1,67 @@
+%%
+%% This is file `cenccmn.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ucs.dtx (with options: `cenccmn.tex')
+%%
+%% Copyright 2001 Dominique Unruh <dominique@unruh.de>
+%%
+%% This program is provided under the terms of the LaTeX Project Public
+%% License with some modifications.
+%% See the file LICENSE (http://www.unruh.de/DniQ/latex/unicode/content/LICENSE)
+%% for information.
+%%
+\ProvidesFile{cenccmn.tex}[2001/10/25
+ Macros common to fontencodings C00, C40, C61]%
+\def\CJK@@empty#1{%
+ \ifx\CJK@plane\undefined\def\mandatory@arg{cmr10}\else
+ \edef\mandatory@arg{\mandatory@arg\CJK@plane}\fi%
+ \empty@sfcnt#1%
+ \xdef\font@name{\csname \curr@fontshape/\f@size/%
+ \ifx\CJK@plane\undefined\else\CJK@plane\fi\endcsname}}
+\def\CJK@@sub#1{%
+ \expandafter\ifx\csname CJK@\mandatory@arg/\f@size\endcsname\relax
+ \expandafter\gdef\csname CJK@\mandatory@arg/\f@size\endcsname{}%
+ \sub@sfcnt#1%
+ \else
+ \sub@sfcnt\@gobble
+ \fi}
+\def\CJK@DNPgen{%
+ \ifx\CJK@plane\undefined\def\external@font{cmr10}\else
+ \edef\external@font{%
+ \mandatory@arg\CJK@plane\f@size}\fi
+ \xdef\font@name{%
+ \csname \curr@fontshape/\f@size/%
+ \ifx\CJK@plane\undefined\else\CJK@plane\fi\endcsname}}%
+\def\CJK@DNP{%
+ \ifx\CJK@plane\undefined\def\external@font{cmr10}\else
+ \@tempdimb \f@size\p@
+ \edef\external@font{%
+ \mandatory@arg\CJK@plane\optional@arg\space at \the\@tempdimb}\fi
+ \xdef\font@name{%
+ \csname \curr@fontshape/\f@size/%
+ \ifx\CJK@plane\undefined\else\CJK@plane\fi\endcsname\endcsname}}
+\DeclareSizeFunction{CJK}{\CJK@@empty\@font@warning}
+\DeclareSizeFunction{CJKb}{\CJK@@empty\@font@warning}
+\DeclareSizeFunction{sCJK}{\CJK@@empty\@font@info}
+\DeclareSizeFunction{sCJKb}{\CJK@@empty\@font@info}
+\DeclareSizeFunction{CJKsub}{\CJK@@sub\@font@warning}
+\DeclareSizeFunction{CJKssub}{\CJK@@sub\@font@info}
+\DeclareSizeFunction{DNPgen}{\CJK@DNPgen}
+\DeclareSizeFunction{DNPgenb}{\CJK@DNPgen}
+\DeclareSizeFunction{DNP}{\CJK@DNP}
+\DeclareSizeFunction{DNPb}{\CJK@DNP}
+\@ifpackageloaded{CJK}{}{%
+ \AtBeginDocument{%
+ \@ifpackageloaded{CJK}{%
+ \PackageError{fontenc C??}{Load fontencoding C00/C40/... after CJK}{%
+ Otherwise strange things may happen, when you use those encodings}}{}}}
+\def\CJKresetplane{\let\CJK@plane\undefined}
+%%% Local Variables:
+%%% mode: latex
+%%% coding: utf-8
+%%% TeX-master: "../test.tex"
+%%% End:
+%%% Local IspellDict: british