LaTeX.js icon indicating copy to clipboard operation
LaTeX.js copied to clipboard

Update on the AST-parsing plan?

Open rorybyrne opened this issue 3 years ago • 2 comments

Hi, I'm interesting in building an intermediary representation of a LaTeX document for another project, and would like to be able to use this library! However, I don't want to parse into HTML, and then parse the HTML into my representation.

Is there any update on the plan to add an AST as a parsing destination?

rorybyrne avatar Apr 17 '21 08:04 rorybyrne

Hi, sorry for the delay, my time got completely taken up by another project. No, I don't have any updates on the AST, it is a significant change and I am not sure when I'll be able to do it yet. Definitely not this summer...

michael-brade avatar Jun 05 '21 09:06 michael-brade

I just noticed that there are two projects that generate an AST from LaTeX. Both of them are based on yours, so maybe it'd be possible to get a collaboration with them going?

  • https://github.com/tamuratak/latex-utensils
  • https://github.com/siefkenj/latex-parser

stefnotch avatar Nov 16 '21 08:11 stefnotch