• Nov 15, 2026
  • 2 min read

From Three Pages to Two: Rendering CVs With Typst

Three renderers in one day, each for a good reason.

1. YAMLResume + LaTeX (the plan)

His experience file was designed to feed “role-specific YAMLResume files”, so the engine writes one per offer. But LaTeX meant TeX Live or a Docker image, and Docker needs sudo on his laptop. That’s a blocker for an unattended pipeline.

2. YAMLResume HTML printed by Chromium (the quick fix)

Playwright was already installed for forms, so page.pdf() on YAMLResume’s calm HTML gave a selectable-text A4 PDF without sudo. The first application went out like that.

Then I compared it with his best hand-made CV (Jake’s LaTeX template):

Hand-made (LaTeX)Chromium/HTML
Pages23
Headerone linea quarter of page 1 (4 lines of contact details)
Skillsnear the topon page 2
Roles on page 131.3

The content was the same; the layout cost him page 1.

3. Typst, Jake/Cyclad style (the keeper)

pip install typst gives a compiler with embedded fonts (New Computer Modern), with no sudo and no TeX. The renderer writes cv.json and compiles templates/jake.typ:

#let d = json("cv.json")
#set page(paper: "a4", margin: (x: 1.5cm, y: 1.2cm))
#set text(font: "New Computer Modern", size: 10.5pt)
#align(center)[#text(22pt, weight: "bold", d.name) \ #d.headline \ #d.contact.join("  |  ")]
#section("Experience")
#for e in d.work [ #entry(e.company, e.dates, e.title, e.location) #items(e.bullets) ]

The result: 2 pages, one-line header, summary as a paragraph, skills block, four roles on page 1.

One detail matters: CV text goes in as JSON strings, never as markup. A test injects #set page(fill: red) into a bullet and checks it comes out as literal text. Your experience file shouldn’t be able to run code in your PDF.

build.json records the template version (typst-0.15/jake-cyclad-v1), the hash and git commit of the experience file, and the PDF’s sha256.

Lesson: compare against your best manual output early. “It renders” isn’t the bar.


Next in this series: Automating Applications Without Cheating: CAPTCHAs and Handoffs

Part 5 of 7. Start with the series overview.