|
I'm trying to control location of refs: |
::: {#refs}
:::I know it's also possible to put that bit of YAML in a separate file instead of the doc header, and pass it in as I'd prefer to avoid both of those options; it would be more user-proof if I were able to put the But: putting it directly into the template the naive way doesn't work; LaTeX complains: and passing it in on the command line ( Is there a way around this, or am I stuck with putting metadata in the header or a separate YAML file? Addendum: I tried converting the YAML snippet to LaTeX and got this: \protect\phantomsection\label{refs}which I tried putting into my template, but this warned: |
Replies: 2 comments 1 reply
|
In any case, you can't put markdown content in a LaTeX template. When you used LaTeX, you get a duplicate With citeproc, the |
|
Anyway, yes, you can do multiline using |
$refs$isn't used as a variable in any of the default templates, as far as I know. Are you using a custom template ?In any case, you can't put markdown content in a LaTeX template.
When you used LaTeX, you get a duplicate
refsbecause pandoc will add therefsDiv automatically if it isn't present in the source document. So you got a duplicate.With citeproc, the
refsidentifier needs to be in the source document; adding it in the template is too late.