diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/xpinyin/xpinyin.ins')
-rw-r--r-- | Master/texmf-dist/source/latex/xpinyin/xpinyin.ins | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins b/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins index 04f3617a4be..9060d87460d 100644 --- a/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins +++ b/Master/texmf-dist/source/latex/xpinyin/xpinyin.ins @@ -20,6 +20,19 @@ %% The Current Maintainer of this work is Qing Lee. %% +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname directlua\endcsname\relax + \begingroup + \newlinechar=10 % + \errmessage{^^J + ********************************************^^J + * LuaTeX is required to unpack this package.^^J + ********************************************^^J + } + \endgroup + \csname @@end\expandafter\endcsname\expandafter\end +\fi + \input l3docstrip.tex \keepsilent \askforoverwritefalse @@ -67,6 +80,8 @@ \file{xpinyin.lua} {\from{\jobname.dtx}{lua}} } +\directlua{dofile("xpinyin.lua")} + \let\MetaPrefix\DoubleperCent \generate |