183
183
% <package>\NeedsTeXFormat{LaTeX2e}
184
184
% <package>\RequirePackage{expl3}
185
185
% <*!(driver|install)>
186
- % <!readme>\GetIdInfo $Id: zhlipsum.dtx 1.1.0 2018-04 -08 12:00:00Z Xiangdong Zeng <[email protected] > $
186
+ % <!readme>\GetIdInfo $Id: zhlipsum.dtx 1.1.1 2018-09 -08 12:00:00Z Xiangdong Zeng <[email protected] > $
187
187
% <package> {Chinese dummy text}
188
188
% <package>\ProvidesExplPackage{\ExplFileName}
189
189
% <utf8> {Chinese dummy text with UTF-8 encoding (for zhlipsum)}
237
237
\preto\ctexexam {\catcode `!=\active }
238
238
\preto\endctexexam {\catcode `!=12 }
239
239
\catcode `!=12
240
- \makeatother
241
240
% Do not add hyperlink for `TF`, and do not change color.
242
241
\ExplSyntaxOn
243
242
\cs _set_protected:Npn \_ _codedoc_typeset_TF:
253
252
}
254
253
\group _end:
255
254
}
255
+ % From l3doc, to make @@ -> <module> while @@@@ -> @@
256
+ \cs _set_protected:Npn \_ _ctxdoc_replace_at_at_aux:Nn #1#2
257
+ {
258
+ \tl _replace_all:Nnn #1 { \token _to_str:N @ } { @ }
259
+ \tl _replace_all:Nnn #1 { \token _to_str:N _ } { _ }
260
+ \tl _replace_all:Nnn #1 { @ @ @ @ } { \token _to_str:N a a }
261
+ \tl _replace_all:Nnn #1 { _ _ @ @ } { _ _ #2 }
262
+ \tl _replace_all:Nnn #1 { _ @ @ } { _ _ #2 }
263
+ \tl _replace_all:Nnn #1 { @ @ } { _ _ #2 }
264
+ \tl _replace_all:Nnn #1 { \token _to_str:N a a } { @ @ }
265
+ }
256
266
\ExplSyntaxOff
267
+ \makeatother
257
268
\RenewDocumentEnvironment {arguments}{}%
258
269
{\enumerate [label={\texttt {\# \arabic *:~ }},
259
270
leftmargin=2em, labelsep=0pt, nolistsep]}%
280
291
% \changes{v0.4}{2017/09/16}{将安装、测试文件集成进源文件。}
281
292
% \changes{v0.4}{2017/09/16}{优化宏包实现。}
282
293
% \changes{v0.5}{2018/01/06}{添加英文版用户文档。}
294
+ % \changes{v1.1.1}{2018/09/08}{完善持续集成系统,在多平台上进行测试。}
283
295
%
284
296
% \CheckSum{0}
285
297
%
@@ -301,11 +313,11 @@ Copyright (C) 2017, 2018 by Xiangdong Zeng <
[email protected] >.
301
313
%
302
314
% \title{\textbf{zhlipsum: 中文乱数假文(Lorem ipsum)}}
303
315
% \author{曾祥东}
304
- % \date{2018/04 /08 \quad v1.1.0 ^^A
316
+ % \date{2018/09 /08 \quad v1.1.1 ^^A
305
317
% \thanks{\url{https://github.com/Stone-Zeng/zhlipsum}.}}
306
318
% ^^A! \title{\textbf{The \pkg{zhlipsum} Package: Chinese Dummy Text}}
307
319
% ^^A! \author{Xiangdong Zeng}
308
- % ^^A! \date{2018/04 /08 \quad v1.1.0 %
320
+ % ^^A! \date{2018/09 /08 \quad v1.1.1 %
309
321
% ^^A! \thanks{\url{https://github.com/Stone-Zeng/zhlipsum}.}}
310
322
% ^^A!
311
323
%
921
933
% \begin{macrocode}
922
934
\keys _define:nn { zhlipsum / option }
923
935
{
924
- encoding .choices:nn =
936
+ encoding .choices:nn =
925
937
{ utf8, gbk, big5 }
926
938
{
927
939
\tl _gset_eq:NN \g _@@_encoding_tl \l _keys_choice_tl
944
956
%
945
957
% 处理未知选项。
946
958
% \begin{macrocode}
947
- unknown .code:n = { \@@ _error:n { unknown-option } }
959
+ unknown .code:n = { \@@ _error:n { unknown-option } }
948
960
}
949
961
% \end{macrocode}
950
962
%
@@ -1484,6 +1496,7 @@ Copyright (C) 2017, 2018 by Xiangdong Zeng <
[email protected] >.
1484
1496
% \end{macro}
1485
1497
%
1486
1498
% \changes{v1.0.0}{2018/03/26}{增加预定义假文。}
1499
+ % \changes{v1.1.1}{2018/07/19}{更新假文文本。}
1487
1500
%
1488
1501
% 预定义假文的声明放置在分组内,利用 \cs{@@_set_special_catcode:} 切换
1489
1502
% 类别码后可以不再需要 \pkg{CJK} 的预处理操作。具体声明此处不再列出。
0 commit comments