Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow formatted bibliography to be placed in metadata fields.
This modifies `processCitations` so that pandoc will look not just in the document body but in metadata for a Div with id `refs` in which to place the formatted bibliography. Thus, one can include a metadata field, say `refs`, whose content is an empty div with id `refs`, and the formatted bibliography will be put into this metadata field. It may then be interpolated into a template using the variable `refs`. Closes #7969. Closes #526 by providing a way to interpolate references into a template.
- Loading branch information
Showing
2 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters