Questions tagged [pandoc-citeproc]

Pandoc filter and Haskell library for working with bibliographies. This is deprecated in favour of citeproc since 2020.

The pandoc-citeproc executable can be used as a filter with pandoc to resolve and format citations using a bibliography file and a CSL stylesheet. It can also be used (with --bib2yaml or --bib2json options) to convert a bibliography to a YAML format that can be put directly into a pandoc markdown document or to CSL JSON. Bibliographies can be in any of several formats, but bibtex and biblatex are the best supported. This is deprecated in favour of citeproc since 2020, and no additinal filter is required.

71 questions
3
votes
1 answer

Cite author only in RMarkdown / add possessive 's to in-text citation

I'd like to cite an author in RMarkdown adding a possessive 's to his name. However, I cannot find a way to cite the author without the year of publication or to directly add a possessive 's. It should look like this: In Fenner's (2012) book…
Dominik Vogel
  • 196
  • 13
2
votes
1 answer

Citation-Style-Language (CSL): Missing indentation of second line in docx and odt output

RMarkdown generates a nice bibliography with pandoc (using the citeproc option) via LaTeX, where the second line is aligned to the second field (i.e. after the number of the citation) like in 1. Long title of the first citation However, when…
NicolasBourbaki
  • 853
  • 1
  • 6
  • 19
2
votes
1 answer

csl set text-case to not affect the capitalization?

How to set the text-case on a cs:text to nothing? My usecase: I use pandoc to generate a docx file with this csl and this .bib file. CSL: http://www.zotero.org/styles/ieee Relevant .bib content: @webpage{npzd61zu4xbm0y9b, date = "", title = "Hagers…
Leon Bartz
  • 63
  • 8
2
votes
1 answer

Pandoc: Citing a Full Source

for the purpose of creating a syllabus, I like to know whether it is possible to insert a citation as a full citation. Right now, I have following markdown code: # Session 1 @zhu2015. This converts (pandoc "document.md" -o "document.pdf" --from…
Christopher
  • 2,120
  • 7
  • 31
  • 58
2
votes
1 answer

Citeproc and Pandoc Fignos conflicts with `@` in Pandoc?

I am using the latest version Pandoc to convert MD to LaTex to PDF, with citeproc: true in the Defaults file. Additionally, I am using pandoc-xnos to reference figures. The problem appears to be their similar syntax. Near any @ seems to trigger…
2
votes
1 answer

pandoc citeproc from markdown to markdown but render citations

I want to do the following thing: Take markdown files with citationkeys in them f.i. @AuthorYear run pandoc citeproc on top of it to create markdown files but with the citation replaced by actual text. Example of what I already…
Roel Hogervorst
  • 299
  • 3
  • 13
2
votes
0 answers

vitae package and pandoc reference problem

I am trying to make a CV with vitae package and I find the following example on Github. https://github.com/HanZhang-psych/CV How do I get those .bib files like shown in the repository. If I get them, do I put them locally on my computer or should I…
Jie
  • 33
  • 2
2
votes
1 answer

Not able to compile when specifying CSL in R Markdown

I'm writing an article in R markdown using a citation library generated in Mendeley. My document compiles fine with references when I'm not specifying citation style. bibliography: library.bib When I specify the CSL: bibliography:…
hato
  • 35
  • 4
2
votes
1 answer

pandoc error when attempting to render site

I am trying to render a site using rmarkdown / bookdown on Linux using R (not R Studio, our cluster only has base R). I have been told that pandoc is installed on the cluster and should be working as intended. Indeed, it does appear to be…
siluce
  • 23
  • 2
2
votes
1 answer

Output bibliography with pandoc-citeproc without citing anything

I am using pandoc and pandoc-citeproc to generate a pdf file from a series of markdown files. My references are in sources.bib, my citation format is in apa.csl, my metadata is in default.yaml, a second piece of metadata (containing title, author,…
Ian Pringle
  • 323
  • 1
  • 5
  • 19
2
votes
1 answer

Can't cite all authors in the first citation with R Markdown (output Word)

I'm writing a paper using R Markdown for the first time. Here are my YAML options --- title: "My path to the Nobel" author: "J.E. Alcalá" lang: english bibliography: data_analysis.bib csl: apa.csl output: word_document: reference_docx:…
jealcalat
  • 147
  • 9
2
votes
0 answers

Alphabetically sort special characters in pandoc-citeproc bibliography

I hope I'm not repeating a question, but I've searched high and low and haven't found any answers to something I'm sure other users of pandoc have encountered. (The references to this topic I have found are concerned with pandoc to LaTeX, whereas…
2
votes
0 answers

How to use a different .csl to every chapter in bookdown?

I am writing my dissertation using R Markdown. I have two different citation styles (.csl), one for each chapter. However, I have not found how to use a different citation style for each chapter. Chapter one citation style is csl:…
2
votes
1 answer

Make pandoc link whole citation instead of only the year

I use pandoc-style Markdown with pandoc-citeproc and citations that look like this: ... research and progress [@murray2008open; @piwowar2013data] blah blah ... The result works, but the links this creates in the text only links the year, not the…
mhucka
  • 2,143
  • 26
  • 41
2
votes
1 answer

Bookdown with pandoc-citeproc

I have the latest version of bookdown package and Rstudio, and I'm on Arch Linux. I updated pandoc-citeproc to its latest version and after that I started to receive the following error message: pandoc: Error running filter…