texlive[42624] Master/texmf-dist: xecjk (2dec16)

commits+karl at tug.org commits+karl at tug.org
Fri Dec 2 23:57:37 CET 2016


Revision: 42624
          http://tug.org/svn/texlive?view=revision&revision=42624
Author:   karl
Date:     2016-12-02 23:57:37 +0100 (Fri, 02 Dec 2016)
Log Message:
-----------
xecjk (2dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf
    trunk/Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdf
    trunk/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx
    trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
    trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg
    trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
    trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
    trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
    trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def

Modified: trunk/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx	2016-12-02 22:57:37 UTC (rev 42624)
@@ -194,7 +194,7 @@
 %<*package|config|fntef|listings|xunicode|xunextra>
 %<!(config|xunextra)>\NeedsTeXFormat{LaTeX2e}
 %<!(config|xunextra)>\RequirePackage{expl3}
-%<+!driver>\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+%<+!driver>\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
 %<package>  {Typesetting CJK scripts with XeLaTeX}
 %<config>  {Configuration file for xeCJK package}
 %<fntef>  {xeCJK font effect}
@@ -207,7 +207,7 @@
 %<listings>\ProvidesExplPackage{xeCJK-listings}
 %<xunicode>\ProvidesExplPackage{xunicode-addon}
 %<xunextra>\ProvidesExplFile{xunicode-extra.def}
-%<!driver>  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+%<!driver>  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 %</package|config|fntef|listings|xunicode|xunextra>
 %<*driver>
 \documentclass{ctxdoc}
@@ -275,7 +275,7 @@
 % \changes{v3.3.2}{2015/05/15}{随 Unicode 7.0.0 更新简繁汉字映射。}
 % \changes{v3.3.3}{2015/09/25}{更新 \hologo{LaTeX3} 代码。}
 %
-% \CheckSum{10153}
+% \CheckSum{10164}
 % \GetFileId{xeCJK.sty}
 %
 % \title{\bfseries\pkg{xeCJK} 宏包}
@@ -3643,8 +3643,9 @@
   { \@@_punct_kern:n { - \@@_use_punct_dim:nnn { offset } {#1} {#2} } }
 \cs_new_protected_nopar:Npn \@@_punct_kern:n #1
   {
-    \dim_compare:nNnF {#1} = \c_zero_dim
-      { \tex_kern:D #1 \exp_stop_f: }
+    \dim_set:Nn \l_@@_tmp_dim {#1}
+    \dim_compare:nNnF \l_@@_tmp_dim = \c_zero_dim
+      { \tex_kern:D \l_@@_tmp_dim }
   }
 %    \end{macrocode}
 % \end{macro}
@@ -5132,7 +5133,10 @@
 %    \end{macrocode}
 % \end{macro}
 %
+% \changes{v3.4.4}{2016/11/30}{不压缩长标点与其他标点的间距。}
+%
 % \begin{macro}[internal]{\xeCJK_punct_kerning_process:NN}
+% 当标点之一为长标点时,不必进行压缩。
 %    \begin{macrocode}
 \cs_new_protected_nopar:Npn \xeCJK_punct_kerning_process:NN #1#2
   {
@@ -5140,14 +5144,21 @@
       { \@@_original_kerning_margin:NN {#1} {#2} }
     \dim_set:Nn \l_@@_minimum_bound_dim
       { \@@_punct_min_bound:NN {#1} {#2} }
+    \@@_punct_if_long:NTF {#1}
+      { \bool_set_false:N \l_@@_enabled_kerning_bool }
+      {
+        \@@_punct_if_long:NT {#2}
+          { \bool_set_false:N \l_@@_enabled_kerning_bool }
+      }
     \dim_set:Nn \l_@@_kerning_margin_dim
       {
-        \bool_if:nTF
+        \bool_if:NTF \l_@@_enabled_global_setting_bool
           {
-            \l_@@_enabled_global_setting_bool &&
-            \tl_if_exist_p:c { g_@@_punct/kern/#1/#2/tl }
+            \cs_if_exist_use:cTF { g_@@_punct/kern/#1/#2/tl }
+              { \use_none:n }
+              { \use:n }
           }
-          { \use:c { g_@@_punct/kern/#1/#2/tl } }
+          { \use:n }
           {
             \bool_if:NTF \l_@@_enabled_kerning_bool
               { \@@_calc_kerning_margin:NN {#1} {#2} }

Modified: trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty	2016-12-02 22:57:37 UTC (rev 42624)
@@ -29,10 +29,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
   {xeCJK patch file for listings}
 \ProvidesExplPackage{xeCJK-listings}
-  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 \DeclareOption* { \PassOptionsToPackage { \CurrentOption } { xeCJK } }
 \ProcessOptions \scan_stop:
 \RequirePackage { xeCJK }

Modified: trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg	2016-12-02 22:57:37 UTC (rev 42624)
@@ -6,10 +6,10 @@
 %%
 %% xeCJK.dtx  (with options: `config')
 %% 
-\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
   {Configuration file for xeCJK package}
 \ProvidesExplFile{\ExplFileName.cfg}
-  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 
 %% 
 %%

Modified: trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty	2016-12-02 22:57:37 UTC (rev 42624)
@@ -29,10 +29,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
   {Typesetting CJK scripts with XeLaTeX}
 \ProvidesExplPackage{\ExplFileName}
-  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 \msg_new:nnn { xeCJK } { Require-XeTeX }
   {
     The~xeCJK~package~requires~XeTeX~to~function.\\\\
@@ -1138,8 +1138,9 @@
   { \__xeCJK_punct_kern:n { - \__xeCJK_use_punct_dim:nnn { offset } {#1} {#2} } }
 \cs_new_protected_nopar:Npn \__xeCJK_punct_kern:n #1
   {
-    \dim_compare:nNnF {#1} = \c_zero_dim
-      { \tex_kern:D #1 \exp_stop_f: }
+    \dim_set:Nn \l__xeCJK_tmp_dim {#1}
+    \dim_compare:nNnF \l__xeCJK_tmp_dim = \c_zero_dim
+      { \tex_kern:D \l__xeCJK_tmp_dim }
   }
 \cs_new_protected_nopar:Npn \__xeCJK_punct_glue:NN #1#2
   {
@@ -2216,14 +2217,21 @@
       { \__xeCJK_original_kerning_margin:NN {#1} {#2} }
     \dim_set:Nn \l__xeCJK_minimum_bound_dim
       { \__xeCJK_punct_min_bound:NN {#1} {#2} }
+    \__xeCJK_punct_if_long:NTF {#1}
+      { \bool_set_false:N \l__xeCJK_enabled_kerning_bool }
+      {
+        \__xeCJK_punct_if_long:NT {#2}
+          { \bool_set_false:N \l__xeCJK_enabled_kerning_bool }
+      }
     \dim_set:Nn \l__xeCJK_kerning_margin_dim
       {
-        \bool_if:nTF
+        \bool_if:NTF \l__xeCJK_enabled_global_setting_bool
           {
-            \l__xeCJK_enabled_global_setting_bool &&
-            \tl_if_exist_p:c { g__xeCJK_punct/kern/#1/#2/tl }
+            \cs_if_exist_use:cTF { g__xeCJK_punct/kern/#1/#2/tl }
+              { \use_none:n }
+              { \use:n }
           }
-          { \use:c { g__xeCJK_punct/kern/#1/#2/tl } }
+          { \use:n }
           {
             \bool_if:NTF \l__xeCJK_enabled_kerning_bool
               { \__xeCJK_calc_kerning_margin:NN {#1} {#2} }

Modified: trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty	2016-12-02 22:57:37 UTC (rev 42624)
@@ -29,10 +29,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
   {xeCJK font effect}
 \ProvidesExplPackage{xeCJKfntef}
-  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 \PassOptionsToPackage { normalem } { ulem }
 \DeclareOption* { \PassOptionsToPackage { \CurrentOption } { ulem } }
 \ProcessOptions \scan_stop:

Modified: trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty	2016-12-02 22:57:37 UTC (rev 42624)
@@ -29,10 +29,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
   {addon file for xunicode}
 \ProvidesExplPackage{xunicode-addon}
-  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 \bool_if:nF
   {
     \sys_if_engine_xetex_p: ||

Modified: trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def	2016-12-02 22:57:20 UTC (rev 42623)
+++ trunk/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def	2016-12-02 22:57:37 UTC (rev 42624)
@@ -27,10 +27,10 @@
 %% 
 %% ----------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: xeCJK.dtx f0c9d10 2016-11-20 23:00:07 +0800 Qing Lee <sobenlee at gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 4063a2e 2016-12-02 17:58:03 +0800 Qing Lee <sobenlee at gmail.com> $
   {extra definition for xunicode}
 \ProvidesExplFile{xunicode-extra.def}
-  {\ExplFileDate}{3.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{3.4.4}{\ExplFileDescription}
 \DeclareUTFComposite\textsuperscript
 \DeclareUTFComposite\textsubscript
 \DeclareUTFEncodedAccent\textsbleftarrow{"20EE}{"20FF}



More information about the tex-live-commits mailing list