Skip to content
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

Inaccuracy in the format options available for figures #11375

Open
Upipa opened this issue Nov 12, 2024 · 2 comments
Open

Inaccuracy in the format options available for figures #11375

Upipa opened this issue Nov 12, 2024 · 2 comments
Labels
documentation Doc improvements & quarto-web
Milestone

Comments

@Upipa
Copy link

Upipa commented Nov 12, 2024

What would you like to do?

Report an issue on quarto.org

Description

In the typst options documentation there is a little error i think. In particular about the formats settable to fig-format. In the description it says that can be set even to pdf format but this is not true at the moment. Typst gives me an error if i try pdf figures format in render phase and even typst documentation itself says that is not currently supported.

@Upipa Upipa added the documentation Doc improvements & quarto-web label Nov 12, 2024
@cderv
Copy link
Collaborator

cderv commented Nov 12, 2024

Thanks. This is a limitation in our current way of documenting option in references as we don't have a way to set different description depending on format. So for now the generic one applies to all relevant format

- name: fig-format
schema:
enum: [retina, png, jpeg, svg, pdf]
description: "Default format for figures generated by Matplotlib or R graphics (`retina`, `png`, `jpeg`, `svg`, or `pdf`)"

@mcanouil I think we have other cases of this - I can't find the main epic for this documentation update though. Do you think of one issue ?

Otherwise, we may need to create one to track all updates to do when we'll be able to easily differentiate supported option values depending on context.

@cderv cderv added this to the Future milestone Nov 12, 2024
@mcanouil
Copy link
Collaborator

I don't think an epic was created.
Most of the other issues were mostly "misplaced" options so a bit different from the current issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Doc improvements & quarto-web
Projects
None yet
Development

No branches or pull requests

3 participants