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 | |
parent | b737b99b9e76228a88c75818075675d2f3da6a03 (diff) |
xpinyin (18may14)
git-svn-id: svn://tug.org/texlive/trunk@34110 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/xpinyin/xpinyin.pdf | bin | 222597 -> 221689 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx | 15 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/xpinyin/xpinyin.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/xpinyin/xpinyin.sty | 14 |
4 files changed, 17 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/xpinyin/xpinyin.pdf b/Master/texmf-dist/doc/latex/xpinyin/xpinyin.pdf Binary files differindex c32e9354696..b7f44b03a2e 100644 --- a/Master/texmf-dist/doc/latex/xpinyin/xpinyin.pdf +++ b/Master/texmf-dist/doc/latex/xpinyin/xpinyin.pdf diff --git a/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx b/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx index d744c55993e..7afac4e5e5c 100644 --- a/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx +++ b/Master/texmf-dist/source/latex/xpinyin/xpinyin.dtx @@ -76,7 +76,7 @@ and some specific Chinese Simplified fonts (TrueType or OpenType). \askforoverwritefalse \preamble - 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 @@ -119,13 +119,13 @@ and some specific Chinese Simplified fonts (TrueType or OpenType). %<*driver|package> \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} %<*driver> \ProvidesExplFile{\ExplFileName.\ExplFileExtension} %</driver> %<package>\ProvidesExplPackage{\ExplFileName} - {\ExplFileDate}{1.7}{\ExplFileDescription} + {\ExplFileDate}{1.8}{\ExplFileDescription} %<*driver> \ExplSyntaxOff %</driver> @@ -134,6 +134,7 @@ and some specific Chinese Simplified fonts (TrueType or OpenType). %<*driver> \documentclass[full,a4paper]{l3doc} \usepackage{xeCJK} +\usepackage{indentfirst} \usepackage{xpinyin} \usepackage{fvrb-ex} \usepackage{geometry} @@ -796,7 +797,7 @@ and some specific Chinese Simplified fonts (TrueType or OpenType). % \begin{macro}[internal]{\@@_to_unicode_xetex:n} % \begin{macrocode} \cs_new_nopar:Npn \@@_to_unicode_xetex:n #1 - { \int_to_hexadecimal:n { `#1 } } + { \int_to_Hex:n { `#1 } } % \end{macrocode} % \end{macro} % @@ -804,11 +805,11 @@ and some specific Chinese Simplified fonts (TrueType or OpenType). % \begin{macrocode} \cs_new_nopar:Npn \@@_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 \@@_UTFchar_to_unicode:n #1 - { \int_to_hexadecimal:n { \@@_UTF_viii_to_unicode:NNNw #1 \q_stop } } + { \int_to_Hex:n { \@@_UTF_viii_to_unicode:NNNw #1 \q_stop } } \cs_new_nopar:Npn \@@_UTF_viii_to_unicode:NNNw #1#2#3#4 \q_stop { \tl_if_empty:nTF {#4} diff --git a/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins b/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins index d1f0fa22ff4..1b98422b389 100644 --- a/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins +++ b/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins @@ -6,7 +6,7 @@ %% %% xpinyin.dtx (with options: `install') %% -%% 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 @@ -25,7 +25,7 @@ \askforoverwritefalse \preamble - 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 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} |