27 Mar
2007
27 Mar
'07
5:35 p.m.
Hans Hagen wrote:
If you need to readahead and buffer tokens (like when simulating OTPs), the easiest way to do this is using something like the following for the filter function:
If you need to read ahead for tokens, just run token.get_next() in a loop that stores tokens in a local table until you are happy. Then return that table after processing it. There is no need to return to the TeX control loop before that. Best, Taco