Typst typesetting command for MoonX.
moonx cli/typst compile input.typ output.pdf
moonx cli/typst compile --pages=1 input.typ output.svg
moonx cli/typst eval '1 + 2'| Option | Description |
|---|---|
| --root DIR | Configures the project root (for absolute paths) |
| --input key=value, -i key=value | Add a string key-value pair visible through sys.inputs |
| --font-path DIR | Adds additional directories that are recursively searched for fonts |
| --ignore-system-fonts | Ensures system fonts won't be searched, unless explicitly included via --font-path |
| --features FEATURES | Enables in-development features that may be changed or removed at any time |
| --format FORMAT, -f FORMAT | The format of the output file, inferred from the extension by default |
| --pages PAGES | Which pages to export. When unspecified, all pages are exported |
| --help | Show help. |
| --version | Show the version. |