5 ms·
LaTeX needs a modern successor. Yes, the output looks \bf{gorgeous}. But the underlying toolchain and language are past their expiration date. By far. Tasks a
by moe 16y ago
LaTeX needs a modern successor.
Yes, the output looks \bf{gorgeous}. But the underlying toolchain and language are past their expiration date. By far.
Tasks as simple as "let's add an image here" or "let's move this to the left a little" frequently turn into hour-long journeys deep down into the guts of a 30 year old codebase.
There is no reason why a modern tool couldn't use the same algorithms to create equally beautiful output. We're not writing raw postscript to talk to our printers anymore either.
\end{rant}
- justincormack 16y agoLuaTeX looks promising, embedding Lua as a scripting language over the underlying algorithms.
- chalst 16y agoLuatex is the successor implementation to Pdftex, and it works very well: Context Mk.4 is written as a mixture of Tex and Lua, and is a much cleaner code base than Latex2e. Pdftex is currently the standard Tex engine for the two main Tex distributions, Texlive and Miktex.
- pdw 16y agoTeXmacs aims to be such a tool.
- chalst 16y agoI have the impression that Texmacs has about as much momentum behind it as Gnu Hurd.
- larsberg 16y agoPast their expiration date? What about having to do the following every time you add/change a references seems outdated? pdflatex paper && bibtex paper && pdflatex paper && pdflatex paper :-) TBH, though, there's just no comparison for producing nicely-formatted research papers. Especially in that eye-straining, dual-column, 9pt ACM conference format.
- likpok 16y agoYou should use rubber. It will do all the nasty stuff for you, and make the errors slightly less dumb. Admittedly somewhat poorly named for searching for help on it, but it works. https://launchpad.net/rubber https://launchpad.net/rubber
- wgrover 16y agoYes! Here's what I want in a modern successor to LaTeX: - Default output is PDF (DVI is a port on my computer :) ) - Optional DOC/DOCX output (even if it supports just a subset of the program's capabilities) - Bibliography management built-in (no separate ancient BibTeX) - Command-line searching and importing from Pubmed / Google Scholar / etc. built-in - Bibliography styles can be created/edited by normal humans - Syntax closer to Markdown or reStructuredText, to enhance readability of source file (and maybe shrink the learning curve) - Program is smaller than 1.6 GB (the size of the default MacTeX distro). I've played with writing something like this for a while (in Python). The hardest part for me has been dealing with bibliography data - there's always one more weird Pubmed record that breaks my XML parser. Makes me really appreciate Knuth/Lamport/Patashnik and their successors.
- Quiark 16y agoSome answers: - Default output to PDF has been there for years. - The base .tex syntax will probably never change, but there is no reason why some tool/plugin/luatex extension couldn't read something else and convert as necessary. I used Deplate and Pandoc for a while. - AFAIK ConTeXt has some integrated replacement for bibtex I don't think we need a successor to LaTeX. The base is solid and ready to be built on, especially now with a sane programming language in the core of LuaTeX.
- igneous4 16y agoYou might just use Pandoc. It happens to use LaTeX behind the scenes to create pdf's, but there's nothing that says it must do so in the future.
- chalst 16y ago1. Default output is PDF (DVI is a port on my computer :) ) Pdftex (the default Tex engine) supports this. Both Xetex and Luatex do as well, and both of these additionally assume UTF8 as the input encoding and allow you to use True Type and OTF fonts directly. 2. Optional DOC/DOCX output (even if it supports just a subset of the program's capabilities) igneous4 mentioned Pandoc, which supports RTF as an output format, which is as good as doc/docx for importing text with basic formatting into Word. Pandoc also supports Context. If you want to move the other way, there is docx2tex, which is the best Word to Latex converter. 3. Bibliography management built-in (no separate ancient BibTeX) I think there's nothing satisfactory here for Latex. You might like to look at Jabref. With Context, the automatic build process makes the invocation of Bibtex invisible. There are many make-like tools for Latex, none are seamless. 4. Command-line searching and importing from Pubmed / Google Scholar / etc. built-in Again, nothing built-in, but Zotero will do what you want. 5. Bibliography styles can be created/edited by normal humans Again, nothing adequate here. Try looking at Biblatex. I hand/regex edit .bbl files if I have special bib style needs. 6. Syntax closer to Markdown or reStructuredText, to enhance readability of source file (and maybe shrink the learning curve) Tex's markup is actually nice. I often wish I could use Texisms when I am editing Markdown, etc. Pandoc allows you to convert between all of these. 7. Program is smaller than 1.6 GB (the size of the default MacTeX distro). Most of which is fonts. If you have less than voracious font needs, or use TTF/OTF (via. Luatex/Xetex), you can get away with a small fraction of this. Try a more lightweight Texlive installation, and find out what you need. The hardest part for me has been dealing with bibliography data - No surprise. Bibliography management used to be a relative strength of the Tex family, because the competition was so extremely shoddy. Now it is a weakness; Word 2010 with Endnote is actually very nice here. It's a shame that relatively few Latex hackers appreciate how far behind Tex&co have fallen. Makes me really appreciate Knuth/Lamport/Patashnik - Knuth is inspirational, his code keeps on rewarding those who read it. Patashnik doesn't get much love from me: he held so many wrong opinions vehemently.
- chalst 16y agoI prefer Context (built on top of Luatex the same way that Latex 2e is built on top of Tex 3) to Latex, because it allows a much cleaner separation of content from styling, but I think what you say is unfair. Adding images to Latex documents is straightforward using the core libraries graphicx and putting \includegraphics{FILENAME} at the place you want the graphic. Adjusting placement to left, right, overhand, etc., is done using Tex primitives. It's true that using Tex , Latex and the main Latex packages correctly is not straightforward and that until you have mastered them, you can get into difficulties, but that is also true of Word. The difference is that it takes longer learn how to produce any sort of ugly document in Latex than in Word, and longer to produce beautiful documents in Word than in Latex.
- moe 16y agobut I think what you say is unfair Sorry, but I'll stick to my point. We should stop making excuses for software that was great in its time but is simply not adequate anymore by today's standards. Almost nothing is straightforward in LaTex, and images aren't either. Placing an image exactly where you want it can become a serious issue - even more so in documents that change and get reflowed all the time. Yes, LaTex often makes good decisions that require little tweaking. But the moment you disagree with one of its decisions you find yourself in a world of pain.
- tomjen3 16y agoThere is a reason Latex doesn't let you put images where you want them, namely that it means it has to skip ahead and leave a blank area on the paper.
- chalst 16y agoAlmost nothing is straightforward in LaTex, and images aren't either. Almost nothing is straightforward in Word, and images aren't either. Word works very intuitively until you try to achieve fine control of layout. Then if you haven't done things the correct way, where Word's document model is not more intuitive than Latex's, getting the results you want will be painful. It is true that the distance between Word and Latex in terms of suitability for producing high-quality output has narrowed drastically in the time from, say Word 6.0 to Word 2010. But the Tex family is not software that was great in its time. I use both Word and Tex-based technologies most working days, and I massively prefer to the Tex-based technologies in terms of quality output. It is still the case that for obtaining quality proofs from a .doc/.docx file, professionals use external software such as Adobe Indesign. Indeed, there are workflows that take Word documents and convert them to Tex-based representations for typesetting.
- jcw 16y agoMarkdown is a good start, the minimal syntax is nice to look at, and it could be poweful with an inline scripting language to define macros (Ruby, Python, Lua).
- igneous4 16y agoPandoc lets you write in a slightly (and tastefully) enhanced Markdown, but also lets you drop down to write LaTeX macros if you like.
- ramchip 16y agoI think there's been some serious improvement anyway. Many examples on the Internet use outdated libraries and engines, but if you use modern tools like XeTeX and Biblatex, things get better. For example, using a font with the Opentype features in Xetex and specifying another font for Chinese text is very simple, and since you can do everything in UTF8, there's no need to muck around things like inputenc anymore. Of course, there are still some ugly corners, and the underlying code isn't always pretty. Things like Luatex sound quite promising in this regard.