Files
typst-templates/.cursor/skills/tinymist/SKILL.md

1022 B

name, description
name description
tinymist Compile and check Typst documents in this project with tinymist, not typst-cli. Use when compiling .typ files, checking Typst errors, or validating report output.

Use Tinymist for Typst

Always use tinymist, never typst CLI. Do not download or install typst.

Binary

/home/diaco/.local/bin/tinymist

Fallback: tinymist if on PATH.

Compile

From project root:

tinymist compile --font-path template_files main.typ main.pdf

Other entry points:

tinymist compile --font-path template_files main.travel-report-example.typ
tinymist compile --font-path template_files main.product-test-example.typ

Always pass --font-path template_files (fonts: IRNazanin, IRZar).

Check errors

Use tinymist compile — errors print to stderr. For a quick pass/fail:

tinymist test main.typ

Do not

  • Run typst compile
  • Download typst from GitHub releases
  • Install typst via cargo unless the user explicitly asks