Reputation
393
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 6
Newest
 Nice Answer
Impact
~6k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
17
comment 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.