Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple-bibliographies crashes when given a list of bibliography files #166

Open
jdutant opened this issue Feb 20, 2021 · 0 comments
Open

Comments

@jdutant
Copy link
Contributor

jdutant commented Feb 20, 2021

The filter multiple-bibliographies crashes if a bibliography or bibliography_topic field in the metadata contains a list of filenames instead of a single filename.

Versions:

pandoc 2.11.4
Compiled with pandoc-types 1.22, texmath 0.12.1, skylighting 0.10.2,
citeproc 0.3.0.5, ipynb 0.1.0.1

MWE

Take the filter's sample.md and replace the metadata with:

---
title: Multiple Bibliographies Demo
bibliography_sources: primary.bib
bibliography_recommended_reading:
  - primary.bib
  - secondary.bib
nocite: '@Knu86, @Bae'
---

Run the filter, you get an error:

$ pandoc -s -L multiple-bibliographies.lua sample.md -t html
File primary.bib secondary.bib not found in resource path
Error running filter multiple-bibliographies.lua:
PandocFilterError "pandoc" "Filter returned error status 99"

Found while doing tests for #165.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant