Ever since I knew that one could simply spell out equations to groff in plain english through the use of the eqn macro, I wanted to take my time and learn it. Every now and then I type some really serious math in LaTeX (by what I mean that I spend so much time in this business. On the one side it has brought me so many benefits, like: text editors (s?ed|n?vim?); regex; (vimscript|lua); tree-sitter, lsp and snippets; it also got me into the world of mechanical keyboards and qmk/via. And this is just to name a few things). On the other side, the fact that I've been on a quest to find the perfect workflow suggests by itself that this task is very time consuming. One thing that I've learnt with my journey is to never give up sharpening that saw (for one, the time that I spend nowadays is considerably lower when compared to what I used to spend 4 years ago, when I started digging this rabbit hole).
I like the fact that I can define macros with eqn, which is analogous to defining my own commands in LaTeX. I can also create tables, figures and table of contents, number equations, make references and citations. Only two things remain open so that can I make up my mind and move definitely into eqn. Those are:
- How do I get complex symbols like, for example,
\nabla, to display correctly usinggroffandeqn? - In the very likely event that I need to convert my sources into
LaTeX, are there any standard tools? Maybepandoccan do this, but how?
P.S. At first, I planned on posting this question on stackoverflow but, when the website saw my tags, it redirected me to this very forum. I'm sorry if this is not the right place for making this kind of question.

pandoc -f man -t latex foo.groffmaybe help (...or not, is just a not tested idea,sorry). You can also use groff to output html and eqn to output MathML, and then I guess thatpadoc -f html -t latex foo.htmlcould be more useful (but probably, not too much). – Fran Dec 27 '23 at 00:57