|location||St. Petersburg, Russia|
|visits||member for||4 years, 4 months|
|seen||May 3 '14 at 6:23|
|bio||website||twitter.com/rystsov||visits||member for||4 years, 4 months|
|location||St. Petersburg, Russia||seen||May 3 '14 at 6:23|
Is there a BNF grammar of the TeX language?
Thank you for this comprehensive answer, I knew nothing about catcode. It seems that parsing tex is not a simple task as I thought before. My final task is to extract all math formulas from a set of articles (in tex), I thought I could parse them to do it, but now I'm not sure about it. What approach could you recommend? I think casual articles do not use catcode, so to extract correct math formulas I may parse tex and process newcommand. The alternative is to try use existing engine to parse and extract the needed information from its internals.