summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-03 22:59:37 +0000
committerKarl Berry <karl@freefriends.org>2016-02-03 22:59:37 +0000
commite5ef88072190f4f0e310c900fd626db1dd7dc096 (patch)
treecc33fffc8a4c7e38f9330a4f4e8bf3fa1ae78b2d /Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins
parent7a4beb3037a1defa6f02c59006ba12df37394201 (diff)
xcjk2uni (3feb16)
git-svn-id: svn://tug.org/texlive/trunk@39558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins')
-rw-r--r--Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins44
1 files changed, 42 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins b/Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins
index 4aadea83f18..61d6ac170e8 100644
--- a/Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins
+++ b/Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins
@@ -6,7 +6,7 @@
%%
%% xCJK2uni.dtx (with options: `install')
%%
-%% Copyright (C) 2013-2014 by Qing Lee <sobenlee@gmail.com>
+%% Copyright (C) 2013-2014, 2016 by Qing Lee <sobenlee@gmail.com>
%% --------------------------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -20,12 +20,52 @@
%% The Current Maintainer of this work is Qing Lee.
%%
+\newread\inputcheck
+\openin\inputcheck=xCJK2uni.ver
+\ifeof\inputcheck
+ \expandafter\def\csname xCJK2uniPutVersion\endcsname{\string\GetIdInfo$Id$}
+\else
+ \input xCJK2uni.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 \catcode`\ =10
+ \xdef\expandedLineStuff{\scantokens{#2\noexpand}}%
+ \endgroup
+ \def\do##1##2##3{%
+ \if1\Expr{##2}\StreamPut##1{\expandedLineStuff}\fi
+ }%
+ \activefiles
+}
+
\keepsilent
\askforoverwritefalse
\preamble
- Copyright (C) 2013-2014 by Qing Lee <sobenlee@gmail.com>
+ Copyright (C) 2013-2014, 2016 by Qing Lee <sobenlee@gmail.com>
--------------------------------------------------------------------------
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3