diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/xpinyin')
-rw-r--r-- | Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty b/Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty index 61ae931166a..d2a8ce3b863 100644 --- a/Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty +++ b/Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty @@ -6,7 +6,7 @@ %% %% xpinyin.dtx (with options: `package') %% -%% Copyright (C) 2012--2013 by Qing Lee <sobenlee@gmail.com> +%% Copyright (C) 2012-2014 by Qing Lee <sobenlee@gmail.com> %% -------------------------------------------------------------------------- %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,10 +21,10 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\GetIdInfo$Id: xpinyin.dtx 542 2014-01-13 18:19:08Z sobenlee $ +\GetIdInfo$Id: xpinyin.dtx 654 2014-05-12 15:23:16Z sobenlee $ {Automatically add pinyin to Chinese characters} \ProvidesExplPackage{\ExplFileName} - {\ExplFileDate}{1.7}{\ExplFileDescription} + {\ExplFileDate}{1.8}{\ExplFileDescription} \msg_new:nnn { xpinyin } { no-LuaTeX } { The~xpinyin~package~is~not~supported~in~LuaTeX.\\\\ @@ -299,14 +299,14 @@ \selectfont } \cs_new_nopar:Npn \__xpinyin_to_unicode_xetex:n #1 - { \int_to_hexadecimal:n { `#1 } } + { \int_to_Hex:n { `#1 } } \cs_new_nopar:Npn \__xpinyin_UTF_to_unicode:n #1 { - \int_to_hexadecimal:n - { \exp_args:No \int_from_hexadecimal:n { \CJK@plane } * "100 + #1 } + \int_to_Hex:n + { \exp_args:No \int_from_hex:n { \CJK@plane } * "100 + #1 } } \cs_new_nopar:Npn \__xpinyin_UTFchar_to_unicode:n #1 - { \int_to_hexadecimal:n { \__xpinyin_UTF_viii_to_unicode:NNNw #1 \q_stop } } + { \int_to_Hex:n { \__xpinyin_UTF_viii_to_unicode:NNNw #1 \q_stop } } \cs_new_nopar:Npn \__xpinyin_UTF_viii_to_unicode:NNNw #1#2#3#4 \q_stop { \tl_if_empty:nTF {#4} |