80

There are a few questions on this forum asking about why LaTeX3 is taking so long to come out. However, all of these are from the early 2010s.

I'm just wondering what the current state of the project is and whether it's ready (or nearly ready) for prime time?

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • 4
    see https://youtu.be/zNci4lcb8Vo – Ulrike Fischer Nov 23 '20 at 22:31
  • 5
    In 1994 I was told it would take a few years. This is why it is outdated when it finally will be out. –  Nov 24 '20 at 01:59
  • 2
    Could someone who had time to watch that video briefly provide me with the conclusion? – Gaussler Nov 24 '20 at 07:47
  • 1
    @abcdefg I think TeX itself will be outdated when/if it finally comes out. At that time, HTML with MathML will have taken over the market, in the form of web pages and ebooks. – Gaussler Nov 24 '20 at 08:05
  • 1
    IMO nowadays using LuaTeX is a more sensible way to go. Using LaTeX3 (and even older LaTeXes when your purpose isn't stability or a very specific academic requirement) is sorta a masochist fetish. http://www.gust.org.pl/bachotex/2014-pl/presentations/gundlach-1-b2014 and https://www.ntg.nl/EuroTeX/2009/slides/patrick-slides.pdf may give you some feelings. –  Nov 24 '20 at 08:16
  • 4
    @JairoA.delRio Unfortunately, most documents I write these days are for journals, and they force me to use not only pdfTeX, but also bloody BibTeX. I usually end up just rewriting the bibliography by hand instead of struggling with the horrors of BibTeX. – Gaussler Nov 24 '20 at 08:32
  • 26
    You have been taken in by a common misconception that LaTeX3 is supposed to be the next version of LaTeX, when in fact LaTeX3 is the name of the project that maintains the current and future LaTeX releases. – Henri Menke Nov 24 '20 at 12:00
  • 2
    @JairoA.delRio luatex is an engine, latex a format which also run with luatex. Your sentence doesn't make much sense. – Ulrike Fischer Nov 24 '20 at 12:51
  • 3
    @UlrikeFischer I know. I meant non-LaTeX formats such as plain LuaTeX, ConTeXt or even Patrick Gundlach's approach of using Lua right from the start. Unfortunately I cannot edit my comment. –  Nov 24 '20 at 13:01
  • 2
    @HenriMenke If it was the original plan, then it’s not quite right to call it a misconception. – Gaussler Nov 24 '20 at 14:00
  • 1
    @abcdefg Except it's actively developed – The Drunken Whaler Nov 24 '20 at 14:25
  • 30
  • 2
    @Peilonrayz the page https://www.latex-project.org/latex3/ has been updated (you perhaps will have to reload the page to see the changes). – Ulrike Fischer Nov 30 '20 at 12:55

3 Answers3

83

At some time in the past there was a plan to create a new LaTeX3 format which would replace LaTeX2e in the same way as LaTeX2e replaced LaTeX2.09.

This plan has been changed. As mentioned around minute 20 in the talk of Frank Mittelbach at TUG 2020 (https://youtu.be/zNci4lcb8Vo), the new policy is to modernize LaTeX through "gentle refactoring" and there will be no new separate product.

This refactoring has already started. For example utf8 has been made the default encoding; at the begin of the year the expl3 code was integrated into the format; in October large parts of the xparse package were moved into the format and significant changes were made in various places to integrate more hooks.

So one could say that LaTeX3 is already here.

LaTeX2e <2020-10-01> patch level 2
L3 programming layer <2020-10-27> xparse <2020-03-03>
Alan Munn
  • 218,180
Ulrike Fischer
  • 327,261
36

Disclaimer: The following is my personal opinion; I am in no way connected to the LaTeX3 development team.

There probably never will be a LaTeX3. At this point, the idea of a third version of LaTeX is becoming a joke. It’s been almost 30 years, and the expl3 layer doesn’t even provide replacements for important TeX primitives, like \vcenter, forcing package authors to mix up expl3 and 2e syntax. And then suddenly, instead of creating a workable preliminary version and finally end the package hell, it’s being decided that now is the perfect time to start remaking TikZ, in the form of l3draw. TikZ has been in development for about 15 years and has become a whole ecosystem of its own, with add-on packages and a gigantic community that knows the TikZ format inside out. Good luck recreating that from scratch with l3draw.

At the end of the day, I think what the LaTeX3 project has ultimately taught us is that TeX and LaTeX, as document formats for ordinary users, were largely a failure. They are simply too hard to use. Knuth imagined that each author would sit down and read the TeXbook and develop their own format, complete with their own output routines and macro systems. But this is not something most users have time or interest in. They just want to be able to write their documents in peace. Instead, LaTeX was intended as a workable compromise where the average user would only need to ever learn the top interface layer and leave the underlying machinery to the developers. But it became a mess of fragile commands being provided by a mess of obsolete packages that break themselves and each other. And the whole mess couldn’t be cleaned up because “thou shalt never break a document”.

Meanwhile, LaTeX has been around for so long now that it’s impossible to get anyone to move on to an entirely new format. Especially since whenever you submit a paper to a Springer journal, they still force you to use the obsolete mathptmx font package and the very painful BibTeX. I find it hard to believe anything will ever convince them to move on to a new format.

By now, I think it’s better to just wait for the world to move on. MathML is finally being implemented in the Chromium browsers, making it available in all major web browsers. The HTML + MathML combination is everything that LaTeX is not: It is an open and well-documented standard, it is consistent, it is portable and can be used across web pages and in ebooks. And importantly, it can be rendered by more than just one single, ancient piece of software. Finally, it can be written by any application you have lying around, including MS Word. If the TeX engines have a future in this world, it will be as converters of XML+HTML into printer-friendly PDFs, which is something ConTeXt seems to be already prepared for.

Gaussler
  • 12,801
  • Comments are not for extended discussion; this conversation has been moved to chat. – Joseph Wright Nov 24 '20 at 15:50
  • 7
    LaTeX will be truly obsolete when it can't accomplish in 1 KB worth of typing what would conservatively take 25 KB in CSS+Javascript+HTML+MathML. Until then... – COTO Nov 26 '20 at 17:03
  • 3
    @COTO Does all of that really matter in 2020? MathML (and I’d say the same about HTML at this point) is a data language that is not meant to be typed directly by humans. Instead, you write your equations in an editor that outputs it. (Yes, I meant what I said about HTML; when BBC journalists write articles, none of them type them directly in HTML. Only the web site managers get their hands dirty with HTML.) – Gaussler Nov 26 '20 at 17:14
  • 7
    It's more a remark that I use HTML and LaTeX for very different things. With my thesis, for example, I'm using TikZ to programmatically generate diagrams well beyond the capabilities of HTML5 canvas; utilities that auto-compile and cross-reference indexes, acronym lists, TOCs, citations, etc.; utilities to auto-format code, algorithms, proofs, etc. exactly the way I want; and hundreds of custom macros so that I can write Since $\myvar = \foo$ ... and have it perfectly formatted, aligned, numbered, and paginated in 20 characters rather than 200. HTML just doesn't handle any of this elegantly. – COTO Nov 26 '20 at 19:02
  • I think the last paragraph is the most important. TeX doesn't excel in it's idiosyncratic syntax but in the quality of output and the programmability, combination for which there is no match. Some XML based format (and I despise XML) paired with a graphical WYSI (almost) WYG which provides a preview for the output in HTML/CSS, PDF, ePub, etc. is likely the way forward. – ljrk Nov 27 '20 at 02:21
  • @ljrk An XML+MathML format would not be meant to be typed by hand, but by an external application. One day, we might have a world where anyone can pick up MS Word and write quality math papers with it. – Gaussler Nov 28 '20 at 14:16
  • 1
    @COTO And I do exactly the same – my package SemanTeX should be proof that we share the same ideology in this matter. But LaTeX is an input language, while XML/HTML+MathML are data languages, not to be typed by hand. One day, we might write articles by typing them in LaTeX or a similar format and then compile them into XML+MathML. – Gaussler Nov 28 '20 at 14:21
  • @Gaussler precisely, however, while I wouldn't like a word processor like interface, but more one of a "semantic text editor". I.e., you fill out "abstract" and mark things as "emphasized" and have a stylesheet which is separate ti define the actual output. I envision something like https://github.com/substance/texture + a JATS-XML ConTeXt wrapper. – ljrk Nov 28 '20 at 18:51
20

As a bystander, I find it interesting to read about the latest developments in Latex News, which comes out twice a year or so. If you've got Texlive installed, you can read it with

texdoc ltnews

It's every issue since 1994, so you'll want to scroll to the bottom to read the latest.

Otherwise, you can find it on the web: https://www.latex-project.org/news/latex2e-news/

dedded
  • 2,236