Hacker News new | ask | show | jobs
by gciruelos 3192 days ago
i agree completely on the large document problem that LaTeX has, especially when you have big formulas, statements or diagrams that are hard to parse after you have written them and, say, you want to find where you committed a syntax error or made a typo.

i think semantic macros really help with that, but they are not a silver bullet. i'd really like to see editor plugins that convert LaTeX commands to actual symbols (for example, as soon as you write the space after the q in "\neq ", it gets converted to a "=/=", and when you type backspace to erase the "=/=" you get "\ne"). that has been already implemented for languages like agda, and in a simple form is present in text editors that support fonts with ligatures.

i know that what i'm proposing more on the "wysiwyg" side (which some LaTeX fundamentalists might dislike), but i think it would be a very nice thing to have when editing complicated formulas or diagrams.

2 comments

It’s best, in my experience, for simple expressions. We usually have a lot of those, and this helps it flow like text. Big expressions are so complex,you really want to keep your eyes on the real input.
AucTeX in Emacs can do this, and it’s really nice.