Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is a successor for TeX/LaTeX in sight? [closed]

People also ask

Is there a better alternative to LaTeX?

Html and CSS can increasingly be used for typesetting purposes. E.g. see weasyprint for an open-source software that renders html+css to pdf. QuarkXPress & Adobe InDesign are far superior than TeX/LaTex.

Does LaTeX still exist?

LaTeX is not dead at all, it is the most used tool to write scientific article in many fields, such as physics and computer science.

How do you start and end LaTeX?

The \begin{} command tells LaTeX to entire a certain environment while the \end{} command concludes that environment. \begin{document} will start the body of the document (end the preamble) and \end{document} will end the document. Other common arguments are equation, align, tabular, and figure.

What does writing in LaTeX mean?

LaTex is a package that allows users to use the TeX typesetting program as the formatting engine. TeX typesetting is designed to document complex mathematical notations, text and formulas. That is why LaTeX is best suited for technical journals, reports, books and slide presentations.


There is a LaTeX3 project that has been going on for basically forever. In that sense, it is a successor to the current LaTeX2e.

You forget/ignore the primary goal for TeX when it was created -- "TeX is a new typesetting system intended for the creation of beautiful books". The goal of TeX was typesetting, and its primary concerns were things like "Breaking Paragraphs Into Lines" (Donald E. Knuth and Michael F. Plass, Software--Practice and Experience, Vol. 11, pp. 1119-1184, 1981), ligatures, kerning, beautiful fonts (Knuth worked with Hermann Zapf in creating typefaces like AMS Euler), and precise control over layout of text on a page.

LaTeX was a later set of macros built on top of TeX that introduced "document management" capabilities like automatic numbering of equations and sections, cross-referencing, and so on. It goes by "LaTeX: a document preparation system".

One can very well imagine successors to LaTeX, alternatives that offer LaTeX's document management capabilities, and perhaps do it better -- like DocBook. (Well it's based on XML, but...) But it is hard to imagine alternatives that will replace TeX, the typesetting engine itself. TeX is probably among the programs with the least number of bugs in it -- Knuth offers $327.68 for every bug found in TeX, and has done so for a long time. A lot of thought has gone into it, with Knuth's characteristic pursuit of perfection. Every aspect of it is configurable, the code is public domain (well except for the restriction that if you make modifications you must call it by some other name -- this is because of TeX's goal that the same TeX file typeset on any machine anywhere in the world should produce an exactly identical-looking document forever into the future), and books have been written about TeX: The Program itself, and also about all the bugs that were discovered in TeX.

Some of TeX's ideas have been incorporated into Adobe's Indesign (for example), and those typesetting engines too have some innovative ideas, but TeX still remains superior. [Note: Knuth didn't intend TeX to be the standard forever, only "for the next 100 years or so" until something better comes along. For all we know, one might.]

There are TeX-based alternatives to LaTeX, such as ConTeXt and LuaTeX. It is possible that there are tasks for which they are better suited.

To answer your other objections: Although LaTeX has possibly introduced more complexity than is necessary, the TeX part of the learning is unavoidable -- if you want to create beautiful books there are some things you have to know, no matter what. And it is not hard to control position of images; TeX was designed to give you control over every point on the page, but to exercise that control you may have to go beyond the simple constructs (although I've never had to...) And if you use a good editor or macros, you won't have to type too much \begin{itemize} ... \end{itemize}; that's just a lame complaint :P


The short answer is 'No' as LaTeX is the incumbent and quite good at its job. It's also free, so there is relatively little commercial incentive to attempt to replace it. In fact, TeX is sufficiently good at technical publishing that the commercial market for technical publishing tools is rather squeezed between TeX at the 'geek' end and word at the 'great unwashed' end.

The longer answer is 'There are alternatives'. LaTeX and other packages suffer heavily from leaky abstraction issues and often require technical intervention to get what you want out of it. This puts you in the business of understanding how it works behind the scenes, which is actually fairly technical. Thus, you can only really use it for non-casual applications if you have access to someone with that level of technical skill. Writing a report or book is fine. Building a single-source technical documentation workflow with LaTeX is quite a different proposition - you will need access to someone with a technical skill base.

Alternatives to LaTeX

  • Commercial technical publication tools. There is really only one left standing: Framemaker. This is a mature product but somewhat stagnant. However, it does have an open document and segment interchange format called MIF, a comprehensive API and extensive support for structured documentation. It's quite widely used in aerospace circles (for example) where reference documents for aircraft run to tens of thousands of pages. Additionally, there are several also-rans in this space: Ventura Publisher, Arbortext (which is based on a TeX derived back-end IIRC), and Interleaf, which is now known as Quicksilver.
    Adobe claim to be implementing technical publishing functionality in InDesign but I have not really evaluated its capabilities for this.

  • Lout A markup language with a completely different underlying architecture to TeX. I've never worked with Lout but I believe that it is somewhat easier to work on behind the scenes than TeX.

  • Troff/Groff. Originally designed for technical documentation within AT&T during the 1970s (actually a spinoff of the UNIX R&D work), it's still quite widely used for this today. For quite a long time most if not all O'Reilly books were typeset using it.

  • DocBook. This is an XML tag based format for structure documentation, and tends to work by rendering through foreign engines. I've never used DocBook, so I can't really comment on its usage in practice.

  • Wordperfect. This is a venerable word processing system that is considerably better at documentation-in-the-large than MS-Word. Although viewed as something of an also-ran it retains several niche markets such as law offices and is reasonably good (at least significantly better than Word) for large, complex and heavily cross-referenced documents.

  • Microsoft Word. Not recommended for serious technical publication tasks due to its instability on complex documents. However, as often as not it is the only choice due to political constraints. Indexing is especially painful.

EDIT: See this Stackoverflow post for a more in-depth rundown on Framemaker and other technical documentation tools. It's an answer to a question about technical documentation tools for someone who specifically didn't want to use a markup language based system.


Have you had a look at ConTeXt? It's a set of macros for TeX that can be used instead of LaTeX.

I haven't used it myself but the syntax in the example documents looks simpler than LaTeX in a number of cases.


I have already published five books typeset in ConTeXt four of which were museum catalogues with high-quality colour illustrations. It is definitely production ready.


TeX is actually a fairly special purpose typsetting system. It does what it does well, but there isn't a large enough need for something better. "When he designed TeX, Donald Knuth did not believe that a single typesetting system would fit everyone's needs" (wikipedia)

Most of the "newer" systems build guis and extend TeX, which I believe is the right approach.

There are very good reasons for the 'issues' you are facing, so if you want to propose that it be done differently please research those reasons first.

Second, you yourself indicate that TeX is great except for a few minor quibbles. Knuth built it expressly knowing that it wouldn't be suitable for all uses and all people, but he released the source code and built an extension API so that anyone could adapt it for their needs.

You have all the tools you need to make the changes you propose, and it will be far easier to update TeX than to start from scratch, or even adapt any other system. Truly, nothing comes close to TeX. That's not to say that it's the best, but merely to drive home the point that it would be a monumental effort to implement all the good things you mention and somehow overcome the bad (although by the time you get to the bad you may better understand why it exists).

Regardless, I hope you pursue this, even as an advocate, and get others interested in it. It would be great to see take up of TeX in other fields, but that does require modification and update for ease of use and a better support of other technical entities than mathematical equations.

-Adam


TeX and LaTeX set the bar high; it's hard to imagine something entirely new coming along and replacing them.

I've got a copy of Knuth's Computer Modern Typefaces (Book E in the Computers And Typesetting series, which I think is completed unlike TAOCP). I don't think many people get to see this book, and - indulge me - it really is worth looking at. You can see where some of Kunth's time went. Here's a quote from the preface:

Another piece of luck came my way in 1984, when I learned that the original bronze patterns used to make the molds of Monotype 8A were in San Francisco. For years I had been working with indirect and imprecise information about the fonts that had stimulated this work. First I had worked from photographic blowups of letterpress original pages from The Art of Computer Programming; then Richard Southall had prepared enlargements from original proofs he had located in England. At last I found the actual 80-year-old patterns that had generated the metal type. The present owner of these patters, Mr. Othmar Peters, kindly consented to let me borrow them while I was preparing the final draft of Computer Modern, and I learned much by measuring them with calipers.

You just don't get that kind of attention to detail in many places, and that's why TeX endures.


You cannot retain "it has many extensions to reach different goals" with something new. By definition something new that is not TeX/LaTeX will start with no extension.

Having been a core contributor to the GNU TeXmacs project, which aims to be something like "TeX except for the 21st century", I think have some good insight on the succession of LaTeX.

I am not aware of anything on the horizon that is any likely of dethroning LaTeX. The people of influence in the mathematical community are just too used to using LaTeX to seriously consider the effort required to learn any tool that could be equally flexible.

Maybe in 20 years, when all the folks that got their PhD when LaTeX was cool are retired will something else replace it. Hopefully, it will be something like TeXmacs, but without the unnecessary complexity.