Closed avouacr closed 11 months ago
I believe this is because Typst does not expect true or false here, but a string on which numbering to use
So the schema is ok on this https://github.com/quarto-dev/quarto-cli/blob/8b9adcd845bc0aee127d42693bce74a8b54a3d12/src/resources/schema/document-numbering.yml#L51-L55
We haven't build the reference pages yet so you can't find on the website (we do it only for the stable release)
You can find it in typst doc guide in our website though: https://quarto.org/docs/prerelease/1.4/typst.html#typst-format
Maybe you are looking for number-sections: true
which will apply a default numbering.
Example of section-numbering
---
title: "My Document"
format:
typst:
toc: true
section-numbering: 1.A.a
columns: 2
---
# Title
## Sub header
### Sub Sub header
## Sub header
### Sub Sub header
### Sub Sub header
# Title
## Sub header
### Sub Sub header
## Sub header
### Sub Sub header
### Sub Sub header
The documentation you linked shows that section-numbering is not a boolean:
The validation feature is working as intended here.
yes but the example if not correct in fact... 🤦♂️
Thanks @avouacr ! We'll update the documentation
... big yikes on our part. Thanks for catching that, @cderv!!
No worries, thank's for your amazing work on quarto
Bug description
Hi, I know this is still an experimental feature, but the options provided to customize
Typst
output are not working properly. It seems that their schema is ill-defined. As a result, the rendering fails due to failed validation of the YAML front matter.Steps to reproduce
Rendering the example code provided in the documentation reproduces the problem :
Expected behavior
The output pdf should be properly rendered.
Actual behavior
The rendering fails with the following error message :
Your environment
Quarto check output