> Parsing .tex like this is impossible to get right. Macros do not have to > nest properly. Moreover, it uses fixed values for deliminiters, so this > can't work except for some class of "reasonably well-behaved LaTeX" - and > we have reLyX for this job already. At it seems to have the same broken > two-stage process full tokenization/full parsing that the math parser does > - which is not what TeX does.
Yeah, I agree with you. What would you suggest for a better approach to parsing .tex files? -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)