![](https://secure.gravatar.com/avatar/7d19e6b2520f265ddf2121b2c29cc0d9.jpg?s=120&d=mm&r=g)
Bugs item #4314, was opened at 2010-07-27 05:47 Status: Open Priority: 3 Submitted By: The Thanh Han (hanthethanh) Assigned to: The Thanh Han (hanthethanh) Summary: \ifincsname nesting bug Category: Primitives Group: None Resolution: Accepted Initial Comment: from http://tug.org/pipermail/pdftex/2010-July/008439.html ,--------, | Hi, | | This was reported on the XeTeX mailing list but I'm reposting here since I think it's more appropriate for this list. (Fixes to pdfTeX can then propagate to the other engine(s).) | | Here's a minimal example: | | \def\a{\ifincsname T \else F \fi} | \expandafter\string\csname | 1\a | \expandafter\string\csname2\a\endcsname | 3\a | \endcsname | | #1 and #2 are "true" but #3 is "false". It seems like the first \endcsname has reset the "am i in a csname" switch rather than popped it back to its previous value. | | Cheers, | -- Will `--------` ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=4314&group_id=106