diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty index 72e1cbcdeab..cddd5f98527 100644 --- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty +++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty @@ -6,7 +6,7 @@ %% %% xeCJK.dtx (with options: `fntef') %% -%% $Id: xeCJK.dtx 418 2013-05-29 06:41:21Z sobenlee $ +%% $Id: xeCJK.dtx 438 2013-06-11 14:17:42Z sobenlee $ %% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% ----------------------------------------------------------------- %% Author: @@ -33,17 +33,15 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\GetIdInfo$Id: xeCJK.dtx 418 2013-05-29 06:41:21Z sobenlee $ +\GetIdInfo$Id: xeCJK.dtx 438 2013-06-11 14:17:42Z sobenlee $ {xeCJK patch file for ulem/CJKfntef} \ProvidesExplPackage {xeCJKfntef} - {\ExplFileDate}{3.2.1}{\ExplFileDescription} + {\ExplFileDate}{3.2.3}{\ExplFileDescription} \PassOptionsToPackage { normalem } { ulem } \DeclareOption* { \PassOptionsToPackage { \CurrentOption } { ulem } } \ProcessOptions \scan_stop: -\@ifpackageloaded { xeCJK } - { } - { \RequirePackage { xeCJK } } +\RequirePackage { xeCJK } \RequirePackage { ulem } \RequirePackage { CJKfntef } \addto@hook \UL@hook { \xeCJK_hook_for_ulem: } @@ -232,7 +230,7 @@ \xeCJK_if_ulem_patch:TF { \xeCJK_class_group_end: - \__xeCJK_ulem_Default_and_FullRight_glue:N {#1} + \__xeCJK_Default_and_FullRight_glue:N {#1} \__xeCJK_ulem_class_group_begin: } { \__xeCJK_ulem_CJK_and_FullRight_glue:N #1 } @@ -259,7 +257,7 @@ { \xeCJK_if_ulem_patch:TF { - \__xeCJK_ulem_FullLeft_and_Default: + \xeCJK_FullLeft_and_Default: \__xeCJK_ulem_class_group_begin: } { \__xeCJK_ulem_FullLeft_and_CJK: } @@ -319,10 +317,12 @@ \__xeCJK_make_under_symbol:n { \CJK@underdotSkip } \cs_gset_eq:NN \__xeCJK_save_under_dot_CJKsymbol:N \CJKsymbol \cs_set_eq:NN \CJKsymbol \__xeCJK_under_CJKsymbol:N + \__xeCJK_restore_output_CJKsymbol: \bool_if:NT \l__xeCJK_ulem_hook_used_bool { \UL@start } #1 \bool_if:NT \l__xeCJK_ulem_hook_used_bool { \UL@stop } \cs_set_eq:NN \CJKsymbol \__xeCJK_save_under_dot_CJKsymbol:N + \tex_output:D \exp_after:wN { \l__xeCJK_underdot_output_tl } \CJK@postUnderdot \bool_if:NT \l__xeCJK_ulem_hook_used_bool { \UL@start } \tex_ignorespaces:D @@ -335,10 +335,24 @@ \__xeCJK_make_under_symbol:n {#1} \cs_gset_eq:NN \__xeCJK_save_under_dot_CJKsymbol:N \CJKsymbol \cs_set_eq:NN \CJKsymbol \__xeCJK_under_CJKsymbol:N + \__xeCJK_restore_output_CJKsymbol: #3 \group_end: \tex_ignorespaces:D } +\cs_new_protected:Npn \__xeCJK_restore_output_CJKsymbol: + { + \tl_set:Nx \l__xeCJK_underdot_output_tl + { \exp_after:wN \exp_not:n \tex_the:D \tex_output:D } + \tex_output:D \exp_after:wN + { + \exp_after:wN \cs_set_eq:NN + \exp_after:wN \CJKsymbol + \exp_after:wN \__xeCJK_save_under_dot_CJKsymbol:N + \l__xeCJK_underdot_output_tl + } + } +\tl_new:N \l__xeCJK_underdot_output_tl \cs_new_protected:Npn \__xeCJK_make_under_symbol:n #1 { \hbox_set:Nn \l__xeCJK_tmp_box { ^^^^4e00 } @@ -390,6 +404,7 @@ %% xeCJK.cfg, %% xeCJK.ins, %% xeCJKfntef.sty, +%% xeCJK-listings.sty, %% xeCJK-example-autofake.tex, %% xeCJK-example-fallback.tex, %% xeCJK-example-subCJKblock.tex, @@ -397,7 +412,9 @@ %% xeCJK-example-checksingle.tex, %% xeCJK-example-CJKfntef.tex, %% xeCJK-example-punctstyle.tex, -%% xeCJK-example-verbatim.tex, and +%% xeCJK-example-verbatim.tex, +%% xeCJK-example-IVS.tex, +%% xeCJK-example-listings.tex, and %% README.txt. %% %% End of file `xeCJKfntef.sty'. |