Earlier quoted context omitted.
E.g. Pandoc, universal tool…
You will be surprised to learn that pandoc uses latex for generating the PDF. It's barely hidden: https://www.pandoc.org/demo/example33/2.4-creating-a-pdf.htm...
Typst: A Possible LaTeX Replacement
291–300 of 390 posts
Re: Typst: A Possible LaTeX Replacement
#292Earlier quoted context omitted.
> I've been using LaTeX for over ten years and I still wouldn't say that I "know" TeX in any meaningful way. I was not only productive but proficient in Typst in a day or two. That's an interesting insight. Do you have an idea why this is? Do you have a CS background?
From experience, you don’t need to not have a CS background to find TeX/LaTeX difficult or obscure to customize or extend. Here’s a challenge to try (I hacked together something similar that only works in specific cases): write an environment where you get N columns in portrait page mode, with a vertical ruler, say, 12pt to the left of each column; respecting different paper sizes. The amount of \makeatother, and wha…
I’m not a TeX lover, but this part is just a snipe. I’m guessing you know and this was a joke. Apologies that it annoyed me enough to write this comment.
If you care enough to read this, you could learn the purpose of \makeatother [1]. It’s not tricky.
[1]: https://tex.stackexchange.com/questions/8351/what-do-makeatl...
Re: Typst: A Possible LaTeX Replacement
#293Re: Typst: A Possible LaTeX Replacement
#294Earlier quoted context omitted.
> 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. You can define macros anywhere you want, but you can only load packages in the preamble (before \begin{document}). I'm not familiar with Typst, but I would assume that it also requires you to load packages at the top of the document (or at least that…
I am 95% sure that you can import wherever you want. I remember doing it with Tables i defined in an extra document and then imported only where i actually needed them.
The GP specifically mentions packages, so means \usepackage.
Re: Typst: A Possible LaTeX Replacement
#295Earlier quoted context omitted.
> It would be nice if Typst could be a LaTeX replacement that makes actually layout and designing the document approachable Those goals fall way out of the scope of LaTeX (and of course of Typst). If you want to have more control and power into a document's design, there's ConTeXt - as a graphic designer I just love it and can't imagine myself replacing it with LaTeX or Typst. But as you said, if you want to concentr…
I have hear of ConTeXt, but never tried it. I originally wanted to write my resume in LaTeX, but I quickly realized that my choice was either to use a template and have a resume that looks like everyone else's, or dig deeply into the arcane working of TeX. In the end I had my sister do it in InDesign, but now she is the only one who can update it. I would love to remake it in something I can actually edit myself, whe…
Re: Typst: A Possible LaTeX Replacement
#296But, especially, it would be good to see whether it improves on LaTeX's handling of tabulars (tables) and floats (figures), somethingh that is kind of an esoteric art right now. I wish Typst the best.
Re: Typst: A Possible LaTeX Replacement
#297The programming parts are very tempting, but I find the philosophy of the math mode input simplification to be questionable. E.g. automatically generating fractions from "/", or removing parentheses depending on whether they are redundant with other grouping. Those are all choices that I want explicit control over, and the most readable choice depends strongly on the details of the expressions. After some digging it'…
BTW, I notice that both of your complaints will be addressed in the next version:
https://github.com/typst/typst/pull/6672
https://github.com/typst/typst/pull/6442 , see also https://laurmaedje.github.io/posts/math-mode-problem/
Re: Typst: A Possible LaTeX Replacement
#298I have written a couple of lecture notes in LaTeX and I wrote my master's thesis (mathematics) in LaTeX as well[1]. It's actually a fine language if all you want to do is write and rely on other people's templates. But actually writing my own package or understand how the underlying systems work has always seemed like black magic where individual packages have to avoid stepping on each other's toes, or add specific w…
You footnote really describes why latex was not fine. I recently wrote a thesis in typst. I have written other thesis in latex. In latex i actually wrote in markdown and compiled to latex. I don't need that for typst. If typst can avoid enshittifaction over the next years, then I will stay with them.
Sure, but if you want to just _write_ then latex is just fine. I don’t understand why you had to write in markdown?
Re: Typst: A Possible LaTeX Replacement
#299It's night and day. I'm a PhD student currently writing my thesis in Typst. On paper this is an absurdly risky decision: it's a new technology without a huge user-base, it's not totally stable yet, etc. But I tried Typst and I had no choice. It was obviously the right thing to do, even though I'm going to have to make a pixel-perfect clone of my university's LaTeX template. I've been using LaTeX for over ten years an…
> I've been using LaTeX for over ten years and I still wouldn't say that I "know" TeX in any meaningful way. I was not only productive but proficient in Typst in a day or two. That's an interesting insight. Do you have an idea why this is? Do you have a CS background?