markdown-latex-boilerplate icon indicating copy to clipboard operation
markdown-latex-boilerplate copied to clipboard

pandoc citeproc issues

Open mk-uc opened this issue 9 years ago • 9 comments

For some reason, I'm getting an error running make pdf It says:

pandoc-citeproc: Could not find 
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
make: *** [pdf] Error 83

Any idea what's wrong?

mk-uc avatar Dec 09 '15 20:12 mk-uc

Not really sure, maybe you need to upgrade pandoc? What operating system are you using?

davecap avatar Dec 10 '15 00:12 davecap

Running pandoc 1.15.2.1, on Mac OS X 10.11.1. It works fine if I try running pandoc with citeproc on anything else, only here is it giving me a problem for some reason.

mk-uc avatar Dec 10 '15 02:12 mk-uc

It might be due to the config.txt. Can you try changing this line: https://github.com/davecap/markdown-latex-boilerplate/blob/master/config.txt#L6

Remove the ../ so it becomes CSL=elsevier-with-titles Let me know if that works!

davecap avatar Dec 10 '15 15:12 davecap

I've actually already tried that, no luck.

mk-uc avatar Dec 10 '15 16:12 mk-uc

Hmm, not really sure then. Maybe there's an environment variable getting in the way? Have you tried messing with the Makefile itself?

davecap avatar Dec 16 '15 14:12 davecap

Hey guys, I had the same issue.

I think it's just a misspelling error: In the Default Config Settings of Makefile file the variable name for the references is REFERENCES, but when it's actually used later on it becomes simply REFS. i.e. --bibliography=$(REFS)

I got it working by changing either REF to REFERENCES (or viceversa)

Cheers

miccferr avatar Jan 13 '16 13:01 miccferr

I created a PR

miccferr avatar Jan 13 '16 13:01 miccferr

Thanks!!

davecap avatar Jan 13 '16 15:01 davecap

Thank you for sharing your code!

miccferr avatar Jan 13 '16 15:01 miccferr