View Issue Details

IDProjectCategoryView StatusLast Update
0000728luatexluatex bugpublic2015-10-16 22:36
ReporterTacoAssigned ToHans Hagen 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.70.1 
Target VersionFixed in Version0.80.2 
Summary0000728: \ifincsname broken
DescriptionHello,

\ifincsname behaves different from pdfTeX:

\catcode`\{=1
\catcode`\}=2
\ifx\directlua\undefined
\else
  \directlua{tex.enableprimitives('',{'ifincsname'})}%
\fi
\def\empty{}
\edef\x{%
  \expandafter\noexpand\csname
    A\csname empty\endcsname\ifincsname A\else B\fi
  \endcsname
}
\immediate\write16{\meaning\x}
\csname @@end\endcsname\end

Result with pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011): \AA
Result with LuaTeX beta-0.70.1-2011061416 (rev 4277): \AB

It seems that in LuaTeX the true setting of \ifincsname
is cleared after the embedded \csname...\endcsname instead
of restoring the previous status of \ifincsname.

Yours sincerely
  Heiko Oberdiek
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-10-10 13:36 Taco New Issue
2011-10-10 13:36 Taco Status new => assigned
2011-10-10 13:36 Taco Assigned To => Taco
2015-10-16 22:36 Hans Hagen Status assigned => resolved
2015-10-16 22:36 Hans Hagen Fixed in Version => 0.80.2
2015-10-16 22:36 Hans Hagen Resolution open => fixed
2015-10-16 22:36 Hans Hagen Assigned To Taco => Hans Hagen
2015-10-16 22:36 Hans Hagen Status resolved => closed