3 ms·
For my own work, I already find Typst superior to TeX and I use it in some of my PDF creation pipelines. One can debate the differences of math syntax, of cours
by red_admiral 2y ago
For my own work, I already find Typst superior to TeX and I use it in some of my PDF creation pipelines. One can debate the differences of math syntax, of course.
For documents whose source is likely to be shared or handed over to other people, writing in TeX rather than expecting them to learn a new language is still good citizenship.
The big differences for me are:
(1) TeX has the feeling of separating the author and editor, I get to write my stuff and someone else (Elsevier etc.) handles the template and layout. This is a good thing when the two are actually different people, but when I'm asked to do both ("write this up in the style of that") there's a whole lot of Yak Shaving to get it right. For Typst it's much more intuitive to say here's the page layout, this is the font to use. (yes XeTeX exists, but that has other problems over here)
(2) TeX ends up in dependency hell sooner or later where package X is incompatible with Y when you've also loaded Z. There's a lot in the comprehensive LaTeX symbol list where you just want to load some symbol to draw a triangle and you end up fighting the Type1/Type3 fonts thing and getting stmaryrd to play nice. I still don't have a clean solution for making some basic shapes (circle, triangles pointing in several directions, square, diamond) that come in outline and filled versions and take up space exactly from the baseline to the cap line (I could probably live with just the x-height instead).
- Hendrikto 2y agoYou could define these basic shapes as TikZ pictures. If you reuse them often, you could abstract them into some package.
- Syzygies 2y ago"For documents whose source is likely to be shared or handed over to other pe ople, writing in TeX rather than expecting them to learn a new language is still good citizenship." Conversely, my entire interest in Typst is have an input format more efficiently read by AI. We've passed the inflection point where one can responsibly only write for humans. Typst is Markdown-adjacent, while PreTeXT is XML-adjacent. More characters but even easier for AI to process. I'd switch for the HTML and ePub support, but no syntax coloring for code blocks?
- patrick451 2y agoCalling writing for just humans irresponsible is quite the claim. Personally, I'd rather AI did not injest anything I write whatsoever. Not that there's much I can do about it.
- Syzygies 2y agoDo you have a car? Do you really want to wait for humans to reprogram air traffic control software unassisted, with no formal correctness guarantees? Your attitude is fine if you plan to walk everywhere.