Live data from Hacker News

Typst: An easy to learn alternative for LaTex

github.com

141–150 of 192 posts

Re: Typst: An easy to learn alternative for LaTex

#142

Earlier quoted context omitted.

Typst deals with documents, so if you want to prepare an actual document, with a defined page layout, style, font, etc. typst gives you that. Markdown does not do any of that, it just gives you html. You would want to use typst if you want to create a document and need to control how that document looks from the language itself. Even if you were to render the markdown html to a PDF, markdown itself, or even css doesn…

I've done .doc -> .md -> .tex -> .pdf via pandoc (e.g. to convert a confluence document to a nicely typeset PDF), so I'm not sure there's much difference. Naturally, a format with more metadata loses metadata when converted to one with less (and the reverse, you may need to add metadata in when going up the chain), but unless your document is bound to a specific format (in which case, I'd pick RST for HTML and LaTeX…

Markdown doesn't give you a table of contents, an index, page breaks, control over typesetting, control over table layout, captioned figures, diagramming tools, etc. The difference is about the same magnitude as between Pong and Call of Duty. Yes they're both video games, sometimes one is preferable over the other, but they are not equivalent.

Re: Typst: An easy to learn alternative for LaTex

#143
post #91

Earlier quoted context omitted.

Does the law specify PDF? I would have thought pain text or even HTML would be sufficient.

PDF is less likely to contain executable malicious code than other formats.

More than plain text? I doubt so.

Re: Typst: An easy to learn alternative for LaTex

#145

Earlier quoted context omitted.

So? If I'm a modern user who needs my typesetting system to generate HTML, I'm not going to "forgive" a typesetting system because it's older than the web and use it even though it doesn't do what I need.

I am just trying to understand how you expect a typesetting system to be designed around a paradigm that doesn't exist yet.

GP was complaining that new modern Tex competitors should be designing for this, to correct the fact that Tex doesn’t.

Re: Typst: An easy to learn alternative for LaTex

#146

Typst has been pretty amazing, and at my organization, we’re very happy with it. We needed to generate over 1.5 million PDFs every night and experimented with various solutions—from Puppeteer for HTML to PDF conversions, to pdflatex and lualatex. Typst has been several orders of magnitude faster and has a lighter resource footprint. Also, templating the PDFs in LaTeX wasn’t a pleasant developer experience, but with T…

Never heard that someone is generating PDF documents at that pace. I'm working on a product that is used for mass PDF reporting based on Puppeteer. With nightly jobs, caching, and parallel processing, the performance is ok. https://www.cx-reports.com

I think we don't reach that much quantity, but we do a hefty number. What for? Invoices!

We're having problems because until now PDFs are being generated by the ERP system, and it can't keep pace. I know there's a Dev team working on a microservice for PDF generation, but never thinked about doing it with Typst.

I think I'm going to send them @mr-karan link.

Re: Typst: An easy to learn alternative for LaTex

#147

This looks really great and I'll give it a try. I keep thinking, however: My guessed probability that LaTex is free and maintained in 15 years: 99.9999% My guessed probability that $OTHER_NEW_TOOL is free and maintained in 15 years: 5%

The curse of early-and-good-enough systems. It's the same for bash and a few other things. Not enough pain points to replace them even though there's lots of better alternatives.

Re: Typst: An easy to learn alternative for LaTex

#148

Earlier quoted context omitted.

Never heard that someone is generating PDF documents at that pace. I'm working on a product that is used for mass PDF reporting based on Puppeteer. With nightly jobs, caching, and parallel processing, the performance is ok. https://www.cx-reports.com

I think we don't reach that much quantity, but we do a hefty number. What for? Invoices! We're having problems because until now PDFs are being generated by the ERP system, and it can't keep pace. I know there's a Dev team working on a microservice for PDF generation, but never thinked about doing it with Typst. I think I'm going to send them @mr-karan link.

pdf/ps can easily be created in a way that data for text and qr code fields are easily in plain text. seems like yall focusing too much on the higher level tools instead of what's right in front of you.

Re: Typst: An easy to learn alternative for LaTex

#150
Two things interest me from this project:

More templates than LaTeX. I have made PDF presentations in LaTeX, which look good, but they all look the same. Some variety is good.

Unicode chars support. I prefer to type α instead of \alpha.

That's it, both things together will make a LaTeX killer for me.

Post reply on HN