5 ms·
I write LaTeX documents in VSCode because there's a syntax highlight plugin there for it. If I could, I would write in Sublime Text, because it's faster. Howeve
by bovermyer 4y ago
I write LaTeX documents in VSCode because there's a syntax highlight plugin there for it. If I could, I would write in Sublime Text, because it's faster. However, no Sublime Text plugin for LaTeX exists.
Unfortunately, the thing I would like most is a complete replacement for LaTeX that offers these features:
* Text-based - no binary file formats
* A unique DSL for all features
* Complete control over layout and formatting
* Complete control over typography (alignment, leading, kerning, spacing,
document grid alignment, etc.)
* Support for tables, including captions, headers, styling, and the ability to span multiple pages
* Support for images and image formatting (resizing, borders, alignment, margins, etc.)
* Reusable libraries/packages
* A package management system (de-emphasis on this one because good package management systems are... difficult to make)
- lixtra 4y agoAnd how would it be different from (La)TeX?
- xavxav 4y ago> If I could, I would write in Sublime Text, because it's faster. However, no Sublime Text plugin for LaTeX exists. I'm using the Latex and LatexTools packagest, so I don't follow your point. It's pretty good and can also be set up to properly autocomplete `\cite` and `\ref` in multi-file projects quite easily.
- hprotagonist 4y ago> However, no Sublime Text plugin for LaTeX exists. ... anymore. https://github.com/LaTeXing https://github.com/LaTeXing used to exist, but has been dead for about 5 years.
- js8 4y agoWhat would be the advantage of the replacement compared to TeX/LaTeX? All the things you listed are already there. I think if you want an easier DSL (which might be fair), you will have to give up some requirement, such as "complete control over typography and formatting". P.S. I can also recommend Latex and Friends from Marc van Dongen. It is a really friendly cookbook that shows what modern LaTeX can do.
- bradrn 4y ago> What would be the advantage of the replacement compared to TeX/LaTeX? In my experience, LaTeX is pretty clunky, unintegrated and poorly documented. To do any kind of useful typesetting I have to depend on at least five or six third-party packages, and that’s assuming that I don’t need anything ‘fancy’ like nicely formatted references, customised lists or tables, diagrams, hyperlinks or — God forbid — code blocks with syntax highlighting. (Though to be fair that last is a bit difficult in any typesetting software.) If no package exists for something I want to do, then I have to make it myself: a forbidding task, given the complexity of LaTeX’s internals and of the TeX language itself. Besides, TeX is getting old now; it was created when computers had less memory and power, and it shows. A fresher, more coherent typesetting system retaining all the listed features would be clearly better than LaTeX — no mean feat, considering how much better LaTeX is than its main competitors. (Admittedly, other TeX-based systems do solve some of those problems. LuaLaTeX makes some things a bit easier to accomplish, and I hear that ConTeX is somewhat more featureful out-of-the-box, though last I tried it was nearly impossible to get working on Windows and was documented even more poorly than LaTeX. Either way, both of these still inherit the problems inherent in TeX itself.)
- anthk 4y agoOn docs, texlive-full (or similar naming in Guix/OpenBSD/Nix...) will provide the PDF documentation and an intro to LaTeX.
- bradrn 4y agoAs does MiKTeX, which I use. (And it’s all available online in any case.) The problem, as I see it, is more with the documentation of LaTeX and TeX itself: there are a few non-official tutorials and guides, but very little material providing a comprehensive manual of the language and how it works.
- js8 4y agoI think it comes down to whether the complexity of TeX/LaTeX is essential or accidental. My feeling is, more than half of the complexity is essential (typesetting is, like human grammar, full of obscure rules and exceptions), and therefore, it simply doesn't pay off to anyone to rewrite the system (not to mention, the more essential complexity is in a given problem, the more accidental complexity you're going to accrue). There has been unsuccessful attempts to remove the accidental complexity, like Lout. It is very hard. If you limited your requirements to "do not have complete control over typesetting", as I suggested, then lot of essential complexity (of complex typesetting rules) could be converted to accidental complexity (simplified typesetting), and then such a system would be easier to create. Though such a thing probably already exists in systems like LyX, MS Word, LibreOffice. They can do typesetting with vastly simplified rules (especially of equations).
- bradrn 4y agoAnd: * Support for maths Which is as far as I can see the single most unique feature of LaTeX… there exist various tools which cover many of your points, but LaTeX is the only one I know of with high-quality mathematical typesetting. (Actually, even disregarding maths, LaTeX is the only tool I know of which covers most of your points. But I feel that its maths support is an important feature even so.)
- jhanschoo 4y agoMS Word also has great support for mathematical typesetting. And if you restrict yourself to unicode-math for your math symbol font files, for a long time LaTeX packages and TeX compilers for that had bugs whereas MS Word just worked. I'm not too sure about the state of Unicode Math font support today.
- ogogmad 4y agoTexmacs could be that thing, depending on your definition of "text-based": https://www.texmacs.org/tmweb/manual/webman-format.en.html https://www.texmacs.org/tmweb/manual/webman-format.en.html