Replies: 1 comment 2 replies
-
Well See https://quarto.org/docs/projects/profiles.html#default-profile. The YAML profile activated overwrites what is defined in the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm a bit confused with project profiles: in my use-case I want to switch between:
book.cls
class, in the default profileAlon.cls
class, to produce the pdf that will go to print, using a_quarto-alon.yml
profileI thought the following would do the trick:
_quarto.yml
: (default profile)_quarto-alon.yml
:To my surprise, the pdf produced in
_CRC
withquarto render --profile alon
actually used_tpl.tex
and therefore ignored all the pdf settings in_quarto-alon.yml
.I thought the merging of profiles between the default
_quarto.yml
and_quarto-alon.yml
would result in the pdf format being overwritten by the one supplied in the profile, rather than the two pdf format options being merged (which I assume is what happens here).Is this the intended behaviour, and if so, should I adjust my strategy and have the default profile not define any pdf format output? (but that's a bit annoying, since I don't want/need to produce anything else when running
--profile alon
).Beta Was this translation helpful? Give feedback.
All reactions