Hacker Newsnew | past | comments | ask | show | jobs | submit | mgubi's commentslogin

this is plainly inaccurate. most people only use very few packages, which exists only for legacy reasons, they should be really integrated. TeXmacs provide all things 90% of people need.

ChatGPT can write TeXmacs documents :)

It is used regularly to write academic papers (examples here <https://www.texmacs.org/joris/main/publs.html>) and thesis, examples here: <https://github.com/texmacs/tm-forge/tree/main/examples/these...> and here <https://texmacs.github.io/notes/docs/example-documents.html>. It is used to write lecture notes and to deliver lectures online (e.g. here https://www.youtube.com/playlist?list=PLjXdYclFpynDi7EYP95Ep...). It can be used to produce full static website (e.g. here <https://mgubi.github.io/docs/main.html>, here <https://www.texmacs.org/tmweb/home/welcome.en.html> and here <https://texmacs.github.io/notes/docs/main.html>). There are not many users, but it is a working software with regular updates, since ~2000. Who compare it to LaTeX or Typst miss the point that it is a software designed to render writing a lot of mathematics easier and more importantly to not loose focus in irrelevant details. It has a visual macro system (see e.g. <https://x.com/gnu_texmacs/status/1251554336842407938>), something I haven't seen elsewhere, in production software. It is a structure editor, and an exploration of the design space in scientific editors. A field which lacks innovation and creativity.

Have you considered TeXmacs (www.texmacs.org)? See here a short video describing its features: https://www.youtube.com/watch?v=H46ON2FB30U and the twitter feed for more examples: https://twitter.com/gnu_texmacs


"here are WYSIWYG editors for TeX as well." not there are not. Apart from TeXmacs I know of no editor which give you on the screen the same result you get on the paper. LyX has not such a feature. If an approximation is ok, then fine, but I do not think you can call it WYSIWYG. Is something else. And it requires a lot of work to do it correctly. You should at least appreciate the technical merits, even if you prefer to use LaTeX for its ecosystem. But as a user of both I see the clear merits of TeXmacs in terms of quality of my work (mathematician), I can focus more on what I'm doing, instead on deciphering the mess of the LaTeX formulas and try to find where to put a correction. I can give online lectures with it, discuss on zoom while scribbling on a TeXmacs document, much of the work I was doing on paper I do now directly on the computer. To me there is a clear difference in the user experience between TeXmacs and LaTeX and I will never go back to write LaTeX if I can help it (I do it sometimes, if my coauthors are using it and do not want to try otherwise).


As a fellow mathematician you may then appreciate the fact that local and global maxima may differ dramatically which pretty much precludes true WYSIWYG (not just in TeX) in that you have to settle for one of the two: visual output with suboptimal aesthetics (TeXmacs, and, to some extent, LyX) or perfect results that you have to compile with some delay. It has nothing to do with the computational power available but rather with the occasional highly unstable line breaking. Even in MS Word it is annoying sometimes to see it resize a current line even though it uses a rather lame line breaking routine. TeX does have facilities for almost real time WYSIWYG (SyncTeX was added specifically for that purpose) although they take some effort to set up. As far as concentrating on the work at hand I have written whole papers without compiling the document once before everything was complete. I admit it takes some getting used to but I prefer something I can grep through to a mere pretty picture. I admit if my work was heavy on large commutative diagrams I might have had a different view. One thing I totally agree with you on is that TeXmacs is an outstanding piece of software. I would just prefer to keep my documents in TeX (which TeXmacs can export, kinda).


> visual output with suboptimal aesthetics (TeXmacs, and, to some extent, LyX)

Till now I took the developers word that the aesthetics of TeXmacs is better than the one of TeX and I would be curious to know where the opposite is true (and in case also why this cannot change)


From what I have seen in TeXmacs documentation, they have implemented pretty much every feature of TeX's linebreaking algorithm and more (microtypography, global page breaking, etc) so my claim above was not to say that the documents TeXmacs outputs have suboptimal aesthetics (to be fair, modern versions of TeX have all of these features, as well, although not the original TeX, alas). What I meant to say was there is no (even theoretically) possible way to have a perfect WYSIWYG editor if global paragraph/page breaking is desired. For example, due to global page breaking, one may be editing a line in the middle of the document and its position on the page (and the page number, left/right headers, etc) will be constantly changing---not good for the visual experience. I do not know how TeXmacs deals with these (extremely rare, admittedly) cases but the discussion was about the true WYSIWYG vs not so take it with a grain of salt. Let me say this again: TeXmacs is an outstanding piece of software. If in thirty years, a TeXmacs file format is still readable by the newest version (possibly with some easy tweaks), I will consider switching from TeX :). My other (minor) concern is that the LaTeX files that TeXmacs exports do not render at all as the pdf files TeXmacs produces itself. So as a WYSIWYG frontend to LaTeX, TeXmacs is ... not quite. Which they never claimed to be so I cannot fault them for this.


In my mathematics is \d x .


TeXmacs has its own macro language. The equivalent of \newcommand is \assign together with \macro (yes, TeXmacs has proper first class macros, like any respectable language, e.g. Lisp). And macros arguments can be edited visually, here's an example: https://twitter.com/gnu_texmacs/status/1251554336842407938


you can check also the manual which comes with the program, in the menu Help->Manuals.


The phrase "it uses LaTeX" means that it runs the program LaTeX or that it need the "LaTeX format". Neither is true. Similarly you would say that "PanDoc uses Word?" or that a program that export to Word use Word. To me if you want to say that a program exports to a particular format just say so. If you want to say that a program needs a working installation of another program Y to work then you can say "it uses Y". So I think it is not correct to say that TeXmacs uses LaTeX. It can import/export it, like it can export/import PDF, HTML and other formats. TeXmacs does not need a working LateX installation to work. It comes with all its batteries included and on the Mac the app weight < 150 MB. That's all you need (including the LaTeX importer/exporter which is written in Scheme).


Part of the problem is that LaTeX is meant in multiple senses: there is the LaTeX installation along with all relevant programs, and then there is the LaTeX format/programming language. When I say I "use C", it means that I write C programs. In this sense, TeXmacs does use (the) LaTeX (programming language). It includes Scheme code which translates the internal TeXmacs format to LaTeX for obvious and extremely useful reasons. To me that means it uses LaTeX. YMMV.


You can give a look at TeXmacs' twitter account for example of what it can do: https://twitter.com/gnu_texmacs


Not to mention JavaScript, then :)


Exactly, the same kind of name problem.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: