![]() |
|
![]() |
| Have you tried reportlab as well? It was a good solution when I had to deal with a similar problem many moons ago. Not quite the same volume you have but still. |
![]() |
| Is it? More so than say .csv file ?
I was under the impressions that pdfs are not that safe. I thought they can do stuff like execute a subset of PostScript and Javascript. |
![]() |
| Typst is missing vital features to produce professional looking documents. Latex and Adobe InDesign use paragraph based algorithms for line breaks and hyphenation (see http://dx.doi.org/10.1002/spe.4380111102 for Latex). That is the main reason why papers written in Word look so amateurish. Proper support for footnotes seems to be also lacking in Typst.
Footnotes might be handled properly in a future version of Typst. Regarding paragraph formatting I'm not so optimistic. I've read the thesis and papers by one of the Typst authors. They either don't seem to be aware of better approaches or they simply don't care about aesthetics. Edit: Another thing that irks me about Typst is that it does not seem to be a purely not-for-profit project. It is tightly entangled with their commercial offering, whatever that might mean for the future of the "free" version. |
![]() |
| A few Markdown documents I've converted to PDFs:
* https://impacts.to/downloads/lowres/impacts.pdf * https://whitemagicsoftware.com/softcover/technical.pdf * https://whitemagicsoftware.com/softcover/jekyll-hyde.pdf Respectfully, keeping presentation logic and content completely separated while having precise control over layout can happen with Markdown, as the example documents demonstrate. The ConTeXt typesetting system makes keeping such separation possible. The deeper issue relates to the software's architecture, which, IMO, systems like Typst, Obsidian, and others fail to generalize broadly enough. Here's KeenWrite's architecture (the "Proposed" row): https://gitlab.com/DaveJarvis/KeenWrite/-/raw/main/docs/imag... Although only Markdown is currently implemented, it's possible to plug other text-based input formats to produce an XHTML document. The instructions for how to typeset XHTML documents are defined by a theme. You can think of a theme as an XML to TeX translation layer. From there, going from XML to TeX is straightforward (when using ConTeXt, at least), allowing full control over the final output format (be it PDF, ePub, and so forth). I am the author of KeenWrite. The following tutorial shows how its themes work: https://www.youtube.com/watch?v=3QpX70O5S30&list=PLB-WIt1cZY... |
![]() |
| It depends on what you are doing with your markdown files. For example, if you are using them as the source for a statically generated website typst won't do much for you. |
![]() |
| I've been doing something similar, and it looks like you've managed to solve a problem I've been unable to: how did you get theorem and section numbering to work right? |
![]() |
| I guess this is a competitor to services such as overleaf [1] and codimd [2]. Although this is yet another syntax, it seems to be supported by pandoc [3]. Lately, I have been using Quarto [4] more and more as I program in R, which also produces very nice outputs, especially HTML. But none of these solve the academic usage problems of (1) producing nice diffs for reviewers, and (2) can easily be shared with, and commented by, non-technical collaborators. Thus, I fear Word will be difficult to replace for many years, at least in my field, for scientific writing
[1] https://github.com/overleaf/overleaf [2] https://github.com/hackmdio/codimd |
![]() |
| I've been using quarto a lot too. I've found the typst pdf travel output to be a bit rougher than latex pdf when using GT. Hopefully something that will get fixed. |
![]() |
| 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. |
![]() |
| True, it can't fall back to LaTeX. It's not there yet, but give them some time and there won't be any cases that Typst can't do that LaTeX can. It's already impressively close if you ask me. |
![]() |
| Can I use this to generate PDF invoices from PHP?
I've been searching for a good solution for the past 15 years. Never been happy with the solutions, and my PDFs are always very ugly. |
![]() |
| From the first example, I don't understand from the syntax why the first formula becomes inlined while the second one is centered on the page. |
![]() |
| I could never get my head around the use case for ConTeXt. It seemed like LaTeX minus defaults that have been defined by typographers and the massive ecosystem. Care to say more? |
![]() |
| This is very interesting, seems to be like LaTex + a whole lot more.
I need to generate udemy-style certificates for a project I am working on. are there any guides on generating PDFs with typst? |
![]() |
| Nowadays, I use Latex mainly for letters using the great KOMA package. I wouldn't mind switching to a markdown based system for that. Would Typst work to produce DIN format letters? |
![]() |
| I’d be happy if this takes off just for the fact that their default typeface (or at least the one shown on the website) is so much better than “Computer Modern”! |
![]() |
| This is the sort of thing that I'm excited about because it solves problems I have, but can't really use for much because I'm not sure if it will exist in a year. |
![]() |
| But Emacs isn't a requirement by half the STEM research community, LaTeX is.
Typst is not replacing LaTeX in general and should stop advertising being a LaTeX replacement. It isn't a competitor. |
We’ve written more about this large-scale PDF generation stack in our blog here: https://zerodha.tech/blog/1-5-million-pdfs-in-25-minutes