[luatex] nested ifincsname broken in luatex
David Carlisle
d.p.carlisle at gmail.com
Thu May 4 11:37:14 CEST 2017
On 4 May 2017 at 10:00, Hans Hagen <pragma at wxs.nl> wrote:
> On 5/4/2017 10:12 AM, David Carlisle wrote:
>
>>
>> the following plain tex file
>>
>> \ifcsname T\ifincsname e\else \hbox{e}\fi X\endcsname\fi
>> \bye
>>
>>
>> works in etex/pdftex/xetex but generates an error in luatex (tl2017
>> pretest)
>>
>> ifincsname should be true in the implicit csname started by the outer
>> ifincsname
>>
>
> does
>
> \suppressifcsnameerror1
>
> help?
>
Not really, it masks the error but the test is still taking the wrong
branch.
If I change the test file to
\ifx\suppressifcsnameerror\undefined\else
\suppressifcsnameerror1
\fi
\ifcsname T\ifincsname e\else \hbox{e}\fi X\endcsname AAA\else zzz\fi
\bye
then it runs without error but typesets
AAA with pdftex and xetex
but
zzz with luatex
David
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20170504/519d6cd5/attachment.html>
More information about the luatex
mailing list