diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ltxnew/ltxnew.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ltxnew/ltxnew.sty | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/ltxnew/ltxnew.sty b/Master/texmf-dist/tex/latex/ltxnew/ltxnew.sty index f56eb46c8f4..f20b86126a6 100644 --- a/Master/texmf-dist/tex/latex/ltxnew/ltxnew.sty +++ b/Master/texmf-dist/tex/latex/ltxnew/ltxnew.sty @@ -27,7 +27,7 @@ \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [2005/12/01]% LaTeX must be 2005/12/01 or younger (see kvsetkeys.dtx). \ProvidesPackage{ltxnew} - [2010/04/17 v1.2 provides the new and renew prefixes for checking definitions] + [2011/03/02 v1.3 provides the new and renew prefixes for checking definitions] \RequirePackage{etex} @@ -108,7 +108,11 @@ \else\ifx\x\font \def\z{\font}%%41 \else\ifx\x\write \def\z{\newwrite}%%42 \else\ifx\x\read \def\z{\newread}%%43 - \else\ifx\x\protect \ltxn@error@prefix%%44 + \else\ifx\x\char \def\z{\chardef}%%44 + \else\ifx\x\chardef \def\z{\chardef}%%45 + \else\ifx\x\mathchar \def\z{\mathchardef}%%46 + \else\ifx\x\mathchardef \def\z{\mathchardef}%%47 + \else\ifx\x\protect \ltxn@error@prefix%%48 \else \let\ltxn@next@addto\ltxn@next@prefix \ifx\y\x\ltxn@error@prefix @@ -118,7 +122,7 @@ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi - \fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi\fi\fi \fi \fi\fi\fi \fi\fi\fi\fi% so many fees... @@ -157,8 +161,8 @@ % renew: Throws an error in case the control sequence is unknown or \relax \def\ltxn@renew#1{% \edef\ltxn@name{\string#1}% - \ifdefined#1\ifx#1\relax\ltxn@error{renew: \ltxn@name undefined}\fi - \else \ltxn@error{renew: \ltxn@name undefined}% + \ifdefined#1\ifx#1\relax\ltxn@error{renew: \ltxn@name\space undefined}\fi + \else \ltxn@error{renew: \ltxn@name\space undefined}% \fi \let#1=\relax \def\next{\ltxn@new#1}% |