From 7e0c2c8912e1320987eca26917ad163b3405cba2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 18 May 2014 21:51:18 +0000 Subject: xpinyin (18may14) git-svn-id: svn://tug.org/texlive/trunk@34110 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex/xpinyin') 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 +%% Copyright (C) 2012-2014 by Qing Lee %% -------------------------------------------------------------------------- %% 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} -- cgit v1.2.3