Quantcast
Channel: Why does the TeX scanner process tokens for register numbers and macro names differently? - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by Ulrich Diez for Why does the TeX scanner process tokens for...

What do you mean by "constructing a macro name"?At the time of reading/tokenizing input it is not important whether the control sequence token in question will denote a macro or a primitive or an...

View Article



Answer by egreg for Why does the TeX scanner process tokens for register...

Your assumptions are wrong. When doing an assignment to a count register, TeX obeys the syntax<count register><optional equal sign><number>where <count register> can be an...

View Article

Answer by David Carlisle for Why does the TeX scanner process tokens for...

I don't think that your description of scanning for a macro name is accurate (although I do not know what you mean by typeset:false, so that may or may not be true)Note that scanning for macro names...

View Article

Image may be NSFW.
Clik here to view.

Why does the TeX scanner process tokens for register numbers and macro names...

This is a "How does TeX know when to stop" question.Case 1Note: I have since found out that my understanding here is wrong. See SPOILER and answers.When TeX is constructing a macro name, it consumes...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images