Replies: 6 comments 3 replies
-
Did you try to use an actual shortcode, especially the meta shortcode? 🤔 I do not know if it works but has definitely more chances than without, i.e., |
Beta Was this translation helpful? Give feedback.
-
I did, actually... Passing |
Beta Was this translation helpful? Give feedback.
-
Yes ---sorry. There was a typo in the |
Beta Was this translation helpful? Give feedback.
-
I've pulled from here on Sunday, I think, so that should be OK... Not quite sure what's happening... |
Beta Was this translation helpful? Give feedback.
-
For reference here's the full example I'm using
|
Beta Was this translation helpful? Give feedback.
-
This is really weird... I've copied/pasted your code (removing the Thank you --- I'm still nonethewiser, but I'll take the win... :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
As usual, I may be missing the obvious trick, but is it possible to pass an element of the metadata or
params
to theinclude-in-header
block, when rendering to pdf?As a simple example, I'd like to do the following
and my intention would be to write the variable
params.level
onto the header (as defined byfancyhdr
). The problem is that doing the above simply renders the{{< params.level >}}
verbatim. I also know you could probably use different, morekoma
-friendly packages to write the header, but everything else actually works... So I don't think it's a specificfancyhdr
issue.Should I define a
LaTeX
variable something like\def\level{...}
? But then again, what should I feed thetex
definition that would be read from theinclude-in-header
block?Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions