Skip to content

How to render Quarto metadata in .tex partials ? #7692

Closed Answered by cderv
martin-g asked this question in Q&A
Discussion options

You must be logged in to vote

What command did you use to render the .tex ? If I use --to tex then Quarto fails with

This can be found in the format value. format: latex which leads to --to latex at command line. --to tex is not valid.

But I actually need to use Quarto metadata in common/title.tex which is included in before-body.tex and there $mycustom$ is not interpolated to value!

I don't understand exactly what you want to do. You may need to learn more Pandoc's Template, and how Partials works (https://pandoc.org/MANUAL.html#partials)

  • What is common/title.tex ? If this is not a Pandoc's template, no templating expansion will happens. And I see \input{common/title} which is not a template call, but a LaTeX in…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@cderv
Comment options

@martin-g
Comment options

@martin-g
Comment options

@cderv
Comment options

Answer selected by martin-g
@martin-g
Comment options

@TomBener
Comment options

@cderv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies themes Related to HTML theming or any other style related issue (like highlight-style)
4 participants