texlive[42847] Master/texmf-dist: ctex (27dec16)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 3 00:52:32 CET 2017


Revision: 42847
          http://tug.org/svn/texlive?view=revision&revision=42847
Author:   karl
Date:     2017-01-03 00:52:32 +0100 (Tue, 03 Jan 2017)
Log Message:
-----------
ctex (27dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ctex/ctex.pdf
    trunk/Master/texmf-dist/source/latex/ctex/ctex.dtx
    trunk/Master/texmf-dist/tex/generic/ctex/zhadobefonts.tex
    trunk/Master/texmf-dist/tex/generic/ctex/zhfandolfonts.tex
    trunk/Master/texmf-dist/tex/generic/ctex/zhfounderfonts.tex
    trunk/Master/texmf-dist/tex/generic/ctex/zhubuntufonts.tex
    trunk/Master/texmf-dist/tex/generic/ctex/zhwindowsfonts.tex
    trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-gbk.cfg
    trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg
    trunk/Master/texmf-dist/tex/latex/ctex/config/ctex.cfg
    trunk/Master/texmf-dist/tex/latex/ctex/config/ctexopts.cfg
    trunk/Master/texmf-dist/tex/latex/ctex/ctex-article.def
    trunk/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def
    trunk/Master/texmf-dist/tex/latex/ctex/ctex-book.def
    trunk/Master/texmf-dist/tex/latex/ctex/ctex-c5size.clo
    trunk/Master/texmf-dist/tex/latex/ctex/ctex-cs4size.clo
    trunk/Master/texmf-dist/tex/latex/ctex/ctex-report.def
    trunk/Master/texmf-dist/tex/latex/ctex/ctex.sty
    trunk/Master/texmf-dist/tex/latex/ctex/ctexart.cls
    trunk/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls
    trunk/Master/texmf-dist/tex/latex/ctex/ctexbook.cls
    trunk/Master/texmf-dist/tex/latex/ctex/ctexcap.sty
    trunk/Master/texmf-dist/tex/latex/ctex/ctexheading.sty
    trunk/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
    trunk/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty
    trunk/Master/texmf-dist/tex/latex/ctex/ctexrep.cls
    trunk/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
    trunk/Master/texmf-dist/tex/latex/ctex/ctexspa.def
    trunk/Master/texmf-dist/tex/latex/ctex/ctxdoc.cls
    trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseGBK.dict
    trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseUTF8.dict
    trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-aptex.def
    trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-luatex.def
    trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-pdftex.def
    trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-uptex.def
    trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def
    trunk/Master/texmf-dist/tex/latex/ctex/fd/c19rm.fd
    trunk/Master/texmf-dist/tex/latex/ctex/fd/c19sf.fd
    trunk/Master/texmf-dist/tex/latex/ctex/fd/c19tt.fd
    trunk/Master/texmf-dist/tex/latex/ctex/fd/c70rm.fd
    trunk/Master/texmf-dist/tex/latex/ctex/fd/c70sf.fd
    trunk/Master/texmf-dist/tex/latex/ctex/fd/c70tt.fd
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-adobe.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-fandol.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-founder.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-mac.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-ubuntu.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windows.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsnew.def
    trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsold.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-beamer.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-article.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-beamer.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-book.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-report.def
    trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain.def

Modified: trunk/Master/texmf-dist/doc/latex/ctex/ctex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/ctex/ctex.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/ctex/ctex.dtx	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/source/latex/ctex/ctex.dtx	2017-01-02 23:52:32 UTC (rev 42847)
@@ -413,7 +413,7 @@
 %<*!(c19|c70|ctexspa|dict)>
 %<class|style|ctexcap|ctexhook|ctexpatch|ctxdoc>\NeedsTeXFormat{LaTeX2e}
 %<class|style|ctexcap|ctexhook|ctexpatch|ctxdoc>\RequirePackage{expl3}
-%<+!driver>\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+%<+!driver>\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
 %<ctxdoc>  {ctex documentation (CTEX)}
 %<ctxdoc>\ProvidesExplClass{ctxdoc}
 %<ctex>  {Chinese adapter in LaTeX (CTEX)}
@@ -502,7 +502,7 @@
 %<founder>\ProvidesExplFile{ctex-fontset-founder.def}
 %<ubuntu>  {Ubuntu fonts definition (CTEX)}
 %<ubuntu>\ProvidesExplFile{ctex-fontset-ubuntu.def}
-%<!driver>  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+%<!driver>  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 %</!(c19|c70|ctexspa|dict)>
 %<c19&rm>\ProvidesFile{c19rm.fd}%
 %<c19&sf>\ProvidesFile{c19sf.fd}%
@@ -513,9 +513,9 @@
 %<ctexspa>\ProvidesFile{ctexspa.def}%
 %<dict&theorem&GBK>\ProvidesDictionary{translator-theorem-dictionary}{ChineseGBK}%
 %<dict&theorem&UTF8>\ProvidesDictionary{translator-theorem-dictionary}{ChineseUTF8}%
-%<c19|c70>  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
-%<ctexspa>  [2016/11/22 v2.4.6 Space info for CJKpunct (CTEX)]
-%<dict&theorem>  [2016/11/22 v2.4.6 Chinese translation for theorem name (CTEX)]
+%<c19|c70>  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
+%<ctexspa>  [2016/12/27 v2.4.7 Space info for CJKpunct (CTEX)]
+%<dict&theorem>  [2016/12/27 v2.4.7 Chinese translation for theorem name (CTEX)]
 %</!(driver|readme|install|zhmap|spa|docstrip)>
 %<*driver>
 \documentclass{ctxdoc}
@@ -537,7 +537,7 @@
 % \changes{v2.4}{2015/02/19}{加强 \pkg{beamer} 宏包支持。}
 %
 %
-% \CheckSum{5876}
+% \CheckSum{5878}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -2890,6 +2890,7 @@
 %     \item \pkg{xkeyval} 宏包。
 %   \end{itemize}
 %   \item[\ding{229}] 以上是使用 \LuaLaTeX{} 编译时的依赖项。
+%   \item \pkg{pxeverysel} 宏包,属于 \pkg{platex-tools} 宏集。
 %   \item \pkg{zhmetrics-uptex} 宏包。
 %   \item[\ding{229}] 以上是使用 \upLaTeX{} 编译时的依赖项。
 % \end{itemize}
@@ -3709,39 +3710,6 @@
 %</class>
 %    \end{macrocode}
 %
-% \subsection{用户设置接口}
-%
-% \changes{v2.0}{2014/03/18}{新增统一设置接口 \tn{ctexset}。}
-%
-% \begin{macro}{\ctexset}
-%    \begin{macrocode}
-%<*class|ctex|ctexheading>
-\NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
-%</class|ctex|ctexheading>
-%    \end{macrocode}
-% \end{macro}
-%
-% \changes{v2.0}{2015/03/21}{\tn{CTEXsetup}, \tn{CTEXoptions} 是过时命令。}
-% \begin{macro}{\CTEXsetup,\CTEXoptions}
-% 过时命令。
-%    \begin{macrocode}
-%<*class|ctex>
-\NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
-  {
-    \msg_warning:nnnn { ctex } { deprecated-command } { \CTEXsetup }
-      { \ctexset~ {~ #2~ =~ {~ #1~ }~ }~ is~ set. }
-    \IfNoValueF {#1} { \keys_set:nn { ctex / #2 } {#1} }
-  }
-\NewDocumentCommand \CTEXoptions { +o }
-  {
-    \msg_warning:nnnn { ctex } { deprecated-command } { \CTEXoptions }
-      { \ctexset~ {~ #1~ }~ is~ set. }
-    \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
-  }
-%</class|ctex>
-%    \end{macrocode}
-% \end{macro}
-%
 % \subsection{特定引擎支持与设置}
 %
 % \subsubsection{\pkg{ctex-engine-pdftex.def}}
@@ -5808,35 +5776,13 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}[int]{\@EverySelectfont at Init}
+% \changes{v2.4.7}{2016/12/27}{依赖 \pkg{pxeverysel} 宏包。}
+%
 % \pkg{everysel} 宏包(2011/10/28)未考虑 \upLaTeX{} 对 \tn{selectfont} 的修
-% 改,因此这里需要对其给出正确的定义。因为不会使用 \pkg{CJK},这里忽略有关
-% \pkg{CJK} 的定义。
+% 改,需要引入 \pkg{pxeverysel} 宏包。
 %    \begin{macrocode}
-\cs_set_nopar:Npn \@EverySelectfont at Init
-  {
-    \ctex_patch_cmd:Nnn \selectfont
-      { \enc at update }
-      {
-        \@EverySelectfont at EveryHook
-        \@EverySelectfont at AtNextHook
-        \gdef \@EverySelectfont at AtNextHook { }
-        \enc at update
-      }
-    \@ifpackageloaded { tracefnt }
-      {
-        \EverySelectfont
-          {
-            \ifnum \tracingfonts > \tw@
-              \@font at info { Switching~ to~ \font at name }
-            \fi
-          }
-      }
-      { }
-    \let \@EverySelectfont at Init \undefined
-  }
+\RequirePackage { pxeverysel }
 %    \end{macrocode}
-% \end{macro}
 %
 %    \begin{macrocode}
 %</uptex|aptex>
@@ -6276,7 +6222,7 @@
 % 字体设置在导言区也可用,我们还需要在这里手工修改 \tn{selectfont}。\pkg{everysel}
 % 宏包会用 \tn{CheckCommand} 来检查 \tn{selectfont} 是否为标准定义。我们修改了
 % \tn{selectfont},所以会给出一个警告。为了消除这个警告,在它检查之前,还原本来
-% 定义。
+% 定义。\pkg{pxeverysel} 宏包取消了检查,但也需要恢复定义,避免重复使用钩子。
 %    \begin{macrocode}
 \cs_new_protected:Npn \ctex_add_to_selectfont:n #1
   {
@@ -6284,14 +6230,26 @@
       { \exp_not:o { \CTEX at selectfont@hook #1 } }
   }
 \cs_new_eq:NN \CTEX at selectfont@hook \prg_do_nothing:
-\cs_new_eq:Nc \@@_save_selectfont: { selectfont ~ }
-\ctex_preto_cmd:NnnTF \selectfont { \ExplSyntaxOff }
-  { \CTEX at selectfont@hook }
-  {
-    \tl_put_left:Nn \@EverySelectfont at Init
-      { \cs_set_eq:cN { selectfont ~ } \@@_save_selectfont: }
-  }
-  { \ctex_patch_failure:N \selectfont }
+\if_cs_exist:N \@EverySelectfont at Init
+  \group_begin:
+    \cs_set:Npn \@@_tmp:N #1
+      {
+        \tl_set:Nn \l_@@_tmp_tl {#1}
+        \cs_new_eq:NN \CTEX at selectfont@save #1
+        \cs_new_protected_nopar:Npn \@@_restore_selectfont:
+          {
+            \tl_put_left:Nn \@EverySelectfont at Init
+              { \let #1 \CTEX at selectfont@save }
+            \cs_undefine:N \@@_restore_selectfont:
+          }
+      }
+    \ctex_parse_name:NN \@@_tmp:N \selectfont
+  \exp_last_unbraced:NNo \group_end:
+  \ctex_preto_cmd:NnnTF { \l_@@_tmp_tl } { \ExplSyntaxOff }
+    { \CTEX at selectfont@hook }
+    { \@@_restore_selectfont: }
+    { \ctex_patch_failure:N \selectfont }
+\fi:
 %    \end{macrocode}
 % \end{macro}
 %
@@ -6423,6 +6381,39 @@
 \ctex_file_input:n { \c_@@_engine_file_str }
 %    \end{macrocode}
 %
+% \subsection{用户设置接口}
+%
+% \changes{v2.0}{2014/03/18}{新增统一设置接口 \tn{ctexset}。}
+%
+% \begin{macro}{\ctexset}
+%    \begin{macrocode}
+%<*class|ctex|ctexheading>
+\NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
+%</class|ctex|ctexheading>
+%    \end{macrocode}
+% \end{macro}
+%
+% \changes{v2.0}{2015/03/21}{\tn{CTEXsetup}, \tn{CTEXoptions} 是过时命令。}
+% \begin{macro}{\CTEXsetup,\CTEXoptions}
+% 过时命令。出于历史原因,\tn{CTEXoptions} 需要在 \pkg{pxeverysel} 宏包之后定义。
+%    \begin{macrocode}
+%<*class|ctex>
+\NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
+  {
+    \msg_warning:nnnn { ctex } { deprecated-command } { \CTEXsetup }
+      { \ctexset~ {~ #2~ =~ {~ #1~ }~ }~ is~ set. }
+    \IfNoValueF {#1} { \keys_set:nn { ctex / #2 } {#1} }
+  }
+\NewDocumentCommand \CTEXoptions { +o }
+  {
+    \msg_warning:nnnn { ctex } { deprecated-command } { \CTEXoptions }
+      { \ctexset~ {~ #1~ }~ is~ set. }
+    \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
+  }
+%</class|ctex>
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{字距与缩进}
 %
 % \begin{macro}{autoindent}
@@ -8034,6 +8025,7 @@
 %
 % \begin{macro}[int]{\ps at headings}
 % \changes{v2.4.5}{2016/10/01}{修复补丁失败。}
+% \changes{v2.4.7}{2016/12/23}{修复 \cls{ctexrep} 类的 \tn{chaptermark} 汉化错误。}
 %    \begin{macrocode}
 %<*article>
 \if at twoside
@@ -8055,9 +8047,11 @@
 %<*book|report>
 \ctex_patch_cmd:Nnn \ps at headings
   {
-    \ifnum \c at secnumdepth > \m at ne \if at mainmatter
-      \@chapapp \ \thechapter . ~ \
-    \fi \fi
+%<book>    \ifnum \c at secnumdepth > \m at ne \if at mainmatter
+%<report>    \ifnum \c at secnumdepth > \m at ne
+      \@chapapp \ \thechapter . ~ \ %
+%<report>    \fi
+%<book>    \fi \fi
   }
   { \CTEXifname { \CTEXthechapter \quad } { } }
 \if at twoside
@@ -9972,7 +9966,7 @@
 %    \begin{macrocode}
 %<*windows>
 \ProvidesFile{zhwindowsfonts.tex}%
-  [2016/11/22 v2.4.6 Windows font map loader for pdfTeX and DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Windows font map loader for pdfTeX and DVIPDFMx (CTEX)]
 
 \ifzhmappdf
   \pdfmapline{=gbk at UGBK@     <simsun.ttc}
@@ -10044,7 +10038,7 @@
 %    \begin{macrocode}
 %<*adobe>
 \ProvidesFile{zhadobefonts.tex}%
-  [2016/11/22 v2.4.6 Adobe font map loader for DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Adobe font map loader for DVIPDFMx (CTEX)]
 
 \ifzhmappdf
 %% pdfTeX does not support OTF fonts
@@ -10080,7 +10074,7 @@
 %    \begin{macrocode}
 %<*fandol>
 \ProvidesFile{zhfandolfonts.tex}%
-  [2016/11/22 v2.4.6 Fandol font map loader for DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Fandol font map loader for DVIPDFMx (CTEX)]
 
 \ifzhmappdf
 %% pdfTeX does not support OTF fonts
@@ -10116,7 +10110,7 @@
 %    \begin{macrocode}
 %<*founder>
 \ProvidesFile{zhfounderfonts.tex}%
-  [2016/11/22 v2.4.6 Founder font map loader for pdfTeX and DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Founder font map loader for pdfTeX and DVIPDFMx (CTEX)]
 
 \ifzhmappdf
   \pdfmapline{=gbk at UGBK@     <FZSSK.TTF}
@@ -10188,7 +10182,7 @@
 %    \begin{macrocode}
 %<*ubuntu>
 \ProvidesFile{zhubuntufonts.tex}%
-  [2016/11/22 v2.4.6 Ubuntu font map loader for pdfTeX and DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Ubuntu font map loader for pdfTeX and DVIPDFMx (CTEX)]
 
 \ifzhmappdf
   \pdfmapline{=gbk at UGBK@     <uming.ttc}

Modified: trunk/Master/texmf-dist/tex/generic/ctex/zhadobefonts.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/ctex/zhadobefonts.tex	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/generic/ctex/zhadobefonts.tex	2017-01-02 23:52:32 UTC (rev 42847)
@@ -76,7 +76,7 @@
 \fi
 \endgroup
 \ProvidesFile{zhadobefonts.tex}%
-  [2016/11/22 v2.4.6 Adobe font map loader for DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Adobe font map loader for DVIPDFMx (CTEX)]
 
 \ifzhmappdf
 %% pdfTeX does not support OTF fonts

Modified: trunk/Master/texmf-dist/tex/generic/ctex/zhfandolfonts.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/ctex/zhfandolfonts.tex	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/generic/ctex/zhfandolfonts.tex	2017-01-02 23:52:32 UTC (rev 42847)
@@ -76,7 +76,7 @@
 \fi
 \endgroup
 \ProvidesFile{zhfandolfonts.tex}%
-  [2016/11/22 v2.4.6 Fandol font map loader for DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Fandol font map loader for DVIPDFMx (CTEX)]
 
 \ifzhmappdf
 %% pdfTeX does not support OTF fonts

Modified: trunk/Master/texmf-dist/tex/generic/ctex/zhfounderfonts.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/ctex/zhfounderfonts.tex	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/generic/ctex/zhfounderfonts.tex	2017-01-02 23:52:32 UTC (rev 42847)
@@ -76,7 +76,7 @@
 \fi
 \endgroup
 \ProvidesFile{zhfounderfonts.tex}%
-  [2016/11/22 v2.4.6 Founder font map loader for pdfTeX and DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Founder font map loader for pdfTeX and DVIPDFMx (CTEX)]
 
 \ifzhmappdf
   \pdfmapline{=gbk at UGBK@     <FZSSK.TTF}

Modified: trunk/Master/texmf-dist/tex/generic/ctex/zhubuntufonts.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/ctex/zhubuntufonts.tex	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/generic/ctex/zhubuntufonts.tex	2017-01-02 23:52:32 UTC (rev 42847)
@@ -76,7 +76,7 @@
 \fi
 \endgroup
 \ProvidesFile{zhubuntufonts.tex}%
-  [2016/11/22 v2.4.6 Ubuntu font map loader for pdfTeX and DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Ubuntu font map loader for pdfTeX and DVIPDFMx (CTEX)]
 
 \ifzhmappdf
   \pdfmapline{=gbk at UGBK@     <uming.ttc}

Modified: trunk/Master/texmf-dist/tex/generic/ctex/zhwindowsfonts.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/ctex/zhwindowsfonts.tex	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/generic/ctex/zhwindowsfonts.tex	2017-01-02 23:52:32 UTC (rev 42847)
@@ -76,7 +76,7 @@
 \fi
 \endgroup
 \ProvidesFile{zhwindowsfonts.tex}%
-  [2016/11/22 v2.4.6 Windows font map loader for pdfTeX and DVIPDFMx (CTEX)]
+  [2016/12/27 v2.4.7 Windows font map loader for pdfTeX and DVIPDFMx (CTEX)]
 
 \ifzhmappdf
   \pdfmapline{=gbk at UGBK@     <simsun.ttc}

Modified: trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-gbk.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-gbk.cfg	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-gbk.cfg	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Caption with encoding GBK (CTEX)}
 \ProvidesExplFile{ctex-name-gbk.cfg}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set_known:nn { ctex }
   {
     contentsname   = Ŀ¼ ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Caption with encoding UTF8 (CTEX)}
 \ProvidesExplFile{ctex-name-utf8.cfg}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set_known:nn { ctex }
   {
     contentsname   = 目录 ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/config/ctex.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/config/ctex.cfg	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/config/ctex.cfg	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Configuration file (CTEX)}
 \ProvidesExplFile{\ExplFileName.cfg}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 %%
 %% 
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/config/ctexopts.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/config/ctexopts.cfg	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/config/ctexopts.cfg	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Option configuration file (CTEX)}
 \ProvidesExplFile{ctexopts.cfg}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 %%
 %% \keys_set:nn { ctex / option } { fontset = windowsnew }
 %% 

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex-article.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex-article.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex-article.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Heading modification for article (CTEX)}
 \ProvidesExplFile{ctex-article.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \seq_new:N \c__ctex_section_headings_seq
 \seq_gset_from_clist:Nn \c__ctex_section_headings_seq
   { section , subsection , subsubsection , paragraph , subparagraph }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Heading modification for beamer (CTEX)}
 \ProvidesExplFile{ctex-beamer.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \seq_new:N \c__ctex_headings_seq
 \seq_gset_from_clist:Nn \c__ctex_headings_seq
   { part , section , subsection }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex-book.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex-book.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex-book.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Heading modification for book (CTEX)}
 \ProvidesExplFile{ctex-book.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \seq_new:N \c__ctex_section_headings_seq
 \seq_gset_from_clist:Nn \c__ctex_section_headings_seq
   { section , subsection , subsubsection , paragraph , subparagraph }
@@ -717,7 +717,7 @@
 \ctex_patch_cmd:Nnn \ps at headings
   {
     \ifnum \c at secnumdepth > \m at ne \if at mainmatter
-      \@chapapp \ \thechapter . ~ \
+      \@chapapp \ \thechapter . ~ \ %
     \fi \fi
   }
   { \CTEXifname { \CTEXthechapter \quad } { } }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex-c5size.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex-c5size.clo	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex-c5size.clo	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {c5size option (CTEX)}
 \ProvidesExplFile{ctex-c5size.clo}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \ctex_set_font_size:Nnn \normalsize { 5 }
   {
     \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex-cs4size.clo
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex-cs4size.clo	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex-cs4size.clo	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {cs4size option (CTEX)}
 \ProvidesExplFile{ctex-cs4size.clo}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \ctex_set_font_size:Nnn \normalsize { -4 }
   {
     \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex-report.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex-report.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex-report.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Heading modification for report (CTEX)}
 \ProvidesExplFile{ctex-report.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \seq_new:N \c__ctex_section_headings_seq
 \seq_gset_from_clist:Nn \c__ctex_section_headings_seq
   { section , subsection , subsubsection , paragraph , subparagraph }
@@ -711,9 +711,9 @@
   }
 \ctex_patch_cmd:Nnn \ps at headings
   {
-    \ifnum \c at secnumdepth > \m at ne \if at mainmatter
-      \@chapapp \ \thechapter . ~ \
-    \fi \fi
+    \ifnum \c at secnumdepth > \m at ne
+      \@chapapp \ \thechapter . ~ \ %
+    \fi
   }
   { \CTEXifname { \CTEXthechapter \quad } { } }
 \if at twoside

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctex.sty	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctex.sty	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese adapter in LaTeX (CTEX)}
 \ProvidesExplPackage{\ExplFileName}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \msg_new:nnnn { ctex } { subpackage-loaded }
@@ -363,6 +363,16 @@
 \tl_clear:N \l__ctex_tmp_tl
 \ctex_file_input:n { ctexopts.cfg }
 \ProcessKeysOptions { ctex / option }
+\@ifpackageloaded { hyperref }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \hypersetup {#1} }
+  }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \PassOptionsToPackage {#1} { hyperref } }
+  }
+\ctex_file_input:n { \c__ctex_engine_file_str }
 \NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
   {
@@ -376,16 +386,6 @@
       { \ctexset~ {~ #1~ }~ is~ set. }
     \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
   }
-\@ifpackageloaded { hyperref }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \hypersetup {#1} }
-  }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \PassOptionsToPackage {#1} { hyperref } }
-  }
-\ctex_file_input:n { \c__ctex_engine_file_str }
 \keys_define:nn { ctex }
   {
     autoindent .choice: ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexart.cls	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexart.cls	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese adapter for class article (CTEX)}
 \ProvidesExplClass{ctexart}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \cs_new_eq:cN { ver at ctex.        \@pkgextension } \c__ctex_version_tl
@@ -374,6 +374,16 @@
 \tl_const:Nn \c__ctex_class_tl { article }
 \PassOptionsToClass { \g__ctex_std_options_clist } { article }
 \LoadClass { article }
+\@ifpackageloaded { hyperref }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \hypersetup {#1} }
+  }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \PassOptionsToPackage {#1} { hyperref } }
+  }
+\ctex_file_input:n { \c__ctex_engine_file_str }
 \NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
   {
@@ -387,16 +397,6 @@
       { \ctexset~ {~ #1~ }~ is~ set. }
     \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
   }
-\@ifpackageloaded { hyperref }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \hypersetup {#1} }
-  }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \PassOptionsToPackage {#1} { hyperref } }
-  }
-\ctex_file_input:n { \c__ctex_engine_file_str }
 \keys_define:nn { ctex }
   {
     autoindent .choice: ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese adapter for class beamer (CTEX)}
 \ProvidesExplClass{ctexbeamer}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \cs_new_eq:cN { ver at ctex.        \@pkgextension } \c__ctex_version_tl
@@ -367,6 +367,16 @@
 \tl_const:Nn \c__ctex_class_tl { beamer }
 \PassOptionsToClass { \g__ctex_std_options_clist } { beamer }
 \LoadClass { beamer }
+\@ifpackageloaded { hyperref }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \hypersetup {#1} }
+  }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \PassOptionsToPackage {#1} { hyperref } }
+  }
+\ctex_file_input:n { \c__ctex_engine_file_str }
 \NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
   {
@@ -380,16 +390,6 @@
       { \ctexset~ {~ #1~ }~ is~ set. }
     \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
   }
-\@ifpackageloaded { hyperref }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \hypersetup {#1} }
-  }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \PassOptionsToPackage {#1} { hyperref } }
-  }
-\ctex_file_input:n { \c__ctex_engine_file_str }
 \keys_define:nn { ctex }
   {
     autoindent .choice: ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexbook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexbook.cls	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexbook.cls	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese adapter for class book (CTEX)}
 \ProvidesExplClass{ctexbook}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \cs_new_eq:cN { ver at ctex.        \@pkgextension } \c__ctex_version_tl
@@ -374,6 +374,16 @@
 \tl_const:Nn \c__ctex_class_tl { book }
 \PassOptionsToClass { \g__ctex_std_options_clist } { book }
 \LoadClass { book }
+\@ifpackageloaded { hyperref }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \hypersetup {#1} }
+  }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \PassOptionsToPackage {#1} { hyperref } }
+  }
+\ctex_file_input:n { \c__ctex_engine_file_str }
 \NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
   {
@@ -387,16 +397,6 @@
       { \ctexset~ {~ #1~ }~ is~ set. }
     \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
   }
-\@ifpackageloaded { hyperref }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \hypersetup {#1} }
-  }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \PassOptionsToPackage {#1} { hyperref } }
-  }
-\ctex_file_input:n { \c__ctex_engine_file_str }
 \keys_define:nn { ctex }
   {
     autoindent .choice: ,
@@ -1280,7 +1280,7 @@
 \ctex_patch_cmd:Nnn \ps at headings
   {
     \ifnum \c at secnumdepth > \m at ne \if at mainmatter
-      \@chapapp \ \thechapter . ~ \
+      \@chapapp \ \thechapter . ~ \ %
     \fi \fi
   }
   { \CTEXifname { \CTEXthechapter \quad } { } }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexcap.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexcap.sty	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexcap.sty	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese adapter in LaTeX (CTEX)}
 \ProvidesExplPackage{ctexcap}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \clist_new:N \l__ctex_ctexcap_options_clist
 \clist_set:Nx \l__ctex_ctexcap_options_clist
   { \exp_not:v { opt@ \@currname . \@currext } , heading }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexheading.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexheading.sty	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexheading.sty	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Heading style modification (CTEX)}
 \ProvidesExplPackage{ctexheading}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \RequirePackage { xparse , l3keys2e }
 \RequirePackage { ctexhook , ctexpatch }
 \tl_new:N \l__ctex_tmp_tl
@@ -83,7 +83,6 @@
     scheme .initial:n = { plain }
   }
 \ProcessKeysOptions { ctex / option }
-\NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \clist_map_inline:nn { article , book , report , beamer }
   {
     \@ifclassloaded {#1}

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexhook.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexhook.sty	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexhook.sty	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Document and package hooks (CTEX)}
 \ProvidesExplPackage{ctexhook}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \cs_new_protected:Npn \ctex_at_end_preamble:n #1
   { \tl_gput_right:Nn \g__ctex_end_preamble_hook_tl {#1} }
 \cs_new_protected:Npn \ctex_after_end_preamble:n #1

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexpatch.sty	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Patching commands (CTEX)}
 \ProvidesExplPackage{ctexpatch}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \cs_if_exist:NF \str_new:N { \RequirePackage { l3str } }
 \cs_new_protected:Npn \ctex_patch_cmd_once:NnnnTF #1#2
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexrep.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexrep.cls	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexrep.cls	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese adapter for class report (CTEX)}
 \ProvidesExplClass{ctexrep}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \cs_new_eq:cN { ver at ctex.        \@pkgextension } \c__ctex_version_tl
@@ -374,6 +374,16 @@
 \tl_const:Nn \c__ctex_class_tl { report }
 \PassOptionsToClass { \g__ctex_std_options_clist } { report }
 \LoadClass { report }
+\@ifpackageloaded { hyperref }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \hypersetup {#1} }
+  }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \PassOptionsToPackage {#1} { hyperref } }
+  }
+\ctex_file_input:n { \c__ctex_engine_file_str }
 \NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
   {
@@ -387,16 +397,6 @@
       { \ctexset~ {~ #1~ }~ is~ set. }
     \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
   }
-\@ifpackageloaded { hyperref }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \hypersetup {#1} }
-  }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \PassOptionsToPackage {#1} { hyperref } }
-  }
-\ctex_file_input:n { \c__ctex_engine_file_str }
 \keys_define:nn { ctex }
   {
     autoindent .choice: ,
@@ -1274,9 +1274,9 @@
   }
 \ctex_patch_cmd:Nnn \ps at headings
   {
-    \ifnum \c at secnumdepth > \m at ne \if at mainmatter
-      \@chapapp \ \thechapter . ~ \
-    \fi \fi
+    \ifnum \c at secnumdepth > \m at ne
+      \@chapapp \ \thechapter . ~ \ %
+    \fi
   }
   { \CTEXifname { \CTEXthechapter \quad } { } }
 \if at twoside

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexsize.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexsize.sty	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexsize.sty	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese font size definition (CTEX)}
 \ProvidesExplPackage{ctexsize}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \RequirePackage { xparse , l3keys2e }
 \cs_new_eq:NN \g__ctex_font_size_flag \c_minus_one
 \keys_define:nn { ctex / option }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctexspa.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctexspa.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctexspa.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,7 +28,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{ctexspa.def}%
-  [2016/11/22 v2.4.6 Space info for CJKpunct (CTEX)]
+  [2016/12/27 v2.4.7 Space info for CJKpunct (CTEX)]
 \ctexspadef{adobezhsong}{70,15,61,8,63,14,58,7,64,13,62,12,60,11,61,15,62,14,51,6,58,5,58,8,7,5,12,12,10,68,13,63,17,63,20,69,19,69,17,63,19,70,17,55,10,10,14,63,10,65,10,61,13,62,15,61,7,49,7,56,8,58,15,69,8,61,14,63,8,57,,,}
 \ctexspadef{adobezhhei}{78,3,64,3,64,2,61,3,72,3,70,3,72,3,70,3,60,3,51,3,62,3,66,3,0,0,10,10,3,70,5,70,6,75,6,78,17,67,13,67,17,67,4,50,8,8,3,72,3,70,3,72,3,70,3,60,3,51,3,62,3,66,3,78,7,62,3,63,3,61,,,}
 \ctexspadef{adobezhkai}{76,10,55,8,63,4,62,4,71,4,65,4,71,4,74,4,54,4,54,4,62,4,62,4,0,0,11,11,5,72,6,71,7,78,7,79,18,68,18,68,18,68,2,46,14,12,4,71,4,65,4,71,4,74,4,54,4,54,4,62,4,62,10,76,8,55,4,63,4,62,,,}

Modified: trunk/Master/texmf-dist/tex/latex/ctex/ctxdoc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/ctxdoc.cls	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/ctxdoc.cls	2017-01-02 23:52:32 UTC (rev 42847)
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {ctex documentation (CTEX)}
 \ProvidesExplClass{ctxdoc}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \ExplSyntaxOff
 \let\pdfmdfivesum\mdfivesum
 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{l3doc}}

Modified: trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseGBK.dict
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseGBK.dict	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseGBK.dict	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesDictionary{translator-theorem-dictionary}{ChineseGBK}%
-  [2016/11/22 v2.4.6 Chinese translation for theorem name (CTEX)]
+  [2016/12/27 v2.4.7 Chinese translation for theorem name (CTEX)]
 \providetranslation{Comments}{\xC6\xC0\xC2\xDB}
 \providetranslation{comments}{\xC6\xC0\xC2\xDB}
 \providetranslation{Comment}{\xC6\xC0\xC2\xDB}

Modified: trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseUTF8.dict
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseUTF8.dict	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/dictionary/translator-theorem-dictionary-ChineseUTF8.dict	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesDictionary{translator-theorem-dictionary}{ChineseUTF8}%
-  [2016/11/22 v2.4.6 Chinese translation for theorem name (CTEX)]
+  [2016/12/27 v2.4.7 Chinese translation for theorem name (CTEX)]
 \providetranslation{Comments}{评论}
 \providetranslation{comments}{评论}
 \providetranslation{Comment}{评论}

Modified: trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-aptex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-aptex.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-aptex.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Asian pTeX adapter (CTEX)}
 \ProvidesExplFile{ctex-engine-aptex.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \cs_new_protected_nopar:Npn \ctex_set_zhmap:n #1
   {
     \AtBeginDvi {#1}
@@ -97,28 +97,7 @@
     \ctex_set_upmap:nnn { upmono } { #6 } {}
   }
 \@onlypreamble \ctex_set_upfonts:nnnnnn
-\cs_set_nopar:Npn \@EverySelectfont at Init
-  {
-    \ctex_patch_cmd:Nnn \selectfont
-      { \enc at update }
-      {
-        \@EverySelectfont at EveryHook
-        \@EverySelectfont at AtNextHook
-        \gdef \@EverySelectfont at AtNextHook { }
-        \enc at update
-      }
-    \@ifpackageloaded { tracefnt }
-      {
-        \EverySelectfont
-          {
-            \ifnum \tracingfonts > \tw@
-              \@font at info { Switching~ to~ \font at name }
-            \fi
-          }
-      }
-      { }
-    \let \@EverySelectfont at Init \undefined
-  }
+\RequirePackage { pxeverysel }
 \cs_new_protected_nopar:Npn \ctex_update_default_family:
   {
     \tl_if_eq:NNT \CJKfamilydefault \l__ctex_family_default_init_tl
@@ -189,14 +168,26 @@
       { \exp_not:o { \CTEX at selectfont@hook #1 } }
   }
 \cs_new_eq:NN \CTEX at selectfont@hook \prg_do_nothing:
-\cs_new_eq:Nc \__ctex_save_selectfont: { selectfont ~ }
-\ctex_preto_cmd:NnnTF \selectfont { \ExplSyntaxOff }
-  { \CTEX at selectfont@hook }
-  {
-    \tl_put_left:Nn \@EverySelectfont at Init
-      { \cs_set_eq:cN { selectfont ~ } \__ctex_save_selectfont: }
-  }
-  { \ctex_patch_failure:N \selectfont }
+\if_cs_exist:N \@EverySelectfont at Init
+  \group_begin:
+    \cs_set:Npn \__ctex_tmp:N #1
+      {
+        \tl_set:Nn \l__ctex_tmp_tl {#1}
+        \cs_new_eq:NN \CTEX at selectfont@save #1
+        \cs_new_protected_nopar:Npn \__ctex_restore_selectfont:
+          {
+            \tl_put_left:Nn \@EverySelectfont at Init
+              { \let #1 \CTEX at selectfont@save }
+            \cs_undefine:N \__ctex_restore_selectfont:
+          }
+      }
+    \ctex_parse_name:NN \__ctex_tmp:N \selectfont
+  \exp_last_unbraced:NNo \group_end:
+  \ctex_preto_cmd:NnnTF { \l__ctex_tmp_tl } { \ExplSyntaxOff }
+    { \CTEX at selectfont@hook }
+    { \__ctex_restore_selectfont: }
+    { \ctex_patch_failure:N \selectfont }
+\fi:
 \EverySelectfont { \CTEX at selectfont@hook }
 \cs_new_protected_nopar:Npn \ctex_update_xkanjiskip:
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-luatex.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-luatex.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {LuaLaTeX adapter (CTEX)}
 \ProvidesExplFile{ctex-engine-luatex.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \msg_new:nnn { ctex } { luatexja-loaded }
   {
     Package~`luatexja'~can~not~be~loaded~before~`ctex'.\\
@@ -1060,14 +1060,26 @@
       { \exp_not:o { \CTEX at selectfont@hook #1 } }
   }
 \cs_new_eq:NN \CTEX at selectfont@hook \prg_do_nothing:
-\cs_new_eq:Nc \__ctex_save_selectfont: { selectfont ~ }
-\ctex_preto_cmd:NnnTF \selectfont { \ExplSyntaxOff }
-  { \CTEX at selectfont@hook }
-  {
-    \tl_put_left:Nn \@EverySelectfont at Init
-      { \cs_set_eq:cN { selectfont ~ } \__ctex_save_selectfont: }
-  }
-  { \ctex_patch_failure:N \selectfont }
+\if_cs_exist:N \@EverySelectfont at Init
+  \group_begin:
+    \cs_set:Npn \__ctex_tmp:N #1
+      {
+        \tl_set:Nn \l__ctex_tmp_tl {#1}
+        \cs_new_eq:NN \CTEX at selectfont@save #1
+        \cs_new_protected_nopar:Npn \__ctex_restore_selectfont:
+          {
+            \tl_put_left:Nn \@EverySelectfont at Init
+              { \let #1 \CTEX at selectfont@save }
+            \cs_undefine:N \__ctex_restore_selectfont:
+          }
+      }
+    \ctex_parse_name:NN \__ctex_tmp:N \selectfont
+  \exp_last_unbraced:NNo \group_end:
+  \ctex_preto_cmd:NnnTF { \l__ctex_tmp_tl } { \ExplSyntaxOff }
+    { \CTEX at selectfont@hook }
+    { \__ctex_restore_selectfont: }
+    { \ctex_patch_failure:N \selectfont }
+\fi:
 \EverySelectfont { \CTEX at selectfont@hook }
 \ctex_add_to_selectfont:n
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-pdftex.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-pdftex.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {(pdf)LaTeX adapter (CTEX)}
 \ProvidesExplFile{ctex-engine-pdftex.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \cs_new_protected_nopar:Npn \ctex_set_zhmap:n #1
   {
     \AtBeginDvi {#1}
@@ -383,14 +383,26 @@
       { \exp_not:o { \CTEX at selectfont@hook #1 } }
   }
 \cs_new_eq:NN \CTEX at selectfont@hook \prg_do_nothing:
-\cs_new_eq:Nc \__ctex_save_selectfont: { selectfont ~ }
-\ctex_preto_cmd:NnnTF \selectfont { \ExplSyntaxOff }
-  { \CTEX at selectfont@hook }
-  {
-    \tl_put_left:Nn \@EverySelectfont at Init
-      { \cs_set_eq:cN { selectfont ~ } \__ctex_save_selectfont: }
-  }
-  { \ctex_patch_failure:N \selectfont }
+\if_cs_exist:N \@EverySelectfont at Init
+  \group_begin:
+    \cs_set:Npn \__ctex_tmp:N #1
+      {
+        \tl_set:Nn \l__ctex_tmp_tl {#1}
+        \cs_new_eq:NN \CTEX at selectfont@save #1
+        \cs_new_protected_nopar:Npn \__ctex_restore_selectfont:
+          {
+            \tl_put_left:Nn \@EverySelectfont at Init
+              { \let #1 \CTEX at selectfont@save }
+            \cs_undefine:N \__ctex_restore_selectfont:
+          }
+      }
+    \ctex_parse_name:NN \__ctex_tmp:N \selectfont
+  \exp_last_unbraced:NNo \group_end:
+  \ctex_preto_cmd:NnnTF { \l__ctex_tmp_tl } { \ExplSyntaxOff }
+    { \CTEX at selectfont@hook }
+    { \__ctex_restore_selectfont: }
+    { \ctex_patch_failure:N \selectfont }
+\fi:
 \EverySelectfont { \cs_if_exist:NF \CJK at plane { \CTEX at selectfont@hook } }
 \keys_define:nn { ctex }
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-uptex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-uptex.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-uptex.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {upTeX adapter (CTEX)}
 \ProvidesExplFile{ctex-engine-uptex.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \cs_new_protected_nopar:Npn \ctex_set_zhmap:n #1
   {
     \AtBeginDvi {#1}
@@ -97,28 +97,7 @@
     \ctex_set_upmap:nnn { upmono } { #6 } {}
   }
 \@onlypreamble \ctex_set_upfonts:nnnnnn
-\cs_set_nopar:Npn \@EverySelectfont at Init
-  {
-    \ctex_patch_cmd:Nnn \selectfont
-      { \enc at update }
-      {
-        \@EverySelectfont at EveryHook
-        \@EverySelectfont at AtNextHook
-        \gdef \@EverySelectfont at AtNextHook { }
-        \enc at update
-      }
-    \@ifpackageloaded { tracefnt }
-      {
-        \EverySelectfont
-          {
-            \ifnum \tracingfonts > \tw@
-              \@font at info { Switching~ to~ \font at name }
-            \fi
-          }
-      }
-      { }
-    \let \@EverySelectfont at Init \undefined
-  }
+\RequirePackage { pxeverysel }
 \cs_new_protected_nopar:Npn \ctex_update_default_family:
   {
     \tl_if_eq:NNT \CJKfamilydefault \l__ctex_family_default_init_tl
@@ -199,14 +178,26 @@
       { \exp_not:o { \CTEX at selectfont@hook #1 } }
   }
 \cs_new_eq:NN \CTEX at selectfont@hook \prg_do_nothing:
-\cs_new_eq:Nc \__ctex_save_selectfont: { selectfont ~ }
-\ctex_preto_cmd:NnnTF \selectfont { \ExplSyntaxOff }
-  { \CTEX at selectfont@hook }
-  {
-    \tl_put_left:Nn \@EverySelectfont at Init
-      { \cs_set_eq:cN { selectfont ~ } \__ctex_save_selectfont: }
-  }
-  { \ctex_patch_failure:N \selectfont }
+\if_cs_exist:N \@EverySelectfont at Init
+  \group_begin:
+    \cs_set:Npn \__ctex_tmp:N #1
+      {
+        \tl_set:Nn \l__ctex_tmp_tl {#1}
+        \cs_new_eq:NN \CTEX at selectfont@save #1
+        \cs_new_protected_nopar:Npn \__ctex_restore_selectfont:
+          {
+            \tl_put_left:Nn \@EverySelectfont at Init
+              { \let #1 \CTEX at selectfont@save }
+            \cs_undefine:N \__ctex_restore_selectfont:
+          }
+      }
+    \ctex_parse_name:NN \__ctex_tmp:N \selectfont
+  \exp_last_unbraced:NNo \group_end:
+  \ctex_preto_cmd:NnnTF { \l__ctex_tmp_tl } { \ExplSyntaxOff }
+    { \CTEX at selectfont@hook }
+    { \__ctex_restore_selectfont: }
+    { \ctex_patch_failure:N \selectfont }
+\fi:
 \EverySelectfont { \CTEX at selectfont@hook }
 \cs_new_protected_nopar:Npn \ctex_update_xkanjiskip:
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {XeLaTeX adapter (CTEX)}
 \ProvidesExplFile{ctex-engine-xetex.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \RequirePackage { xeCJK }
 \exp_args:Nx \xeCJKsetup
   {
@@ -113,14 +113,26 @@
       { \exp_not:o { \CTEX at selectfont@hook #1 } }
   }
 \cs_new_eq:NN \CTEX at selectfont@hook \prg_do_nothing:
-\cs_new_eq:Nc \__ctex_save_selectfont: { selectfont ~ }
-\ctex_preto_cmd:NnnTF \selectfont { \ExplSyntaxOff }
-  { \CTEX at selectfont@hook }
-  {
-    \tl_put_left:Nn \@EverySelectfont at Init
-      { \cs_set_eq:cN { selectfont ~ } \__ctex_save_selectfont: }
-  }
-  { \ctex_patch_failure:N \selectfont }
+\if_cs_exist:N \@EverySelectfont at Init
+  \group_begin:
+    \cs_set:Npn \__ctex_tmp:N #1
+      {
+        \tl_set:Nn \l__ctex_tmp_tl {#1}
+        \cs_new_eq:NN \CTEX at selectfont@save #1
+        \cs_new_protected_nopar:Npn \__ctex_restore_selectfont:
+          {
+            \tl_put_left:Nn \@EverySelectfont at Init
+              { \let #1 \CTEX at selectfont@save }
+            \cs_undefine:N \__ctex_restore_selectfont:
+          }
+      }
+    \ctex_parse_name:NN \__ctex_tmp:N \selectfont
+  \exp_last_unbraced:NNo \group_end:
+  \ctex_preto_cmd:NnnTF { \l__ctex_tmp_tl } { \ExplSyntaxOff }
+    { \CTEX at selectfont@hook }
+    { \__ctex_restore_selectfont: }
+    { \ctex_patch_failure:N \selectfont }
+\fi:
 \EverySelectfont { \CTEX at selectfont@hook }
 \keys_define:nn { ctex }
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fd/c19rm.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fd/c19rm.fd	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fd/c19rm.fd	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{c19rm.fd}%
-  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
+  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
 %%
 %% Chinese characters
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fd/c19sf.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fd/c19sf.fd	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fd/c19sf.fd	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{c19sf.fd}%
-  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
+  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
 %%
 %% Chinese characters
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fd/c19tt.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fd/c19tt.fd	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fd/c19tt.fd	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{c19tt.fd}%
-  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
+  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
 %%
 %% Chinese characters
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fd/c70rm.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fd/c70rm.fd	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fd/c70rm.fd	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{c70rm.fd}%
-  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
+  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
 %%
 %% Chinese characters
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fd/c70sf.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fd/c70sf.fd	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fd/c70sf.fd	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{c70sf.fd}%
-  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
+  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
 %%
 %% Chinese characters
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fd/c70tt.fd
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fd/c70tt.fd	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fd/c70tt.fd	2017-01-02 23:52:32 UTC (rev 42847)
@@ -27,7 +27,7 @@
 %% ------------------------------------------------------------------------------
 %% 
 \ProvidesFile{c70tt.fd}%
-  [2016/11/22 v2.4.6 Chinese font definition (CTEX)]
+  [2016/12/27 v2.4.7 Chinese font definition (CTEX)]
 %%
 %% Chinese characters
 %%

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-adobe.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-adobe.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-adobe.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Adobe fonts definition (CTEX)}
 \ProvidesExplFile{ctex-fontset-adobe.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \sys_if_engine_pdftex:TF
   {
     \sys_if_output_pdf:TF

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-fandol.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-fandol.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-fandol.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Fandol fonts definition (CTEX)}
 \ProvidesExplFile{ctex-fontset-fandol.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \sys_if_engine_pdftex:TF
   {
     \sys_if_output_pdf:TF

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-founder.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-founder.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-founder.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Founder fonts definition (CTEX)}
 \ProvidesExplFile{ctex-fontset-founder.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \sys_if_engine_pdftex:TF
   {
     \ctex_zhmap_case:nnn

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-mac.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-mac.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-mac.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Mac OS X fonts definition (CTEX)}
 \ProvidesExplFile{ctex-fontset-mac.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \sys_if_engine_pdftex:TF
   { \ctex_fontset_error:n { mac } }
   {

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-ubuntu.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-ubuntu.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-ubuntu.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Ubuntu fonts definition (CTEX)}
 \ProvidesExplFile{ctex-fontset-ubuntu.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \sys_if_engine_pdftex:TF
   {
     \ctex_zhmap_case:nnn

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windows.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windows.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windows.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Windows fonts definition (CTEX)}
 \ProvidesExplFile{ctex-fontset-windows.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \file_if_exist:nTF { C:/bootfont.bin }
   { \ctex_file_input:n { ctex-fontset-windowsold.def } }
   { \ctex_file_input:n { ctex-fontset-windowsnew.def } }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsnew.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsnew.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsnew.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Windows fonts definition for Vista or later version (CTEX)}
 \ProvidesExplFile{ctex-fontset-windowsnew.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_new:N \l__ctex_msyh_suffix_tl
 \tl_set:Nn \l__ctex_msyh_suffix_tl { .ttc }
 \file_if_exist:nF { C:/Windows/Fonts/msyh.ttc }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsold.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsold.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-windowsold.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Windows fonts definition for XP or earlier version (CTEX)}
 \ProvidesExplFile{ctex-fontset-windowsold.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \sys_if_engine_pdftex:TF
   {
     \ctex_zhmap_case:nnn

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-article.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese scheme for article (CTEX)}
 \ProvidesExplFile{ctex-scheme-chinese-article.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-beamer.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-beamer.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-beamer.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese scheme for beamer (CTEX)}
 \ProvidesExplFile{ctex-scheme-chinese-beamer.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese scheme for book (CTEX)}
 \ProvidesExplFile{ctex-scheme-chinese-book.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-report.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese scheme for report (CTEX)}
 \ProvidesExplFile{ctex-scheme-chinese-report.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Chinese scheme for generic (CTEX)}
 \ProvidesExplFile{ctex-scheme-chinese.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex } { today = small }
 \ctex_if_autoindent_touched:F
   { \keys_set:nn { ctex } { autoindent = true } }

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-article.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-article.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-article.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Plain scheme for article (CTEX)}
 \ProvidesExplFile{ctex-scheme-plain-article.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-beamer.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-beamer.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-beamer.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Plain scheme for beamer (CTEX)}
 \ProvidesExplFile{ctex-scheme-plain-beamer.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-book.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-book.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-book.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Plain scheme for book (CTEX)}
 \ProvidesExplFile{ctex-scheme-plain-book.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-report.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-report.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain-report.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Plain scheme for report (CTEX)}
 \ProvidesExplFile{ctex-scheme-plain-report.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,

Modified: trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain.def	2017-01-02 23:52:12 UTC (rev 42846)
+++ trunk/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-plain.def	2017-01-02 23:52:32 UTC (rev 42847)
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee at gmail.com> $
   {Plain scheme for generic (CTEX)}
 \ProvidesExplFile{ctex-scheme-plain.def}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 %% 
 %%
 %% End of file `ctex-scheme-plain.def'.



More information about the tex-live-commits mailing list