summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdfbin1288169 -> 1291521 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdfbin292881 -> 292888 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx44
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg4
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty39
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def4
9 files changed, 68 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf
index e834c66b1ae..6c06e28ecf7 100644
--- a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf
+++ b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdf b/Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdf
index 168357464cd..e1b98105682 100644
--- a/Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdf
+++ b/Master/texmf-dist/doc/xelatex/xecjk/xunicode-symbols.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx b/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx
index c709d37e439..0651316e47c 100644
--- a/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx
+++ b/Master/texmf-dist/source/xelatex/xecjk/xeCJK.dtx
@@ -194,7 +194,7 @@ Copyright and Licence
%<*package|config|fntef|listings|xunicode|xunextra>
%<!(config|xunextra)>\NeedsTeXFormat{LaTeX2e}
%<!(config|xunextra)>\RequirePackage{expl3}
-%<+!driver>\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+%<+!driver>\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
%<package> {Typesetting CJK scripts with XeLaTeX}
%<config> {Configuration file for xeCJK package}
%<fntef> {xeCJK font effect}
@@ -207,7 +207,7 @@ Copyright and Licence
%<listings>\ProvidesExplPackage{xeCJK-listings}
%<xunicode>\ProvidesExplPackage{xunicode-addon}
%<xunextra>\ProvidesExplFile{xunicode-extra.def}
-%<!driver> {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+%<!driver> {\ExplFileDate}{3.8.5}{\ExplFileDescription}
%</package|config|fntef|listings|xunicode|xunextra>
%<*driver>
\documentclass{ctxdoc}
@@ -287,7 +287,7 @@ Copyright and Licence
% \changes{v3.8.0}{2020/02/09}{清理过时的兼容性补丁代码。}
% \changes{v3.8.3}{2020/04/07}{删除 \texttt{\_nopar}。}
%
-% \CheckSum{10884}
+% \CheckSum{10905}
% \GetFileId{xeCJK.sty}
%
% \title{\bfseries\pkg{xeCJK} 宏包}
@@ -4139,20 +4139,27 @@ Copyright and Licence
% \end{macro}
%
% \begin{macro}{\@@_bound_type_1_glue:Nn}
+% \changes{v3.8.5}{2020/06/26}{增加盒子高度判断。}
% $1$ 表示 hlist node,在这里用来判断是否位于段首。基于正常情况下,\TeX 会在段落开头插入宽度为
% \tn{parindent} 的水平盒子用于缩进。
% \begin{macrocode}
-\cs_new_protected:cpn { @@_bound_type_ 1 _glue:Nn } #1#2
+\cs_new_protected:cpn { @@_bound_type_ 1 _glue:Nn } #1
{
\box_set_to_last:N \l_@@_tmp_box
\int_compare:nNnTF \tex_lastnodetype:D = { -1 }
{
\dim_compare:nNnTF
{ \box_wd:N \l_@@_tmp_box } = \tex_parindent:D
- { \box_use_drop:N \l_@@_tmp_box }
- { \box_use_drop:N \l_@@_tmp_box #2 }
+ {
+ \dim_compare:nNnTF
+ { \box_ht:N \l_@@_tmp_box } = \c_zero_dim
+ { \use_i:nn }
+ { \use:nn }
+ }
+ { \use:nn }
}
- { \box_use_drop:N \l_@@_tmp_box #2 }
+ { \use:nn }
+ { \box_use_drop:N \l_@@_tmp_box }
}
% \end{macrocode}
% \end{macro}
@@ -6772,10 +6779,16 @@ Copyright and Licence
\cs_new_protected:Npn \@@_font_initial:Nn #1#2
{
\group_begin:
+ \@@_font_initial_hook:
\@@_family_use:n {#2}
\xeCJK_font_gset_to_current:N #1
\group_end:
}
+\cs_new_protected:Npn \@@_font_initial_hook:
+ { \tl_use:N \g_@@_font_initial_hook_tl }
+\cs_new_protected:Npn \@@_gadd_font_initial_hook:n
+ { \tl_gput_right:Nn \g_@@_font_initial_hook_tl }
+\tl_new:N \g_@@_font_initial_hook_tl
% \end{macrocode}
% \end{macro}
%
@@ -8903,14 +8916,11 @@ Copyright and Licence
% \end{macrocode}
% \end{macro}
%
+% \changes{v3.8.5}{2020/06/25}{进一步兼容 \pkg{microtype}。}
+%
% \begin{macro}{\@@_patch_microtype_get_slot:}
% 兼容 \pkg{microtype}。
% \begin{macrocode}
-\@@_package_hook:nn { microtype }
- {
- \cs_if_free:NF \MT@get@slot@
- { \@@_patch_microtype_get_slot: }
- }
\cs_new_protected:Npn \@@_patch_microtype_get_slot:
{
\cs_new_eq:NN \xeCJK@original@get@slot \MT@get@slot@
@@ -8929,6 +8939,14 @@ Copyright and Licence
{ \MT@encoding - \tex_the:D \MT@toks } \l_@@_tmp_tl
{ \cs_set_eq:NN \MT@char \l_@@_tmp_tl }
}
+\cs_new_protected:Npn \xeCJK@microtype@restore@pickupfont
+ { \@@_gadd_font_initial_hook:n { \MT@ltx@pickupfont } }
+\@@_package_hook:nn { microtype }
+ {
+ \cs_if_free:NF \MT@get@slot@
+ { \@@_patch_microtype_get_slot: }
+ \MT@addto@setup { \xeCJK@microtype@restore@pickupfont }
+ }
% \end{macrocode}
% \end{macro}
%
@@ -8942,7 +8960,7 @@ Copyright and Licence
\xeCJK_cs_clear:N \@@_inactive_group_begin:
\xeCJK_cs_clear:N \@@_inactive_group_end:
\xeCJK_cs_clear:N \makexeCJKinactive
- \xeCJK_cs_clear:N \xeCJK@composite@patch
+ \xeCJK_cs_clear:N \xeCJK_text_composite_patch:
}
}
% \end{macrocode}
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
index a601ffff36a..9742f0f48a3 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
@@ -29,10 +29,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
{xeCJK patch file for listings}
\ProvidesExplPackage{xeCJK-listings}
- {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+ {\ExplFileDate}{3.8.5}{\ExplFileDescription}
\DeclareOption* { \PassOptionsToPackage { \CurrentOption } { xeCJK } }
\ProcessOptions \scan_stop:
\RequirePackage { xeCJK }
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg
index de040c0a3dd..f9ecbd90008 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg
@@ -6,10 +6,10 @@
%%
%% xeCJK.dtx (with options: `config')
%%
-\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
{Configuration file for xeCJK package}
\ProvidesExplFile{\ExplFileName.cfg}
- {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+ {\ExplFileDate}{3.8.5}{\ExplFileDescription}
%%
%%
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
index 1f278796fa8..6bb521e33d4 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
@@ -29,10 +29,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
{Typesetting CJK scripts with XeLaTeX}
\ProvidesExplPackage{\ExplFileName}
- {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+ {\ExplFileDate}{3.8.5}{\ExplFileDescription}
\msg_new:nnn { xeCJK } { Require-XeTeX }
{
The~xeCJK~package~requires~XeTeX~to~function.\\\\
@@ -1446,17 +1446,23 @@
\tl_new:N \c__xeCJK_alignii_tl
\cs_new_protected:cpn { __xeCJK_bound_type_ -1 _glue:Nn } #1#2
{ \__xeCJK_zero_glue: }
-\cs_new_protected:cpn { __xeCJK_bound_type_ 1 _glue:Nn } #1#2
+\cs_new_protected:cpn { __xeCJK_bound_type_ 1 _glue:Nn } #1
{
\box_set_to_last:N \l__xeCJK_tmp_box
\int_compare:nNnTF \tex_lastnodetype:D = { -1 }
{
\dim_compare:nNnTF
{ \box_wd:N \l__xeCJK_tmp_box } = \tex_parindent:D
- { \box_use_drop:N \l__xeCJK_tmp_box }
- { \box_use_drop:N \l__xeCJK_tmp_box #2 }
+ {
+ \dim_compare:nNnTF
+ { \box_ht:N \l__xeCJK_tmp_box } = \c_zero_dim
+ { \use_i:nn }
+ { \use:nn }
+ }
+ { \use:nn }
}
- { \box_use_drop:N \l__xeCJK_tmp_box #2 }
+ { \use:nn }
+ { \box_use_drop:N \l__xeCJK_tmp_box }
}
\cs_new_protected:cpn { __xeCJK_bound_type_ 11 _glue:Nn } #1#2
{
@@ -3418,10 +3424,16 @@
\cs_new_protected:Npn \__xeCJK_font_initial:Nn #1#2
{
\group_begin:
+ \__xeCJK_font_initial_hook:
\__xeCJK_family_use:n {#2}
\xeCJK_font_gset_to_current:N #1
\group_end:
}
+\cs_new_protected:Npn \__xeCJK_font_initial_hook:
+ { \tl_use:N \g__xeCJK_font_initial_hook_tl }
+\cs_new_protected:Npn \__xeCJK_gadd_font_initial_hook:n
+ { \tl_gput_right:Nn \g__xeCJK_font_initial_hook_tl }
+\tl_new:N \g__xeCJK_font_initial_hook_tl
\cs_new_eq:NN \xeCJK_select_punct_font: \xeCJK_select_font:
\cs_new_protected:Npn \__xeCJK_select_punct_font_aux:
{
@@ -4921,11 +4933,6 @@
{ \tex_global:D \tex_Umathcodenum:D #1 = #2 ~ }
}
}
-\__xeCJK_package_hook:nn { microtype }
- {
- \cs_if_free:NF \MT@get@slot@
- { \__xeCJK_patch_microtype_get_slot: }
- }
\cs_new_protected:Npn \__xeCJK_patch_microtype_get_slot:
{
\cs_new_eq:NN \xeCJK@original@get@slot \MT@get@slot@
@@ -4944,6 +4951,14 @@
{ \MT@encoding - \tex_the:D \MT@toks } \l__xeCJK_tmp_tl
{ \cs_set_eq:NN \MT@char \l__xeCJK_tmp_tl }
}
+\cs_new_protected:Npn \xeCJK@microtype@restore@pickupfont
+ { \__xeCJK_gadd_font_initial_hook:n { \MT@ltx@pickupfont } }
+\__xeCJK_package_hook:nn { microtype }
+ {
+ \cs_if_free:NF \MT@get@slot@
+ { \__xeCJK_patch_microtype_get_slot: }
+ \MT@addto@setup { \xeCJK@microtype@restore@pickupfont }
+ }
\__xeCJK_package_hook:nn { hyperref }
{
\pdfstringdefDisableCommands
@@ -4952,7 +4967,7 @@
\xeCJK_cs_clear:N \__xeCJK_inactive_group_begin:
\xeCJK_cs_clear:N \__xeCJK_inactive_group_end:
\xeCJK_cs_clear:N \makexeCJKinactive
- \xeCJK_cs_clear:N \xeCJK@composite@patch
+ \xeCJK_cs_clear:N \xeCJK_text_composite_patch:
}
}
\__xeCJK_package_hook:nn { cprotect }
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
index f9b3da127f9..2ba36ebc832 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
@@ -29,10 +29,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
{xeCJK font effect}
\ProvidesExplPackage{xeCJKfntef}
- {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+ {\ExplFileDate}{3.8.5}{\ExplFileDescription}
\PassOptionsToPackage { normalem } { ulem }
\DeclareOption* { \PassOptionsToPackage { \CurrentOption } { ulem } }
\ProcessOptions \scan_stop:
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
index fd7c39dd6b9..f882bf810e7 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
@@ -29,10 +29,10 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
{addon file for xunicode}
\ProvidesExplPackage{xunicode-addon}
- {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+ {\ExplFileDate}{3.8.5}{\ExplFileDescription}
\bool_lazy_or:nnF
{ \sys_if_engine_xetex_p: }
{ \sys_if_engine_luatex_p: }
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
index 1b632efafa3..efddf0397ee 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
@@ -27,10 +27,10 @@
%%
%% ----------------------------------------------------------------------
%%
-\GetIdInfo$Id: xeCJK.dtx 94baac7 2020-06-06 23:21:05 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: xeCJK.dtx 6405ee1 2020-08-23 21:58:40 +0800 Qing Lee <sobenlee@gmail.com> $
{extra definition for xunicode}
\ProvidesExplFile{xunicode-extra.def}
- {\ExplFileDate}{3.8.4}{\ExplFileDescription}
+ {\ExplFileDate}{3.8.5}{\ExplFileDescription}
\DeclareUTFSymbol\texthyphenationpoint{"2027}
\DeclareUTFSymbol\texttwoemdash{"2E3A}
\DeclareUTFComposite\textsuperscript