-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Support --pdf-standard
in tinymist.typstExtraArgs
#1127
Comments
does typst-cli support this |
Can't say for sure. If you are importing Typst 0.12.0 (saw this is the Cargo.toml) you maybe using the latest version of the CLI too? Not sure how the |
This argument is just not suported yet, for now only the following arguments are supported I think: pub struct CompileExtraOpts {
/// The root directory for compilation routine.
pub root_dir: Option<ImmutPath>,
/// Path to entry
pub entry: Option<ImmutPath>,
/// Additional input arguments to compile the entry file.
pub inputs: ImmutDict,
/// Additional font paths.
pub font: CompileFontArgs,
/// Package related arguments.
pub package: CompilePackageArgs,
/// The creation timestamp for various output.
pub creation_timestamp: Option<chrono::DateTime<chrono::Utc>>,
/// Path to certification file
pub cert: Option<ImmutPath>,
} |
Just a side note: we do use typst. But we use it as a library. typst-cli is not directly used. So we may miss updates in it. In this case, we didn't support pdf standard yet. |
Okay, then I will change this ticket to a feature ticket |
tinymist.typstExtraArgs
gives errors--pdf-standard
in tinymist.typstExtraArgs
--pdf-standard
in tinymist.typstExtraArgs
--pdf-standard
in tinymist.typstExtraArgs
Describe the bug
I am following https://github.com/Myriad-Dreamin/tinymist/tree/main/editors/vscode#passing-extra-cli-arguments and I am trying to set in the PDF standard with this
But I get an error as
failed to parse typstExtraArgs: error: unexpected argument '--pdf-standard' found
Package/Software version:
VSCode version(Help -> About):
tinymist extension version:
v0.11.0
. Get it bytinymist --version
in terminal.Logs:
tinymist server log(Output Panel -> tinymist):
tinymist client log(Help -> Toggle Developer Tools -> Console):
The text was updated successfully, but these errors were encountered: