[NTG-pdftex] [pdftex-Bugs][4314] \ifincsname nesting bug
pdftex-bugs at sarovar.org
pdftex-bugs at sarovar.org
Tue Jul 27 07:47:19 CEST 2010
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
More information about the ntg-pdftex
mailing list