by lejalv · 2y ago · 0 comments
TeXmacs does technical typesetting with similar or better quality than LaTeX (and it does not use LaTeX behind the scenes for typesetting, unlike LyX) and keeps a live representation of the document as a tree that you can query and modify (e.g. using PEGs). It is also fully WYSIWYG (unlike, say, Typst).
Using the graphical mode one can freely position math and images and text on slides with perfect typesetting. And the switch-and-fold environments let you build trees of visibility for arbitrary parts of the document (the most obvious application being having exercises that can be switched to show the solutions).
What is more: in TeXmacs one can be enforce a certain degree (to the extent permitted by the ambiguity in mathematical notation) of semantics for math, so that good-looking expressions can be directly sent to a computer algebra system (CAS) for evaluation (and printed back in a way you can read).
So TeXmacs can interface to CASs and in general any programming language.
In fact, thinking about code editing, am not sure why TeXmacs could not, in principle, be the Scheme-based Emacs that some people have dreamt of (cf. the defunct Guilemacs effort, https://news.ycombinator.com/item?id=23304457). Maybe it will: a dedicated community of hackers led by Darcy is doing experiments in this direction in a friendly fork under the name “Mogan” - https://mogan.app/guide/what-is-mogan.html, although I have no idea what are the plans for Mogan Code.
TeXmacs does not use Electron, so while it does import HTML reasonably, it won't render websites in their full glory. But there was a recent job offer for somebody to work on improving the rudimentary capabilities for collaborative editing, so it might end up offering an alternative to Overleaf.
But I think it's not going anywhere fast, after reaching feature stability there maybe isn't much to do except the hard work of upgrading dependencies (like Guile and Qt) that maybe isn't appealing to the devs.
TeXmacs always appealed to me, but I couldn't manage to get it to tangle out source code the way I wanted and ended up falling back on lesser tools like Jupyter for typesetting-CAS-code interaction. I really should revisit it, it's definitely an underappreciated gem.
I'm also delighted to note that Guile Emacs is scheduled to rise from its grave next week and I'm quite optimistic about its success this time round. Robin Templeton is apparently back working on it and they'll give a talk at Emacsconf: https://emacsconf.org/2024/talks/guile/
Not to sound pessimistic, because Guile Emacs is an exciting project, but I'm pretty sure I've heard that before.
This seems overly harsh criticism for something that could almost be replaced by a git repository.
If everyone is using it, they’re obviously getting value out of it.
When all of the diagram-drawing libraries are locked behind extra subscription fees, then I’ll listen to your enshittification talk.
But many collaborators were not using version control in the first place, which meant that Overleaf was a huge step up from our previous workflow of emailing manuscript_v12.tex around and waiting to receive edits.
Not to mention the issues we previously had trying to get it to compile equally on every machine, where coauthors use different TeX distributions with different packages available and different versions installed on different operating systems.
Overall, I think Overleaf struck a pretty good trade-off between being usable by both techies and non-techies. My main pain point now is having to open the web browser to create or clone new projects, which I don’t do that often, but I wish they had a command line interface or something for that.