summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xcjk2uni/xCJK2uni.ins
blob: 61d6ac170e87d3a583c92fbbe6de7a8046f3a2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
%%
%% This is file `xCJK2uni.ins',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% xCJK2uni.dtx  (with options: `install')
%% 
%%    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
%%    of this license or (at your option) any later version.
%%    The latest version of this license is in
%%      http://www.latex-project.org/lppl.txt
%%    and version 1.3 or later is part of all distributions of LaTeX
%%    version 2005/12/01 or later.
%% 
%%    This work has the LPPL maintenance status "maintained".
%%    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, 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
   of this license or (at your option) any later version.
   The latest version of this license is in
     http://www.latex-project.org/lppl.txt
   and version 1.3 or later is part of all distributions of LaTeX
   version 2005/12/01 or later.

   This work has the LPPL maintenance status "maintained".
   The Current Maintainer of this work is Qing Lee.

\endpreamble
\postamble

   This package consists of the file  xCJK2uni.dtx,
                and the derived files xCJK2uni.pdf,
                                      xCJK2uni.sty,
                                      xCJK2uni.ins,
                                      xCJK2uni-make.tex,
                                      xCJK2uni-sfd.def,
                                      xCJK2uni-UBg5plus.def,
                                      xCJK2uni-UBig5.def,
                                      xCJK2uni-UGB.def,
                                      xCJK2uni-UGBK.def,
                                      xCJK2uni-UJIS.def,
                                      xCJK2uni-UKS.def,
                                      c****.cmap, and
                                      README.
\endpostamble

\declarepostamble\emptypostamble
\endpostamble

\generate
  {
    \usedir{source/latex/xcjk2uni}
    \file{xCJK2uni.ins}      {\from{\jobname.dtx}{install}}
    \usedir{tex/latex/xcjk2uni}
    \file{xCJK2uni.sty}      {\from{\jobname.dtx}{package}}
    \file{xCJK2uni-make.tex} {\from{\jobname.dtx}{make}}
    \nopreamble\nopostamble
    \usedir{doc/latex/xcjk2uni}
    \file{README.txt}        {\from{\jobname.dtx}{readme}}
  }

\let\input\@@input
\def\CJKtuend{\ExplSyntaxOff}
\input xCJK2uni-make %
\let\input\skip@input

\generate
  {
    \usedir{tex/latex/xcjk2uni}
    \usepostamble\emptypostamble
    \file{xCJK2uni-UBig5.def}
      {
        \from{\jobname.dtx}     {def,Bg5}
        \from{xCJK2uni-sfd.def} {Bg5}
      }
    \file{xCJK2uni-UBg5plus.def}
      {
        \from{\jobname.dtx}     {def,Bg5+}
        \from{xCJK2uni-sfd.def} {Bg5+}
      }
    \file{xCJK2uni-UGB.def}
      {
        \from{\jobname.dtx}     {def,GB}
        \from{xCJK2uni-sfd.def} {GB}
      }
    \file{xCJK2uni-UGBK.def}
      {
        \from{\jobname.dtx}     {def,GBK}
        \from{xCJK2uni-sfd.def} {GBK}
      }
    \file{xCJK2uni-UJIS.def}
      {
        \from{\jobname.dtx}     {def,JIS}
        \from{xCJK2uni-sfd.def} {JIS}
      }
    \file{xCJK2uni-UKS.def}
      {
        \from{\jobname.dtx}     {def,KS}
        \from{xCJK2uni-sfd.def} {KS}
      }
  }

\endbatchfile
%% 
%%    This package consists of the file  xCJK2uni.dtx,
%%                 and the derived files xCJK2uni.pdf,
%%                                       xCJK2uni.sty,
%%                                       xCJK2uni.ins,
%%                                       xCJK2uni-make.tex,
%%                                       xCJK2uni-sfd.def,
%%                                       xCJK2uni-UBg5plus.def,
%%                                       xCJK2uni-UBig5.def,
%%                                       xCJK2uni-UGB.def,
%%                                       xCJK2uni-UGBK.def,
%%                                       xCJK2uni-UJIS.def,
%%                                       xCJK2uni-UKS.def,
%%                                       c****.cmap, and
%%                                       README.
%%
%% End of file `xCJK2uni.ins'.