siefkenj / unified-latex

Utilities for parsing and manipulating LaTeX ASTs with the Unified.js framework
MIT License
91 stars 24 forks source link

ToPretext work #118

Closed oscarlevin closed 2 weeks ago

oscarlevin commented 3 weeks ago

I'm ready to help the unifiedLatexToPretext part get working. Currently, if I try I get an error about not knowing what to do with the node "instruction".

I feel pretty good about working with the unified asts in general, although know less about the abstracted unified()-strung together commands and how that works. Where would a good place be for me to get started getting my hands dirty?

siefkenj commented 3 weeks ago

What exactly are you calling when you get that error?

oscarlevin commented 3 weeks ago

I was calling this from inside a function in pretext-tools, but it was just running the code snippet from the example in the readme.

oscarlevin commented 2 weeks ago

Happy to report that I have this successfully working in pretext-tools now. I'll start adding some more environments soon.