Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!uwm.edu!rpi!uupsi!phage!monardo From: monardo@cshl.org (Pat Monardo) Newsgroups: comp.text.tex Subject: Re: TeX bug: optional spaces are mandatory Message-ID: <1991Feb10.195425.26669@cshl.org> Date: 10 Feb 91 19:54:25 GMT References: <1991Feb8.232215.3129@csrd.uiuc.edu> <1991Feb10.070319.17225@news.arc.nasa.gov> Sender: Pat Monardo Organization: Cold Spring Harbor Laboratory Lines: 33 >\afterassignment\showI >\I=1\ifnum0=\count0\else\fi > >% {\afterassignment} >% {\count37} >% {\ifnum} >% {\else} >% {true} >% >% \showI ->\showthe \I >% {\showthe} >% > 1. >% \showI ->\showthe \I >% >% >% \relax >% >% \else >% l.10 \I=1\ifnum0=\count0\else >% \fi >% ? >% >% {\relax} >% {\else} >% {\par} >% Here, you'll note that {\else} is scanned and pushed back before the >% {true} is determined. Also, note the surprise appearance of a {\relax}! the else "relaxes" the scan of the count number. there is no scan for the count number of \pageno because it is stored in the symbol for \pageno. pat