From 15a7bb9943d4330eaab7a2418ae9fd61a40b2c49 Mon Sep 17 00:00:00 2001 From: minty_frankie <77310871+mintyfrankie@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:11:14 +0200 Subject: [PATCH] typst: add page (#10497) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/typst.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/common/typst.md diff --git a/pages/common/typst.md b/pages/common/typst.md new file mode 100644 index 000000000..1aa4a6fa4 --- /dev/null +++ b/pages/common/typst.md @@ -0,0 +1,17 @@ +# typst + +> Compile a Typst file to PDF. +> Note: Specifying the output location is optional. +> More information: . + +- List all discoverable fonts in the system and the given directory: + +`typst --font-path {{path/to/fonts_directory}} fonts` + +- Compile a Typst file: + +`typst compile {{path/to/source.typ}} {{path/to/output.pdf}}` + +- Watch a Typst file and recompile on changes: + +`typst watch {{path/to/source.typ}} {{path/to/output.pdf}}`