Earlier quoted context omitted.
I never understood why markdown authors are so insistent on using a single $ to denote math. Math is outside the commonmark spec so this is entirely up to plugin authors. I am an author of a fairly popular (and early) math plugin for markdown and I resisted (albeit not very hard). I made $$ the default delimiter but I noticed very soon that my users hated it, and finally I gave up and made $ the default delimiter. Wh…
I personally like using code blocks with math as the language Gives you a nice, block level element, and it's easy to reason about
Typst 0.15.0
71–80 of 96 posts
Re: Typst 0.15.0
#72As a non-developer who really only uses computers to write and produce documents, why would I use typst over org-mode or $your_fave_markdown + pandoc?
You can pass a JSON structure to a Typst document and render it however you like. No need for a templating engine or anything like that. Pandoc probably uses latex under the hood, and Typst is order of magnitudes faster. Also, much better error messages. Typst is vastly superior for usage in automation or when developing document classes. If that's not your use case, don't bother.
I use this command to create pdf from my md file.
Downloads/pandoc-3.9/bin/pandoc \
README.md \
-o "my-output.pdf" \
--pdf-engine=typst \
-V papersize=a4 \
-V fontsize=10pt \
-V margin-left=2.5cm \
-V margin-right=2.5cm \
-V margin-top=2.5cm \
-V margin-bottom=2.5cm \
-V title="My title" \
-V lang=de \
--include-in-header=typst-header.typ \
--toc --toc-depth=3 2>&1
That's the typst-header.typ #set figure(placement: none)
#show figure: set block(breakable: true)
#set table(
inset: 5pt,
stroke: 0.5pt + rgb("#cccccc"),
)
#show table: set text(size: 8pt)
#show table.cell: it => {
set text(hyphenate: true)
show raw: set text(size: 6.5pt)
it
}
#set par(justify: true)
#show heading: it => block(sticky: true, it)Re: Typst 0.15.0
#73Typst killed the invoice industry
How so?
The open-source solutions we tried before were annoying (Used LaTeX, wkhtmltopdf, weasyprint in production and evaluated several more). To avoid that pain we asked some commercial PDF generator software for a quote, but their per document pricing was insane.
Re: Typst 0.15.0
#74Yes!
Re: Typst 0.15.0
#75I'm currently working on my fourth book produced using Typst, and it has been nothing but amazing. LLMs struggle with Typst a bit but other than that it has been an absolute joy to work with. I have a pretty good workflow set up for publishing these books, which are mostly collections of student essays. I use Pandoc to convert the students' Word documents into Typst, then unify the formatting, styles, and headers (mo…
Re: Typst 0.15.0
#76Typst killed the invoice industry
Re: Typst 0.15.0
#77As a former software developer, now turned student (studying theology while I train to become a pastor), Typst has been great for writing my dissertation with one notable exception: it really doesn't handle footnotes well. Specifically, see: https://github.com/typst/typst/pull/8147 Discursive footnotes do not really work when including bibliography references. I've also hit other issues, like footnotes appearing a pa…
Re: Typst 0.15.0
#78I'm currently working on my fourth book produced using Typst, and it has been nothing but amazing. LLMs struggle with Typst a bit but other than that it has been an absolute joy to work with. I have a pretty good workflow set up for publishing these books, which are mostly collections of student essays. I use Pandoc to convert the students' Word documents into Typst, then unify the formatting, styles, and headers (mo…
"LLMs struggle with Typst a bit" My experience is the opposite. Especially when instructing the LLM to do very fine grained and detailed adjustments. Works like a charm. Typst is my go-to format if I need more than plain text.
Re: Typst 0.15.0
#79This is awesome! I’ve been excited about the new bundle feature for months. I use typst to format sheet music. Given a folder of PDFs, I currently have a script that generates a booklet of music for each person in the ensemble. Hopefully now I can just run a single typst file which outputs multiple PDFs. Also using it to generate printable programs for concerts: https://concert-programs.projects.jaygoel.com/
Curious as to why typst over something like Lilypond, which is built around music
In my case, I’m not actually arranging or writing music - I’m just taking existing music PDFs, separating pages, and creating new PDFs along with page numbers and table of contents. The use case is to have a nice booklet of music for an upcoming performance.
Re: Typst 0.15.0
#80https://typst.app/docs/reference/foundations/path/
Referencing files somewhere in or below a document's root from a package has always been pretty convoluted. This should simplify setups like mine that depend on local custom packages.