Replies: 1 comment
-
I would say that this is intended behavior - the |
Beta Was this translation helpful? Give feedback.
0 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
So, I'm trying do define my custom titlepage for pdf output which will contains some custom variables. In order to do so I want to provide my own partial
title.tex
where I redefine the\titlepage
command.During my test, I've experienced that yaml values that were defined either in the document meta block or in the
_quarto.yml
are passed to pandoc for substitution, but values defined in_variables.yml
are not.In the below example I defined three values, one each into
meta
,_quarto.yml
, and_variables.yml
respectively, then I modfied thetitle.tex
partial so that I've hijacked the title, subtitle, and author will display also the value defined in the custom yaml field:title
->_variable.yml
subtitile
->_quarto.yml
author
->meta
Lastly, as a sanity check, I've printed all the value above using the appropriate shortcode, to verify values are rendered by quarto.
the
_variables.yml
looks like:the
_quarto.yml
looks like:the
title-tex
partial look like:the pdf output looks like this:

Only the value in
_variables.yml
is not passed to pandoc. Is this intended behaviour?Beta Was this translation helpful? Give feedback.
All reactions