In thirty years LaTEX will still be open source and probably will be maintained.
Typst appears to be a mix of open source and closed source; the general model here tends to be neglecting the open source part and implementing critical features in the closed source portion. Which is to say, it's unlikely to live beyond the company itself.
cAtte_ · 10m ago
you are wrong. typst's lead dev has stated that an important goal is to have the CLI (which is open source) and web app behave identically, even refusing to implement such a basic feature as PDF embedding because, due to technical reasons, it is currently incompatible with this goal. [1]
typst, the project, is not by any means a "mix" of open and closed, even if typst, the company, is. indeed, the most thorough LSP implementation available (tinymist) is not only open source but a community project. for another funny example see typstify, a paid typst editor not affiliated with the company. [2]
I disagree. The web app editor is closed source, but much of what it provides is open source so editing is a similar (and imo better) experience locally. The typst compiler and LSP and everything you need to use it is open source.
Imo the situation is more like if overleaf were also the people who made the LaTeX project originally.
I think the only possible issue with the typst org dying (assuming after the full 1.0 version so it's mostly maintenance) is that packages are automatically downloaded from the typst site, but an open repo can trivially be made considering that the set of packages used is just from a open source git repo and the closed source site just hosts tar.gz files of the folders in the repo. Not a big deal I think.
dleslie · 1h ago
They have a deep incentive to drive users to subscribe, and that's directly at odds with keeping all of the document rendering open source. It makes a lot of sense for them to provide document features that are only available to subscribers.
the-wumpus · 1h ago
They have some incentive to drive users to subscribe, but they have other forms of income, and I think if they ever implemented even a single feature of actual rendering that was closed source their community would riot and we'd get a community managed fork (probably by the guy who does the language server...).
The only way they can continue to gain traction is if they never ever in any way lock people to the web app. Documents must be portable, it's part of why someone would want typst anyways.
I do not see a future where this happens, and if it does it will be because the typst org has changed hands and is also no longer particularly relevant to the future of typst the language.
ummonk · 28m ago
Is there really a community of volunteer contributors that could fork it if that happened? Typically with a corporate-backed project like this, the corporate development tends to crowd out the formation of a volunteer community of contributors that would be able to take over development.
eviks · 13m ago
> neglecting the open source part
So it's no different than fully open sourced projects.
agnishom · 2h ago
> implementing critical features in the closed source portion
Like which critical features, for example?
dleslie · 2h ago
For now, that's the entire collaboration component. It would make sense to build a portion of document rendering in that context which won't be found in the open source portions. A value-add to convince users to subscribe.
moelf · 1h ago
>For now, that's the entire collaboration component.
And LaTeX has this for free? It's separated concerns, I think the analogy is Overleaf and LaTeX but just happened to be made by the same group of folks, it doesn't have to go down the monetization-at-the-cost-of-your-user route.
kyawzazaw · 29m ago
i mean that's what overleaf does with latex too, so i don't see the difference
shermantanktop · 5h ago
Why do CS doctoral candidates have such a fascination with typesetting? I mean, be into whatever you’re into, I guess.
But as soon as someone starts talking about LaTEX and how they spent months on their macros, I think “another hapless victim has fallen into LaTEX’s trap.” It’s like an ant lion that feeds on procrastinating students.
RheingoldRiver · 4h ago
I was a math major in undergrad, we care about typesetting so much because you really do not want to be stuck handwriting everything, but it's not easy to be faster typing than you are with handwriting when you're writing out rows and rows of equations. (Actually physics was generally a lot harder for me to keep up with while typing than math was.)
And when your life is revolving around classes or your thesis, the #1 most important thing to you in the world is how easily you can transfer your ideas to paper/digital format. It makes a lot of sense that people care a lot about the quality of their typesetting engine and exchange macro tips with each other (I got a lot of helpful advice from friends, and my default latex header was about 50% my own stuff and 50% copied from friends in my same major)
duped · 4m ago
On a total tangent, I found out that my grandfather's university digitized their entire library a few years ago including his masters' thesis from 1948. Back then it was written with a typewriter and by hand for everything else.
I bet he could have done something more advanced if he had modern computers, but looking at it 75 years later and seeing his handwriting on the page was moving more than the content itself.
wenc · 5h ago
It's because LaTeX gives us a sense of legitimacy. (it's also why people go overboard with math notation in LaTeX documents, even when prose is more appropriate).
It produces documents that look like those produced by professors, and luminaries in the field. If you write equations in Word Equation Editor, your work just doesn't look very serious.
It's the same joy I felt when I laser-printed my first newsletter designed in Aldus PageMaker. I was only in my teens but I felt like a "professional".
pdpi · 4h ago
> If you write equations in Word Equation Editor, your work just doesn't look very serious.
Haven't tried it in a while, but, last I checked, Word Equation Editor output didn't look serious because it looked janky and look like it wasn't really done in a "professional" tool. Part of that is a self-fulfilling prophecy of course, LaTeX output looks right in part because it's what people have been reading for decades, but TeX's formulas just look plain good.
fluidcruft · 3h ago
I don't know if this is still the case or not but equations in Word can be upgraded to MathType. IIRC the Word equations were a basic version of MathType (i.e. developed by the same people). MathType included latex syntax and much better layout and formatting. It was the only way to stay sane when working on journal articles with collaborators who gave less than zero interest in latex (i.e. physicians).
com2kid · 3h ago
The equation editor in Word straight up supports LaTeX now days. It also supports UnicodeMath, which is an actual standard and a pretty cool one at that. Sadly it has almost no adoption outside of Word.
Jap2-0 · 3h ago
Yet Word is leagues ahead of Google docs... (shudders)
int_19h · 57m ago
I remember when I submitted a paper written in LaTeX to my math prof in college, alone in the class (nobody even mentioned it to us so it wasn't exactly surprising, but I was one of those guys running Gentoo as their desktop back then so...).
She not only instantly recognized it, but, judging by the look and the platitudes she gave me on the spot, it probably earned me an extra point on the overall grade.
When in Rome...
Waterluvian · 3h ago
I did this once in undergrad. Used Word to make my term paper two columns and all formatted like a journal article. Felt cool. Felt legitimate. But I then felt kinda embarrassed and never really shared it with anyone.
agnishom · 2h ago
> If you write equations in Word Equation Editor
The experience is also awful. It's much better to write \in or \frac{}{} rather than to go to a dropdown menu and figure out which button to click.
TimorousBestie · 4h ago
Most universities don’t formally train their STEM students in technical writing. At the graduate level, one is basically at the mercy of one’s advisor’s taste, for better or (usually) for worse.
Having tutored CS undergrads on writing, the lack of training (or care, or perceived relevance) was painfully obvious. Many were semi-literate wrt to English prose.
bjourne · 3h ago
That may be true in US universities, but in Europe students have to write technical reports in almost every course.
Sharlin · 2h ago
That’s a pretty sweeping generalization. In the European university that I went to, CS students definitely didn’t have to write anything longer than long-form exam questions until the bachelor’s thesis.
senkora · 4h ago
There’s always the WordTex template if you want to create documents that look like LaTeX output from within Word: https://youtu.be/jlX_pThh7z8
B1FF_PSUVM · 2h ago
> If you write equations in Word Equation Editor, your work just doesn't look very serious.
Sez you. MS Word 4.0 for Mac was perfectly alright, putting in less elbow grease than fiddling with LaTex.
And you could get a PDF out of it, via the PostScript print driver.
Never liked those spindly CM Tex fonts, anyway.
api · 4h ago
Given that LLMs can or soon will be able to turn markdown or word into LaTeX this filter won’t last long.
It’s a dumb filter anyway.
roshdodd · 3h ago
A small, but important aspect of typesetting/WYSIWYM is the ability to break down a large document (like a thesis) into discrete sub-components. You could work on each section of your document in an individual .tex file and include it later in your top-level .tex file. This setup works well with VCS like git.
Another ergonomic benefit is scripting. For example, if I'm running a series of scripts to generate figures/plots, LaTeX will pick up on the new files (if the filename is unmodified) and update those figures after recompiling. This is preferable to scrolling through a large document in MS Word and attempting to update each figure individually.
As the size and figure count of your document increases, the ergonomics in MS Word degrade. The initial setup effort in LaTeX becomes minimal as this cost is "amortized" over the document.
gwervc · 2h ago
> The initial setup effort in LaTeX becomes minimal as this cost is "amortized" over the document.
I'm still sour about the 3 days it took me to have something usable for my thesis, and I was starting from an existing template. And it's still not exactly how I want it to be; I gave up on addressing a bug in the reference list.
aeroevan · 1h ago
My school just had an official cls file, so my initial setup was just to download the template. So if that's where you're coming from (the journals I submitted to also had official templates), it's really minimal setup.
vkazanov · 1h ago
I don't know about now but in 2000s anything even remotely math-related was PURE PAIN in Word-likes.
In my master's there were like 30 pages of formulas, all interdependent. Typing/retyping these would take forever.
Also, something as simple as having per-chapter files or working with an acceptable editor also helps.
nxpnsv · 13m ago
Well during 5 years of undergrad reports and papers, then 5 years of PhD thesis papers, you do tend to hoard some useful snippets, it is more of a byproduct than a fixation... at least for me.
porcoda · 4h ago
Not all of us fell into that trap! My dissertation was written almost entirely using a default document class and a handful of packages, and only towards the end did I apply the university document style to come into compliance. I had more than enough to do on the subject of the PhD and didn’t have the patience to burn time on typesetting or fiddling with macros.
I’ve found in the decades since then that my most productive co-authors have been the ones who don’t think about typesetting and just use the basics. The ones who obsess over things like tikz or fancy macros for things like source layout and such: they get annoying fast.
generationP · 3h ago
Tikz is misplaced in this list; it is how you make any kind of vector drawings in LaTeX. It's not the only way, but perhaps the best documented and most expressive one. If you have any such drawings in your work, you won't get around putting some effort into it. Not comparable with boxed theorems or fancy headings.
thomasfedb · 5h ago
I wrote my joint med-CS honours (1 year research thing we have in Aus) thesis in Word. My med supervisor was happy with it. CS supervised insisted I reformat it in LaTeX as he couldn't stand the typesetting.
Honestly I don't disagree with him, it looked far better in 'TeX. But that's probably a learnt preference.
In essence, it's culture.
nextos · 5h ago
LaTeX typesetting is a solved problem. Memoir or Classic Thesis, paired with microtype, provide outstanding results and you need to spend zero time on tweaking stuff.
Typst is interesting, but it doesn't yet support all microtypography features provided by microtype. IMHO, those make a big difference.
catgary · 3h ago
I’m going to have to disagree with you there. The compile times are long, the error messages are worse than useless, and tikz diagrams are almost always unreadable messes.
Large swathes of mathematics, computer science, and physics involve notations and diagrams that are genuinely hard to typeset, and incredibly repetitive and hard to read if you don’t make heavy use of the macro system. Integrating some actual programming features could be a game changer.
nextos · 3h ago
> Integrating some actual programming features could be a game changer.
LuaTeX already lets you embed Lua code and it is really good.
However, I do agree some usability improvements are needed.
__float · 4h ago
What in microtype makes "a big difference"? I don't recall using it (my LaTeX years are long behind me), but all of the examples on https://www.khirevich.com/latex/microtype/ seem incredibly minor. I don't think I'd notice any of them as the reader.
nextos · 3h ago
It will tweak spacing, kerning, margin protrusion, and font size to improve readability avoid big word gaps and excessive end-of-line hyphenation.
It is what sets professional typography apart. Only Adobe InDesign provides a comparable implementation, tweaking all those details.
From watching people write their thesis in both latex and word, I'd say if anything it is the other way around. The people who write their thesis in word (or another wysiwyg editor) spend more time on their layout than the people writing in latex. Worse, they spend the time while writing, while latex allows for separation of tasks, which allows people to get into the flow much more easily.
Sure, theoretically you can only concentrate on writing with word and ignore layout. In practice in takes a lot of discipline so instead you see people moving figures around putting spaces or returns to move a heading where they want to etc.. In particular as a way to procrastinate from actual writing.
thesuperbigfrog · 3h ago
>> Why do CS doctoral candidates have such a fascination with typesetting?
Probably because Donald Knuth created TeX and Leslie Lamport created LaTeX.
Two of the greatest minds in Computer Science created the tools and used them to write papers and articles that are beautiful.
Elegant ideas presented beautifully make reading and writing papers a nicer experience.
jwr · 2h ago
Donald Knuth. Please.
thesuperbigfrog · 2h ago
Corrected. Thank you.
Autocorrect incorrected it for me.
unbelievr · 4h ago
Here it's typical that a thesis will be printed as a book, and it's that book that will be evaluated. For PhDs, there's a doctoral defence in front of a committee, peers and other interested parties and they're all given the book.
Usually the process for ordering books is that you send them a PDF with embedded fonts inside it, and it's made at the university's printing house. They will handle distribution etc. So you really, really want it to look right at the first go.
There's been some progress the past few years now where you get to preview the book somewhat, but one surefire way to get it right is to use something like LaTeX. It used to be one of few WYSIWYG solutions out there. And it used to be really hard to do certain required things in e.g. Word. For instance skipping some page numbering and doing others in roman numerals etc.
yencabulator · 3h ago
WYSIWYG means what you're editing looks like the end result; LaTex and Typst are at the opposite end of the scale, being languages that compile into layout. No, a preview window does not count as WYSIWYG.
generationP · 3h ago
I guess monks were procrastinating likewise when they illuminated their manuscripts.
blindstitch · 4h ago
The typesetting is finished whenever you want it to be. I spend most of my time thinking about the content.
Swizec · 5h ago
> Why do CS doctoral candidates have such a fascination with typesetting?
Same reason wantrepreneurs have a fascination with adding dark mode to their CSS. It feels productive while you avoid the real work.
efitz · 3h ago
I have often thought that LaTEX' distinctive font and formatting is either a virtue signal or an in-group signal.
nailer · 5h ago
I find it odd too. The fascination with typesetting limits the paper’s usability on narrower devices which seems a very strange position for engineers.
wyager · 4h ago
> Why do CS doctoral candidates have such a fascination with typesetting?
Why does anyone care about typesetting? Probably because they spend a lot of time working with text and have therefore developed a level of taste.
Just because the bottom 80% of consumers have zero taste and will accept any slop you give them doesn't mean there isn't value in doing something only appreciated by the top 20%. In any field, not just typesetting. Most people have ~no refined endogenous preferences for food, art, music, etc.
shermantanktop · 3h ago
I wonder if any doctoral defense has hinged on how refined the typesetting was. Probably. It’s the sort of ritual humiliation that academia specializes in.
smaudet · 3h ago
I'm not sure that it is as much about ritual humiliation as much as that, well, you are supposed to be at some sort of summit, so you must have refined your process.
A mountain hiker can wear whatever, but above a certain altitude something must be true of them (fit, trained well, holding various gear, has supplies, or is in a plane/heli and probably even better trained/equipped/fit).
I would hope that typesetting is just a qualia of an ordered mind not a goal of it.
You can choose to feel "humiliated", but the truth should be closer to that you may simply be inadequate in that regard.
I.e. it is not that using LaTeX (or even Typst) makes you a better person, just that certain types of people will tend to use tools, like mountain climbers likely use carabiners.
WhyNotHugo · 5h ago
Typst looks really promising, especially due to the fact that it had common templates (like the IEEE one) which produce content identical to LaTeX.
My biggest gripe with latex is the tooling. During my last paper, I ended up using a makefile which would usually work. When it didn’t work, running it twice would fix the issue. In the rarest cases, I had to run `git clean -xdf` and the next run would work.
I still have no idea what was going on, and most makefiles out there seem to be obscenely complex and simply parse the output and run the same commands again if a certain set of errors occurred.
shusaku · 5h ago
The definition of insanity is doing the same thing twice and expecting different results.
By coincidence, this is the basic way to compile latex.
tom_ · 3h ago
My makefiles ran it 4 times, i think. I still preferred it to Word.
pcfwik · 5h ago
Absolutely not a perfect solution, and maybe you're already using it within your Makefiles, but for anyone who doesn't yet know about it there's Latexmk[1] which is supposed to automate all of this hassle. I think at least on Debian it's included with texlive-full. In addition it has some nice flags like `-outdir` which lets you send all the crazy LaTeX intermediate build/aux files to a separate directory that's easy to gitignore.
LaTeX needs several passes to compile because it was designed with minicomputers of the 80s in mind, i.e. tiny memory constraints.
Latexmk is one way to address this problem. A good IDE like AUCTeX can also figure out how many times the compiler should be invoked.
Good IDEs will also provide other invaluable assistance, like SyncTeX (jumping from source to exact point at PDF, and back).
jeffparsons · 5h ago
I think I used to understand this, but it's been a long time since I had to write any serious LaTeX, so I don't anymore. I found this snippet in my personal _quick-build-latex_ script from over a decade ago:
if [ -z "$(find . -name "*.bib" -print0)" ]; then
# Just two runs, to cover TOC building, etc.
pdflatex -interaction=nonstopmode "$SOURCE_FILE" && \
pdflatex -interaction=nonstopmode "$SOURCE_FILE"
else
pdflatex -interaction=nonstopmode "$SOURCE_FILE" && \
bibtex "$SOURCE_FILE" && \
pdflatex -interaction=nonstopmode "$SOURCE_FILE" && \
pdflatex -interaction=nonstopmode "$SOURCE_FILE"
fi
So I guess if you're using bibtex, then you need to run it three times, but otherwise only twice?
This is to say... I'm glad those days are gone.
Evidlo · 1h ago
Just use Tectonic nowadays for compiling LaTeX source. It automatically handles these cases of compiling multiple times.
Syzygies · 48m ago
AI is the primary audience for our writing, and the primary reason to reconsider our choice of markup format. It's all about semantic compression: Typst source, markdown, and asciidoc are far more concise than LaTeX source.
I'm observing, not here to convince anyone. The last six months of my life have been turned upside down, trying to discover the right touch for working with AI on topological research and code. It's hard to find good advice. Like surfing, the hardest part is all these people on the beach whining how the waves are kind of rough.
AI can actually read SVG math diagrams better than most people. AI doesn't like reading LaTeX source any more than I do.
I get the journal argument, but really? Some thawed-out-of-a-glacier journal editors still insist on two column formats, as if anyone still prints to paper. I'm old enough to not care. I'm thinking of publishing my work as a silent animation, and only later reluctantly releasing my AI prompts in the form of Typst documentation for the code.
nxpnsv · 11m ago
Printing is still not uncommon in professional scientific environments. When you actually have to read a paper, it turns out that actual paper is quite convenient.
gumbojuice · 1h ago
I'm sticking with LaTeX, not as a fetish, but because journal/conferences still do not accept e.g. typst. Will they ever do? I don't know, depends on their willingness to integrate it into their toolchains I guess?
TimorousBestie · 5h ago
I’m gradually moving my work over to Typst and it’s been a breath of fresh air. Compiles very quickly.
Perhaps the hardest part has been relearning the syntax for math notation; Typst has some interesting opinions in this space.
wenc · 5h ago
Typst looks good, but I'm actually going back to LaTeX but paired with Claude Code in VS Code.
I took a hiatus from LaTeX (got my PhD more than a decade ago). I used to know TikZ commands by heart, and I used to write sophisticated preambles (lots of \newcommand). I still remember LaTeX math notation (it's in my muscle memory, and it's used everywhere including in Markdown), but I'd forgotten all the other stuff.
Claude Code, amazingly, knows all that other stuff. I just tell it what I want and it gets 95% of the way there in 1-2 shots.
Not only that, it can figure out the error messages. The biggest pain in the neck with LaTeX is figuring out what went wrong. With Claude, that's not such a big issue.
TimorousBestie · 4h ago
Claude and the like are a huge problem for new languages that want to do new things. It was bad enough when a LaTeX replacement had to compete with forty-ish years of package development time. Now they also have to compete with the millions of lines of existing code LLMs have hoovered up.
coliveira · 3h ago
Which is good, because we don't want to deal with inferior solutions to typesetting that pop up every few years.
smaudet · 3h ago
Great for code re-use but I agree, terrible for anything new.
nomel · 5h ago
mitex is an option [1]. There's no way I could learn another notation, at this point.
I'll only say that learning typst is easier than learning LaTeX.
It also has first class support for unicode (as does LaTeX via some packages) which if combined with a suitable keyboard layout makes both writing and reading math source code infinitely more pleasant :)
No comments yet
commandersaki · 5h ago
In case anyone hasn't seen some typst source and renders, here's a few documents I whipped up:
First is based on Todd C. Miller's Latex Resume Template:
Typist will probably be dead or acquihired in a few years.
Latex will be around for decades.
vessenes · 4h ago
I was on the typst train, particularly because its layout engine has some additional vertical control for long documents that latex lacks. However, just about when I was looking at moving over, LLM coding became good or at least good enough, and one area the current crop is bad at is doing layout in anything but latex. Not that they are good at latex, but they are terrible, terrible, terrible at typst. Really bad. Maybe in another year or six months!
the-wumpus · 2h ago
I understand why people like using LLMs for coding, saves them having to think, but it is deeply frustrating to see it being such a crutch that some people cannot use new tools without it.
I suppose the issue is not new, many people didn't want to use new lanuages before because they couldn't copy snippets from the internet, but it was frustrating then too.
dkga · 4h ago
Well, they are good in markdown and rust. Perhaps feeding some Typst documentation overview into the prompt could solve it?
freehorse · 2h ago
What deters me from Typst is that latex math syntax is nowadays ubiquitous. You write $x^2=1$ and it renders in many places. Learning a new syntax for math expressions is simply not in my interests.
the-wumpus · 2h ago
To be fair $x^2=1$ literally works in typst.
pityJuke · 5h ago
Glad to hear Typst has people doing serious work with it.
I’ve been able to avoid LaTeX. At uni, I went for org-mode -> LaTeX, which was OK except when my .emacs file was filling up with LaTeX stuff to make random stuff work. To be honest, that means I probably can’t even compile it again if I wanted to.
Typst has been awesome (always ran into LaTeX just being horribly inconsistent when layout stuff) when I’ve used it. Hope it continues.
shrinks99 · 4h ago
Very cool! I ran into the multiple bibliography issue when attempting to typeset my grandmother's PHD thesis which I was able to rescue from the 5.25" floppies it was originally stored on. I was planning on waiting until they solved this officially to resume that side project, but might give Alexandria a shot!
agnishom · 2h ago
Congratulations to the author.
I have to agree that Typst source generally looks a lot less uglier than LaTeX. I considered writing stuff in Typst many times, but I couldn't master the courage to do so.
tiagod · 5h ago
I've used Typst to generate reports in multiple languages and it works pretty well for this! I just pass typst JSON with the report data and use it from there.
dkga · 4h ago
Nice debrief. I think tough some of the downsides the author mentions can be addressed relatively easily with quarto, which has embraces Typst since its early days as I recall. Especially the bibliography issue.
irundebian · 3h ago
It can be hard to write macros with state in typst.
rossant · 5h ago
Great work. Screenshots would be nice.
octernion · 5h ago
i switched all of our pdf generation to typst - fantastic software. love how efficient it is; it makes previewing trivial and iteration very fast.
BiteCode_dev · 5h ago
Pro tips: type long content unformatted, or barely formatted, then ask an LLM to format it using your markup of choice, then clean up the thing it got wrong.
They are very decent at inferring the context of stuff and will mark code, maths, titles so on farely decently. This lets you focus on the work of making it looks nice.
RestartKernel · 5h ago
I'm always worried about LLMs unintentionally affecting the actual content, so the extra effort of carefully reviewing the diff just isn't worth it. Markdown + PanDoc is more sensible to me if your document is simple enough.
dkga · 4h ago
Well you can always diff the document. If it's not too large, then manually inspect it. If too long, then pipe the diff into the clipboard and send it to another LLM to summarise the changes.
aziis98 · 5h ago
I successfully converted a typst report to md/mdx last week using this technique. For complex layout primitives I just told the llm to write a comment with a warning todo of the missing part it wasn't able to convert
andrepd · 5h ago
Jesus
Svoka · 5h ago
I'm quite glad some alternatives are popping up. Using LaTeX feels like piece of 80s tech to be honest. It is obviously fine and super powerful, but, like vim-style fine. There got to be more contemporary alternatives that status quo.
Not everyone is into nostalgia. I don't try to take away LaTeX or vim from anyone, it just not for everyone.
commandersaki · 4h ago
These are some notes I wrote when I started out with typst when comparing with LaTeX:
1. It doesn't generate 5 bloody files when compiling.
2. Compiling is instant.
3. Diagnostics are way easier to understand (sort of like Rust compiler suggestion style).
4. List items can be either - item1 - item2, etc. or [item1], [item2]. The latter is way better because you can use anchoring to match on the braces (like "%" in vim), which means navigating long item entries is much easier.
5. In latex you have the \document{...} where you can't specify macros so they need to be at the top, in Typst you can specify the macros close to where you need them.
6. It's easier to version control and diff, especially if you use semantic line breaks.
7. Changing page layout, margins, spacing between things, etc., footers with page counters, etc. just seems way easier to do.
Al-Khwarizmi · 5h ago
It's not even fine. It's old and it shows also in the functionality, and I say this as a rather heavy LaTeX user. For example, Unicode support is atrocious. A few years ago I had to include some Hebrew and Russian words in a document that was otherwise in Latin alphabet, and it was hell.
I'm not a vim user but my understanding is that it has native Unicode support. Software with old-school UI but adapted to current needs (or where needs just didn't change) is fine, but it's not the case of LaTeX.
JadeNB · 5h ago
XeTeX handles Unicode fine, but that's definitely one area where TeX shows its age and its extensibility didn't, I think, allow Lamport to make a real difference.
Al-Khwarizmi · 5h ago
I have heard about it, but it isn't viable for me to switch to it because most academic journals and conferences have templates incompatible with XeTeX, or directly ask for the sources and compile them with pdflatex.
This is the same reason why it isn't viable for me to switch to typst either, by the way. I hope it gains popularity and ends up as a standard displacing (or along with) pdflatex.
JadeNB · 5h ago
I appreciate your postscript. I don't use TeX or vim out of nostalgia; I didn't discover TeX until I was a senior in undergrad, and I think I didn't discover vim until after I finished my Ph.D. I use vim because it seems best for its tasks, given the way I think (though maybe I think that way because I'm old). I use TeX because I write math for a living and have invested a huge amount of time using it, so that it's become intuitive to me even though I know it wouldn't be for a newcomer, and I can't be bothered to break long-established habits until I know an alternative will be established everywhere TeX is.
andrepd · 5h ago
Well yeah but the point is that unlike other pieces of 70s tech, LaTeX has no suitable alternative in its class (at least until now :p), meaning a FOSS software to produce high quality typesetting with an emphasis on maths.
Typst appears to be a mix of open source and closed source; the general model here tends to be neglecting the open source part and implementing critical features in the closed source portion. Which is to say, it's unlikely to live beyond the company itself.
typst, the project, is not by any means a "mix" of open and closed, even if typst, the company, is. indeed, the most thorough LSP implementation available (tinymist) is not only open source but a community project. for another funny example see typstify, a paid typst editor not affiliated with the company. [2]
[1]: https://github.com/typst/typst/issues/145#issuecomment-17531...
[2]: https://typstify.com/purchase/
Imo the situation is more like if overleaf were also the people who made the LaTeX project originally.
I think the only possible issue with the typst org dying (assuming after the full 1.0 version so it's mostly maintenance) is that packages are automatically downloaded from the typst site, but an open repo can trivially be made considering that the set of packages used is just from a open source git repo and the closed source site just hosts tar.gz files of the folders in the repo. Not a big deal I think.
The only way they can continue to gain traction is if they never ever in any way lock people to the web app. Documents must be portable, it's part of why someone would want typst anyways.
I do not see a future where this happens, and if it does it will be because the typst org has changed hands and is also no longer particularly relevant to the future of typst the language.
So it's no different than fully open sourced projects.
Like which critical features, for example?
And LaTeX has this for free? It's separated concerns, I think the analogy is Overleaf and LaTeX but just happened to be made by the same group of folks, it doesn't have to go down the monetization-at-the-cost-of-your-user route.
But as soon as someone starts talking about LaTEX and how they spent months on their macros, I think “another hapless victim has fallen into LaTEX’s trap.” It’s like an ant lion that feeds on procrastinating students.
And when your life is revolving around classes or your thesis, the #1 most important thing to you in the world is how easily you can transfer your ideas to paper/digital format. It makes a lot of sense that people care a lot about the quality of their typesetting engine and exchange macro tips with each other (I got a lot of helpful advice from friends, and my default latex header was about 50% my own stuff and 50% copied from friends in my same major)
I bet he could have done something more advanced if he had modern computers, but looking at it 75 years later and seeing his handwriting on the page was moving more than the content itself.
It produces documents that look like those produced by professors, and luminaries in the field. If you write equations in Word Equation Editor, your work just doesn't look very serious.
It's the same joy I felt when I laser-printed my first newsletter designed in Aldus PageMaker. I was only in my teens but I felt like a "professional".
Haven't tried it in a while, but, last I checked, Word Equation Editor output didn't look serious because it looked janky and look like it wasn't really done in a "professional" tool. Part of that is a self-fulfilling prophecy of course, LaTeX output looks right in part because it's what people have been reading for decades, but TeX's formulas just look plain good.
She not only instantly recognized it, but, judging by the look and the platitudes she gave me on the spot, it probably earned me an extra point on the overall grade.
When in Rome...
The experience is also awful. It's much better to write \in or \frac{}{} rather than to go to a dropdown menu and figure out which button to click.
Sez you. MS Word 4.0 for Mac was perfectly alright, putting in less elbow grease than fiddling with LaTex.
And you could get a PDF out of it, via the PostScript print driver.
Never liked those spindly CM Tex fonts, anyway.
It’s a dumb filter anyway.
Another ergonomic benefit is scripting. For example, if I'm running a series of scripts to generate figures/plots, LaTeX will pick up on the new files (if the filename is unmodified) and update those figures after recompiling. This is preferable to scrolling through a large document in MS Word and attempting to update each figure individually.
As the size and figure count of your document increases, the ergonomics in MS Word degrade. The initial setup effort in LaTeX becomes minimal as this cost is "amortized" over the document.
I'm still sour about the 3 days it took me to have something usable for my thesis, and I was starting from an existing template. And it's still not exactly how I want it to be; I gave up on addressing a bug in the reference list.
In my master's there were like 30 pages of formulas, all interdependent. Typing/retyping these would take forever.
Also, something as simple as having per-chapter files or working with an acceptable editor also helps.
I’ve found in the decades since then that my most productive co-authors have been the ones who don’t think about typesetting and just use the basics. The ones who obsess over things like tikz or fancy macros for things like source layout and such: they get annoying fast.
Honestly I don't disagree with him, it looked far better in 'TeX. But that's probably a learnt preference.
In essence, it's culture.
Typst is interesting, but it doesn't yet support all microtypography features provided by microtype. IMHO, those make a big difference.
Large swathes of mathematics, computer science, and physics involve notations and diagrams that are genuinely hard to typeset, and incredibly repetitive and hard to read if you don’t make heavy use of the macro system. Integrating some actual programming features could be a game changer.
LuaTeX already lets you embed Lua code and it is really good.
However, I do agree some usability improvements are needed.
It is what sets professional typography apart. Only Adobe InDesign provides a comparable implementation, tweaking all those details.
See https://en.wikipedia.org/wiki/Hz-program for a better explanation and an example.
IMHO, the difference is obvious and not minor. Without microtypography texts look ugly: https://upload.wikimedia.org/wikipedia/commons/0/03/Hz_Progr...
Sure, theoretically you can only concentrate on writing with word and ignore layout. In practice in takes a lot of discipline so instead you see people moving figures around putting spaces or returns to move a heading where they want to etc.. In particular as a way to procrastinate from actual writing.
Probably because Donald Knuth created TeX and Leslie Lamport created LaTeX.
Two of the greatest minds in Computer Science created the tools and used them to write papers and articles that are beautiful.
Elegant ideas presented beautifully make reading and writing papers a nicer experience.
Autocorrect incorrected it for me.
Usually the process for ordering books is that you send them a PDF with embedded fonts inside it, and it's made at the university's printing house. They will handle distribution etc. So you really, really want it to look right at the first go.
There's been some progress the past few years now where you get to preview the book somewhat, but one surefire way to get it right is to use something like LaTeX. It used to be one of few WYSIWYG solutions out there. And it used to be really hard to do certain required things in e.g. Word. For instance skipping some page numbering and doing others in roman numerals etc.
Same reason wantrepreneurs have a fascination with adding dark mode to their CSS. It feels productive while you avoid the real work.
Why does anyone care about typesetting? Probably because they spend a lot of time working with text and have therefore developed a level of taste.
Just because the bottom 80% of consumers have zero taste and will accept any slop you give them doesn't mean there isn't value in doing something only appreciated by the top 20%. In any field, not just typesetting. Most people have ~no refined endogenous preferences for food, art, music, etc.
A mountain hiker can wear whatever, but above a certain altitude something must be true of them (fit, trained well, holding various gear, has supplies, or is in a plane/heli and probably even better trained/equipped/fit).
I would hope that typesetting is just a qualia of an ordered mind not a goal of it.
You can choose to feel "humiliated", but the truth should be closer to that you may simply be inadequate in that regard.
I.e. it is not that using LaTeX (or even Typst) makes you a better person, just that certain types of people will tend to use tools, like mountain climbers likely use carabiners.
My biggest gripe with latex is the tooling. During my last paper, I ended up using a makefile which would usually work. When it didn’t work, running it twice would fix the issue. In the rarest cases, I had to run `git clean -xdf` and the next run would work.
I still have no idea what was going on, and most makefiles out there seem to be obscenely complex and simply parse the output and run the same commands again if a certain set of errors occurred.
By coincidence, this is the basic way to compile latex.
https://mgeier.github.io/latexmk.html#running-latexmk
Latexmk is one way to address this problem. A good IDE like AUCTeX can also figure out how many times the compiler should be invoked.
Good IDEs will also provide other invaluable assistance, like SyncTeX (jumping from source to exact point at PDF, and back).
This is to say... I'm glad those days are gone.
I'm observing, not here to convince anyone. The last six months of my life have been turned upside down, trying to discover the right touch for working with AI on topological research and code. It's hard to find good advice. Like surfing, the hardest part is all these people on the beach whining how the waves are kind of rough.
AI can actually read SVG math diagrams better than most people. AI doesn't like reading LaTeX source any more than I do.
I get the journal argument, but really? Some thawed-out-of-a-glacier journal editors still insist on two column formats, as if anyone still prints to paper. I'm old enough to not care. I'm thinking of publishing my work as a silent animation, and only later reluctantly releasing my AI prompts in the form of Typst documentation for the code.
Perhaps the hardest part has been relearning the syntax for math notation; Typst has some interesting opinions in this space.
I took a hiatus from LaTeX (got my PhD more than a decade ago). I used to know TikZ commands by heart, and I used to write sophisticated preambles (lots of \newcommand). I still remember LaTeX math notation (it's in my muscle memory, and it's used everywhere including in Markdown), but I'd forgotten all the other stuff.
Claude Code, amazingly, knows all that other stuff. I just tell it what I want and it gets 95% of the way there in 1-2 shots.
Not only that, it can figure out the error messages. The biggest pain in the neck with LaTeX is figuring out what went wrong. With Claude, that's not such a big issue.
[1] https://typst.app/universe/package/mitex/
It also has first class support for unicode (as does LaTeX via some packages) which if combined with a suitable keyboard layout makes both writing and reading math source code infinitely more pleasant :)
No comments yet
First is based on Todd C. Miller's Latex Resume Template:
- https://typst.app/project/rDUHMUg5vxl4jQ5q2grGPY
Second is a Enduring Power of Attorney:
- https://typst.app/project/rs9ZgGLhgM7iPvFs7PQv5O
Third a will:
- https://typst.app/project/r45dVk6MpLjsoXMvxkTxsE
Latex will be around for decades.
I suppose the issue is not new, many people didn't want to use new lanuages before because they couldn't copy snippets from the internet, but it was frustrating then too.
I’ve been able to avoid LaTeX. At uni, I went for org-mode -> LaTeX, which was OK except when my .emacs file was filling up with LaTeX stuff to make random stuff work. To be honest, that means I probably can’t even compile it again if I wanted to.
Typst has been awesome (always ran into LaTeX just being horribly inconsistent when layout stuff) when I’ve used it. Hope it continues.
I have to agree that Typst source generally looks a lot less uglier than LaTeX. I considered writing stuff in Typst many times, but I couldn't master the courage to do so.
They are very decent at inferring the context of stuff and will mark code, maths, titles so on farely decently. This lets you focus on the work of making it looks nice.
Not everyone is into nostalgia. I don't try to take away LaTeX or vim from anyone, it just not for everyone.
1. It doesn't generate 5 bloody files when compiling.
2. Compiling is instant.
3. Diagnostics are way easier to understand (sort of like Rust compiler suggestion style).
4. List items can be either - item1 - item2, etc. or [item1], [item2]. The latter is way better because you can use anchoring to match on the braces (like "%" in vim), which means navigating long item entries is much easier.
5. In latex you have the \document{...} where you can't specify macros so they need to be at the top, in Typst you can specify the macros close to where you need them.
6. It's easier to version control and diff, especially if you use semantic line breaks.
7. Changing page layout, margins, spacing between things, etc., footers with page counters, etc. just seems way easier to do.
I'm not a vim user but my understanding is that it has native Unicode support. Software with old-school UI but adapted to current needs (or where needs just didn't change) is fine, but it's not the case of LaTeX.
This is the same reason why it isn't viable for me to switch to typst either, by the way. I hope it gains popularity and ends up as a standard displacing (or along with) pdflatex.