pku-typst / pkuthss-typst

Typst template for dissertations in Peking University (PKU).
MIT License
87 stars 18 forks source link

Wrong Commands Compiling thesis.typ on macOS #15

Closed genuine-ikun closed 8 months ago

genuine-ikun commented 9 months ago

Typst version:

➜  pkuthss-typst-main typst -V
typst 0.10.0

Run the compile command on macOS Sonama

➜  pkuthss-typst-main typst --font-path fonts compile thesis.typ
error: unexpected argument '--font-path' found

  tip: 'fonts --font-path' exists

Usage: typst [OPTIONS] <COMMAND>

For more information, try '--help'.

The command below works for me

typst compile thesis.typ --font-path fonts 

Instead of

typst --font-path fonts compile thesis.typ