<div dir="ltr"><div dir="ltr">Dear all,</div><div dir="ltr"><br></div><div>I have long wanted to have an equation editor with 2D math input for use in LibreOffice, Inkscape, Emacs and anywhere one would like to enter math formulas. The only program I know of this kind is MathType, which does not work on Linux. I am aware of LyX and Texmacs, which provide 2D math input, but they are overkill for this purpose.</div><div><br></div><div>My understanding is that LuaTeX provides a Lua API to the TeX typesetting engine and, in principle, it should be possible to use it for 2D math input in a standalone equation editor. Assuming this is correct, can you provide some pointers to examples of programmatic use of TeX in Lua and pointers to specific parts of the documentation, that are relevant for such a project?</div><div><br></div><div>Best regards,</div><div>Marduk</div></div>