Sharing a simple fix for path issues with pandoc-citeproc

paul.gowder's Avatar


29 May, 2020 01:10 AM

I'm not sure if this is the right place for this, but there are a bunch of problems that people have run into with using pandoc with pandoc-citeproc as a processor, mostly related to getting the paths right when there's a relative URL in the command line or in document metadata. e.g. here and here.

I've banged together a quick preprocessor script in python that fixes this by swapping in the correct absolute path given a pandoc markdown document with a bibliography in the metadata, just in case it's useful to anyone! On GitHub here just in case it's useful to anyone..

  1. Support Staff 1 Posted by Brett on 29 May, 2020 01:52 AM

    Brett's Avatar

    Thanks so much for sharing this!

    - Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac