On 4 May 2017 at 10:00, Hans Hagen <[email protected]> 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
> -----------------------------------------------------------------
>

Reply via email to