From cc6dec43bed861394613828f8ed1351b0952d702 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Aug 2011 23:29:30 +0000 Subject: ltnews20.tex doc fix (21aug11) git-svn-id: svn://tug.org/texlive/trunk@23639 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/base/ltnews20.tex | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/source/latex/base/ltnews20.tex b/Master/texmf-dist/source/latex/base/ltnews20.tex index 909965c82a6..f8eb9a8a7f1 100644 --- a/Master/texmf-dist/source/latex/base/ltnews20.tex +++ b/Master/texmf-dist/source/latex/base/ltnews20.tex @@ -135,15 +135,18 @@ latter being the default. itself contained code which needed protection (e.g., pr/4080) so this got changed in the last release to use \verb"\protected@edef". However, that in turn failed with Babel (bug report/4093) if the label contained active characters, e.g., a ``:'' in French. So now -we use even more \verb"\expandafter" commands to avoid any expansion other +we use (after one failed attempt pr/4159) even more \verb"\expandafter" commands and \verb"\romannumeral" trickery to avoid any expansion other than what is absolutely required---making the code in that space absolutely unreadable. \begin{verbatim} - \expandafter\expandafter\expandafter - \def\expandafter\expandafter\expandafter - #1\expandafter\expandafter\expandafter - {\expandafter\expandafter\expandafter - \@cdr\csname r@#2\endcsname - \@nil}% + \expandafter\def\expandafter#1\expandafter{% + \romannumeral + \expandafter\expandafter\expandafter + \z@ + \expandafter \@cdr + \romannumeral + \expandafter\expandafter\expandafter + \z@ + \csname r@#2\endcsname\@nil}% \end{verbatim} Code like this nicely demonstrates the limitations in the programming layer of \LaTeXe{} and the advantages that \textsf{expl3} will offer on this level. -- cgit v1.2.3