diff options
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xecjk/xeCJK.ins')
-rw-r--r-- | Master/texmf-dist/source/xelatex/xecjk/xeCJK.ins | 120 |
1 files changed, 79 insertions, 41 deletions
diff --git a/Master/texmf-dist/source/xelatex/xecjk/xeCJK.ins b/Master/texmf-dist/source/xelatex/xecjk/xeCJK.ins index 80c0f3f94b4..8ccb6dd5dbc 100644 --- a/Master/texmf-dist/source/xelatex/xecjk/xeCJK.ins +++ b/Master/texmf-dist/source/xelatex/xecjk/xeCJK.ins @@ -6,8 +6,6 @@ %% %% xeCJK.dtx (with options: `install') %% -%% $Id: xeCJK.dtx 750 2014-12-26 08:13:35Z sobenlee@gmail.com $ -%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% ----------------------------------------------------------------- %% Author: %% Wenchang Sun <sunwch@nankai.edu.cn> @@ -15,9 +13,9 @@ %% Leo Liu <leoliu.pku@gmail.com> %% Qing Lee <sobenlee@gmail.com> %% -%% Copyright (C) 2007--2014 Wenchang Sun -%% (C) 2009--2014 Leo Liu -%% (C) 2012--2014 Qing Lee +%% Copyright (C) 2007--2015 Wenchang Sun +%% (C) 2009--2015 Leo Liu +%% (C) 2012--2015 Qing Lee %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -32,13 +30,52 @@ %% ----------------------------------------------------------------- %% +\newread\inputcheck +\openin\inputcheck=xeCJK.ver +\ifeof\inputcheck + \def\xeCJKPutVersion{\string\GetIdInfo$Id$} +\else + \input xeCJK.ver +\fi +\closein\inputcheck + \input l3docstrip.tex + +\def\checkOption<#1{% + \ifcase + \ifx*#10\else \ifx/#11\else + \ifx+#12\else \ifx-#13\else + \ifx<#14\else \ifx @#15\else + \ifx.#16\else + 7\fi\fi\fi\fi\fi\fi\fi\relax + \expandafter\starOption\or + \expandafter\slashOption\or + \expandafter\plusOption\or + \expandafter\minusOption\or + \expandafter\verbOption\or + \expandafter\moduleOption\or + \expandafter\expOption\or + \expandafter\doOption\fi + #1% +} +\def\expOption .#1>#2\endLine{% + \maybeMsg{<.#1 . >}% + \Evaluate{#1}% + \begingroup + \catcode`\\=0 \catcode`\{=1 \catcode`\}=2 + \xdef\expandedLineStuff{\scantokens{#2\noexpand}}% + \endgroup + \def\do##1##2##3{% + \if1\Expr{##2}\StreamPut##1{\expandedLineStuff}\fi + }% + \activefiles +} + \keepsilent \askforoverwritefalse + \preamble -$Id: xeCJK.dtx 750 2014-12-26 08:13:35Z sobenlee@gmail.com $ -$URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ ----------------------------------------------------------------- Author: Wenchang Sun <sunwch@nankai.edu.cn> @@ -46,9 +83,9 @@ $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ Leo Liu <leoliu.pku@gmail.com> Qing Lee <sobenlee@gmail.com> - Copyright (C) 2007--2014 Wenchang Sun - (C) 2009--2014 Leo Liu - (C) 2012--2014 Qing Lee + Copyright (C) 2007--2015 Wenchang Sun + (C) 2009--2015 Leo Liu + (C) 2012--2015 Qing Lee This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -86,7 +123,7 @@ $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ xeCJK-example-CJKfntef.tex, xeCJK-example-punctstyle.tex, xeCJK-example-verbatim.tex, - xeCJK-example-IVS.tex, + xeCJK-example-CM.tex, xeCJK-example-listings.tex, xunicode-symbols.tex, xunicode-commands.tex, @@ -103,35 +140,36 @@ $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ \declarepostamble\emptypostamble \endpostamble -\generate{ - \usedir{source/xelatex/xecjk} - \file{xeCJK.ins}{\from{\jobname.dtx}{install}} - \usedir{tex/xelatex/xecjk} - \file{xeCJK.sty}{\from{\jobname.dtx}{package}} - \file{xeCJKfntef.sty}{\from{\jobname.dtx}{fntef}} - \file{xeCJK-listings.sty}{\from{\jobname.dtx}{listings}} - \file{xunicode-addon.sty}{\from{\jobname.dtx}{xunicode}} - \file{xunicode-extra.def}{\from{\jobname.dtx}{xunextra}} - \usepreamble\emptypreamble - \usepostamble\emptypostamble - \usedir{tex/xelatex/xecjk/config} - \file{xeCJK.cfg}{\from{\jobname.dtx}{config}} - \usedir{doc/xelatex/xecjk/example} - \file{xeCJK-example-autofake.tex}{\from{\jobname.dtx}{ex-autofake}} - \file{xeCJK-example-fallback.tex}{\from{\jobname.dtx}{ex-fallback}} - \file{xeCJK-example-subCJKblock.tex}{\from{\jobname.dtx}{ex-block}} - \file{xeCJK-example-CJKecglue.tex}{\from{\jobname.dtx}{ex-ecglue}} - \file{xeCJK-example-checksingle.tex}{\from{\jobname.dtx}{ex-single}} - \file{xeCJK-example-CJKfntef.tex}{\from{\jobname.dtx}{ex-fntef}} - \file{xeCJK-example-punctstyle.tex}{\from{\jobname.dtx}{ex-punctstyle}} - \file{xeCJK-example-verbatim.tex}{\from{\jobname.dtx}{ex-verb}} - \file{xeCJK-example-IVS.tex}{\from{\jobname.dtx}{ex-IVS}} - \file{xeCJK-example-listings.tex}{\from{\jobname.dtx}{ex-listings}} - \file{xunicode-symbols.tex}{\from{\jobname.dtx}{xunicode-symbols}} - \nopreamble\nopostamble - \usedir{doc/xelatex/xecjk} - \file{README.txt}{\from{\jobname.dtx}{readme}} -} +\generate + { + \usedir{source/xelatex/xecjk} + \file{xeCJK.ins} {\from{\jobname.dtx}{install}} + \usedir{tex/xelatex/xecjk} + \file{xeCJK.sty} {\from{\jobname.dtx}{package}} + \file{xeCJKfntef.sty} {\from{\jobname.dtx}{fntef}} + \file{xeCJK-listings.sty} {\from{\jobname.dtx}{listings}} + \file{xunicode-addon.sty} {\from{\jobname.dtx}{xunicode}} + \file{xunicode-extra.def} {\from{\jobname.dtx}{xunextra}} + \usepreamble\emptypreamble + \usepostamble\emptypostamble + \usedir{tex/xelatex/xecjk/config} + \file{xeCJK.cfg} {\from{\jobname.dtx}{config}} + \usedir{doc/xelatex/xecjk/example} + \file{xeCJK-example-autofake.tex} {\from{\jobname.dtx}{ex-autofake}} + \file{xeCJK-example-fallback.tex} {\from{\jobname.dtx}{ex-fallback}} + \file{xeCJK-example-subCJKblock.tex} {\from{\jobname.dtx}{ex-block}} + \file{xeCJK-example-CJKecglue.tex} {\from{\jobname.dtx}{ex-ecglue}} + \file{xeCJK-example-checksingle.tex} {\from{\jobname.dtx}{ex-single}} + \file{xeCJK-example-CJKfntef.tex} {\from{\jobname.dtx}{ex-fntef}} + \file{xeCJK-example-punctstyle.tex} {\from{\jobname.dtx}{ex-punctstyle}} + \file{xeCJK-example-verbatim.tex} {\from{\jobname.dtx}{ex-verb}} + \file{xeCJK-example-CM.tex} {\from{\jobname.dtx}{ex-cm}} + \file{xeCJK-example-listings.tex} {\from{\jobname.dtx}{ex-listings}} + \file{xunicode-symbols.tex} {\from{\jobname.dtx}{xunicode-symbols}} + \nopreamble\nopostamble + \usedir{doc/xelatex/xecjk} + \file{README.txt} {\from{\jobname.dtx}{readme}} + } \endbatchfile %% @@ -156,7 +194,7 @@ $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% xeCJK-example-CJKfntef.tex, %% xeCJK-example-punctstyle.tex, %% xeCJK-example-verbatim.tex, -%% xeCJK-example-IVS.tex, +%% xeCJK-example-CM.tex, %% xeCJK-example-listings.tex, %% xunicode-symbols.tex, %% xunicode-commands.tex, |