Closed mladenjovanovic closed 1 year ago
@mladenjovanovic document class scrbook
doesn't work with number-sections: false
. It seems to be something just for scrartcl
class:
documentclass: scrartcl
number-sections: false
If you need the scrbook
class (for other features), then you'll need to figure out how to turn off section numbering for that class. https://ctan.org/pkg/scrbook?lang=en
This is actually why I don't like setting the latex class and package options with the YAML variables. It can be really hard to figure out example what latex command is being issued. For number-sections: false
, you'd have to dig into the pandoc templates that Quarto is using to figure it out. But clearly it is a command that only works correctly for scrartcl
and I wouldn't assume that it would work correctly for any other latex document class.
To do:
number-sections: false
is only used for scrartcl
in templatesThanks, @eeholmes. We who do not know latex prefer the YML, but I guess you are completely correct. Thanks for answering my issue. Keep up the great work
When using academic-static template, with "number-sections: false" in the YML, equations numbering still have section number beforehand (i.e., 0.1, 0.2, 0.3) instead of integer (i.e., 1, 2, 3). This is not the case for figures. I have attached the files to reproduce the results. files.zip