Skip to content

add an option to processCitations to put the processed references into the metadata under a key to inserted in a template later #7969

@andrewufrank

Description

@andrewufrank

Describe your proposed improvement and the problem it solves.
I use processCitations from Pandoc.Text.Citeproc from a Haskell program to produce HTML code, which is later merged with a template (using renderTemplate).

It seems unfortunate, that the references produced with processCitations are immediately inserted in the text - with limited choice of the header, header style etc. It would be useful if the rendered references were available in the meta data (under a key). This would allow then to insert the references in the template using the key under a heading set in the template.

Describe alternatives you've considered.
It would be possible to achieve this using citeproc, but breaking the processCitations in an option which returns the processed citations separately and the 'full service' solution currently given would allow more flexibility in the inclusion of the processed references.

Thank you for considering!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions