[NTG-pdftex] [ pdftex-Patches-469 ] \currentexpansionmode +
\ifalignscanning - \ifinedef
noreply at sarovar.org
noreply at sarovar.org
Thu Jan 12 02:39:51 CET 2006
Patches item #469, was opened at 2006-01-12 02:39
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=495&aid=469&group_id=106
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Morten Høgholm (morten)
Assigned to: Nobody (None)
Summary: \currentexpansionmode + \ifalignscanning - \ifinedef
Initial Comment:
Here's a patch made against pdftex-1.40.0-alpha-20060111. It
removes the \ifinedef primitive for a different primitive, namely
\currentexpansionmode. This read-only register is 0 when doing
regular typesetting, 1 when inside \edef or \xdef and 2 in other
cases of full expansion with scan_toks. It could possibly be
extended to distinguish between \marks and \write etc. Comments
more than welcome on this one!
I have also added an \ifalignscanning test. It is true whenever TeX
is looking for \noalign etc. so is most useful for a
\stopalignscanning function defined as
\def\stopalignscanning{\ifalignscanning\relax\fi}
----------------------------------------------------------------------
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=495&aid=469&group_id=106
More information about the ntg-pdftex
mailing list