83 karma · joined May 14, 2019
As far as I know, an importer that interprets arbitrary LaTeX cannot exist (i.e. you have to run LaTeX on the file) because the grammar of LaTeX documents is Turing-complete. There is a StackExchange Q&A where this is explained, but I do not understand the arguments ;-)
I think that there are good points in switching document preparation system. Differently from LaTeX, TeXmacs can be programmed in a sensible way (it uses Scheme), and differently from Word you have access to the source. It is superior enough to both systems that the future standard will work according to the ideas implemented in it, I think.
TeXmacs: https://www.texmacs.org
As far as I know e.g. this book https://www.editions-ellipses.fr/accueil/4856-le-petit-pytho... has been written with TeXmacs, and antoher is in preparation by the same author. Also, Joris van der Hoeven has written a guide to TeXmacs ("The Jolly Writer") using TeXmacs
Perhaps there are a few points in which TeXmacs' import can be improved immediately (other things seem a bit more complex). I wrote a post at http://forum.texmacs.cn/t/latex-import-hacker-news-example/4...
One thing that makes a small part of the import not work is that in the LaTeX source some of the macros are defined after the start of the document, and TeXmacs sees them too late to take them into account when formatting the title.
Said this, TeXmacs finds the references, and LaTeX does not (I do not find the bibliography file, which is named "bibliography") ... how is this possible?
2.1 does not introduce new features with respect to 1.99.21, the software has been gradually refined with new features and bug fixes along the whole 1.99.x series of releases I think (I am following it starting from about 1.99.9).
Important features of 2.1 are a much improved LaTeX export filter, improved HTML export, a comment facility (for collaboration), improvements on plugin support for several programming languages (I did not test these extensively), a very nice mechanism for making it easier to use the label/ref mechanism (includes a tiptool for immediately seeing the referenced object).
Edit: in the same thread one can read how to embed plots generated with R in the TeXmacs document. So my impression is that there is sufficient functionality for working.
In the TeXmacs editor Edit->Copy to->LaTeX (one might have to add some macro definitions in the preamble of the LaTeX document)
TeXmacs is not a TeX-editor, it is an independent program. The word "TeX" is in the name because one of the ambitions of the program is to inherit the typographic excellence of TeX (see the "parent article"). On this topic, the author of TeXmacs claims he has surpassed it.
I hope that will help to bring the development forward.
More in detail (I refer to [1] for a complete discussion):
1) It makes structured editing possible (and that is its main mode of operation). So if you want to mark your text with "semantic" markup you can do that, and in fact that is what using the software leads you to do.
2) It is controllable via programs
3) It has advanced typography (including mathematical formulae at the necessary level for professional mathematicians, as far as I can see), and it is pleasant and easy to work with: you can concentrate on writing, letting the program take care of the visual appearance and you do not need to interpret the sources while you are editing, to figure out where is the text that you want to edit
4) It has user-definable keyboard shortcuts that further help entering structured text
... and I feel it is enough for a short list of the features.
Back to Scheme. The development team is debating on which Scheme to use for the future of TeXmacs, and the debate is taking time. Here are some experiments [2],[3]. The current software (with Guile 1.8) works smoothly, with full functionality. For Linux installation, I chose the static binary they provide ... because on Ubuntu I don't have Guile 1.8 ;-)
[1] http://cahiers.gutenberg.eu.org/cg-bin/article/CG_2001___39-...
See my comment below https://news.ycombinator.com/item?id=26498409 :-)
Especially upvotes to questions are important, as enough people have joined to pass the first stage, but not enough questions have been upvoted.