Typst typesetting command for MoonX.
moonx cli/typst@0.1.0 COMMAND [OPTIONS]| Option | Description |
|---|---|
| compile / c | Compile a document to a file or stdout. |
| watch / w | Recompile when document dependencies change. |
| eval EXPR / query INPUT SELECTOR | Evaluate code / query document elements. |
| fonts / info / init TEMPLATE | List fonts / show configuration / use a local template. |
| --format=FORMAT | Select an export or evaluation format. |
| --root=DIR / --input KEY=VALUE | Set the project root / document inputs. |
| --font-path=DIR / --ignore-system-fonts / --ignore-embedded-fonts | Configure font discovery. |
| --package-path=DIR / --package-cache-path=DIR | Configure local package locations. |
| --pages=RANGES / --ppi=N | Select pages / set PNG resolution. |
| --creation-timestamp=SECONDS | Fix document creation time. |
| --deps=PATH / --deps-format=FORMAT | Write document dependencies. |
| --in=INPUT / --pretty / --field=NAME / --one | Configure evaluation context or query output. |
| --no-serve / --no-fullscreen | Disable the watch server / terminal clearing. |
| --help / --version | Show help / package version. |
moonx cli/typst@0.1.0 compile input.typ output.pdf
moonx cli/typst@0.1.0 compile --ignore-system-fonts --pages=1 input.typ output.svg
moonx cli/typst@0.1.0 watch input.typ output.pdf
moonx cli/typst@0.1.0 eval '1 + 2'