summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx')
-rw-r--r--Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx23
1 files changed, 12 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx b/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx
index 2983f3c5455..e142fba5ce1 100644
--- a/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx
+++ b/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx
@@ -26,7 +26,7 @@ Issues and pull requests are welcome.
Copyright and Licence
---------------------
- Copyright (C) 2012-2020 by Qing Lee <sobenlee@gmail.com>
+ Copyright (C) 2012-2022 by Qing Lee <sobenlee@gmail.com>
----------------------------------------------------------------------
This work may be distributed and/or modified under the
@@ -81,7 +81,7 @@ Copyright and Licence
\preamble
- Copyright (C) 2012-2020 by Qing Lee <sobenlee@gmail.com>
+ Copyright (C) 2012-2022 by Qing Lee <sobenlee@gmail.com>
--------------------------------------------------------------------------
This work may be distributed and/or modified under the
@@ -167,12 +167,12 @@ Copyright and Licence
%</internal>
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\RequirePackage{expl3}
-%<+package>\GetIdInfo$Id: xpinyin.dtx d74fa10 2020-10-19 20:23:41 +0800 Qing Lee <sobenlee@gmail.com> $
+%<+package>\GetIdInfo$Id: xpinyin.dtx b319ff9 2022-06-04 19:40:35 +0800 Qing Lee <sobenlee@gmail.com> $
%<package> {Automatically add pinyin to Chinese characters}
%<package>\ProvidesExplPackage{\ExplFileName}
-%<package> {\ExplFileDate}{2.9}{\ExplFileDescription}
+%<package> {\ExplFileDate}{3.0}{\ExplFileDescription}
%<database>\ProvidesFile{xpinyin-database.def}%
-%<database> [2020/10/19 v2.9 xpinyin database]
+%<database> [2022/06/04 v3.0 xpinyin database]
%<*driver>
\documentclass{ctxdoc}
\usepackage{xpinyin}
@@ -186,7 +186,7 @@ Copyright and Licence
%</driver>
% \fi
%
-% \CheckSum{691}
+% \CheckSum{690}
% \GetFileId{xpinyin.sty}
%
% \title{\bfseries\pkg{xpinyin} 宏包}
@@ -366,8 +366,9 @@ Copyright and Licence
% \begin{syntax}
% multiple = \Arg{format}
% \end{syntax}
-% 设置多音字拼音的其他格式,缺省值为空。可以通过这个选项来提醒校正多音字的拼音。例如
-% 本文档设置多音字拼音的颜色是红色(需要载入 \pkg{color} 宏包):
+% 设置多音字拼音的其他格式,缺省值为空。可以通过这个选项来提醒校正多音字的拼音。
+% 注意这个选项会覆盖 \opt{format} 设置的格式。例如本文档设置多音字拼音的颜色是
+% 红色(需要载入 \pkg{color} 宏包):
% \begin{frameverb}
% \xpinyinsetup{multiple={\color{red}}}
% \end{frameverb}
@@ -603,9 +604,9 @@ Copyright and Licence
{
\l_@@_pinyin_box_hook_tl
\@@_select_font:
- \clist_if_exist:cTF { c_@@_multiple_ #1 _clist }
- { \l_@@_multiple_tl \l_@@_format_tl }
- { \l_@@_format_tl }
+ \l_@@_format_tl
+ \clist_if_exist:cT { c_@@_multiple_ #1 _clist }
+ { \l_@@_multiple_tl }
{#3}
}
\dim_compare:nNnT