diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-18 21:51:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-18 21:51:18 +0000 |
commit | 7e0c2c8912e1320987eca26917ad163b3405cba2 (patch) | |
tree | 2cea267c6e118ed2a653db381a6ae8818c025c7e /Master/texmf-dist/tex/latex | |
parent | b737b99b9e76228a88c75818075675d2f3da6a03 (diff) |
xpinyin (18may14)
git-svn-id: svn://tug.org/texlive/trunk@34110 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-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} |