by konschubert · 9y ago · 0 comments
I admit that I never sat down to understand the latex design principles and learn it the hard way. So maybe I'm just uninformed.
But seriously, I just want to write some text with formulas.
The error messages are so useless, usually I'm forced to trace a bug by commenting out sections of text. For even the most trivial features, packages have to be included. Finding the right set of compatible packages is a science on its own. Usually you start with somebody else's document header and try to tweak it to your needs.
And good luck placing an image on the page where you want it.
I assume that if you spend some time understanding the language, it becomes clearer and less of a mess.
But I feel like there is room for a declarative text editor that's a little bit more intuitive.
[0]: https://www.sharelatex.com/blog/2016/06/29/latex-log-hints.h...
[1]: https://www.sharelatex.com/blog/2016/11/01/introducting-late...
First, LaTeX wants to be so much, that it can be difficult to get simple things done.
Second, LaTeX's tooling is abhorrent. The quite useless error messages are just one example. Why, for the sake of whoever, would a user-facing tool require me to compile the source twice to get some references right? There is no valid excuse for that.
The real problem here is that LaTeX is not what a document should be described in. LaTeX is a middleware that should be hidden from the user wherever possible.
There was when TeX was originally written to run on memory constrained mini computers. I agree that there isn’t an excuse today.
I've never really had a problem with the error messages or packages personally.
With HTML, at least I have the inspector to see where bounding boxes are. With latex I'm blind.
Latex the design template system? Yes, just about.
They are to each other as HTML is to CSS - completely complementary.
The main downfall of Latex is confusing the two spaces. The intent is good though.
HTML + CSS is not as cleanly abstracted for pure document markup and layout (as it's a more general solution), but it's getting closer every year.
Contrast this with the supposed HTML and CSS divide which has to later in a scripting language and all the joy they all enrich on each other. Is it any wonder that JSX is taking off?
Now, tooling is behind. But that is because it isn't cool to build up tooling on something that doesn't have the user base of a browser.
By the way, try the option [H] on floats, it forces it to stay in the position it is in the code, instead of letting TeX rearrange it to minimise wasted space.
It doesn't come from the field of economics but there is a very good term for why it's so hard to develop an alternative to complex systems like LaTeX:
The Anna Karenina Principle [0]
The reason nobody will jump on a LaTeX alternative is because everybody who uses LaTeX needs something different from it. In a way, you could say that LaTeX has a 'niche' in the long tail [1] of the distribution. The 'happy families' in this analogy would be everybody who gets by with Microsoft Word.