jgm / pandoc-citeproc

Library and executable for using citeproc with pandoc
BSD 3-Clause "New" or "Revised" License
291 stars 61 forks source link

Need for producing a .tex file embedding the standard \cite latex citation calls #467

Closed manumart closed 3 years ago

manumart commented 3 years ago

A scientific journal asks me to produce a latex .tex file along with a .bib file, with citations in text the usual "latex" way. Hence I would need citeproc to simply replace the @jons_smith_1995 like citations with standard latex call (\cite{jons_smith_1995} for instance), and stop before inserting in the text the "final" citation (Jons et al. 1995). Is there a way to do this with pandoc-citeproc?

Thank you in advance, Manuel

denismaier commented 3 years ago

Sure, just don't use pandoc-citeproc. The --biblatex or --natbib parameters should do what you need: https://pandoc.org/MANUAL.html#citation-rendering

(By the way, you should switch to the new citeproc anyway; use --citeproc instead of -F pandoc-citeproc)