quarto-dev / quarto-dev/quarto-cli

Allow to pass arguments to Typst CLI as it is possible for pdf engine

Open
#13,683 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement typst
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Discussed in https://github.com/orgs/quarto-dev/discussions/13674

With PDF engines, one can use pdf-engine-opts : https://quarto.org/docs/output-formats/pdf-engine.html#quarto-pdf-engine

There is currently no such equivalent to typst.

Only workaround is

  • rendering to .typ
  • and call quarto typst compile on it.

Not great. This is advanced use case, but it seems something that could be useful to some use case.

In a way, this is related to

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing pdf-engine-opts handling and the Typst rendering path, then compare them with the quarto typst compile command mentioned in the issue. Define the supported option shape and verify that configured arguments reach the Typst CLI without requiring an intermediate manual compile.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.