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
1
vote
0 answers

Find a CSL style that shows a particular field?

This question was originally on https://tex.stackexchange.com/questions/688515/how-to-find-a-style-that-displays-an-unusual-text-field/688517?noredirect=1#comment1708279_688517, but since it involves Pandoc and not biblatex, I was advised to ask it…
user2554330
  • 37,248
  • 4
  • 43
  • 90
1
vote
0 answers

Produce Markdown-file with linked citations using pandoc, without divs

Moin, currently i create a Website for our institution using Hugo. In some of the pages and posts i want to cite literature and link the short-reference with the full bibliography entry. The references are taken from a BibTex file. But i'm not…
lukeflo
  • 125
  • 5
1
vote
0 answers

Merge adjacent citations into one using Lua filter

In order to link to the source for every citation, I generally write citation in Markdown like: For example, see…
TomBen
  • 302
  • 3
  • 6
1
vote
1 answer

Having challenges installing pandoc-crossref in windows

I have recently started using r markdown and I am having issues with installing pandoc-crossref in window. I have tried approaching friends on getting the set-up but to no avail. I have tried searching on the web but couldn't find anything useful. I…
wananchi
  • 23
  • 4
1
vote
1 answer

Pandoc Lua filter to replace specific English words to Chinese words in citations

When writing a Chinese paper, both Chinese and English papers could be cited. However, styles are slightly differently. The example is as follows: Cite an English article (Smith et al. 2022), and cite a Chinese article (张三 等 2018). In other words,…
TomBen
  • 302
  • 3
  • 6
1
vote
0 answers

Rmarkdown: Error reading bibliography file, unexpected end of input

I would like to render my rmarkdown file with APA 7ed citation, but I get this error when I try Important note: I have over 100 citations in a bib file following this format: Also, at the start of my rmarkdown file, I have the following…
Jesus
  • 11
  • 1
1
vote
1 answer

Pandoc - problem with citeproc forcing author's name

No matter which CSL I use, Pandoc's citeproc forces the name of the author into the text. Here's my Markdown: --- bibliography: bib.json csl: american-school-of-classical-studies-at-athens ... Computers are complicated…
Terence Eden
  • 14,034
  • 3
  • 48
  • 89
1
vote
1 answer

Pandoc bibliography : why is nocite not working?

I am trying to render a markdown document with Pandoc and leverage its bibliography capabilities. My references are listed in a main.bib file, and citation rendering works flawlessly with --bibliography=main.bib --citeproc and the cited references…
Ombrelin
  • 547
  • 1
  • 8
  • 27
1
vote
0 answers

References not sorted properly by author-year

I'm working on a markdown Rmd document with references in several .bib BibTeX databases. The yaml header includes: --- title: "title" author: "me" date: "`r format(Sys.time(), '%d %B, %Y')`" output: bookdown::word_document2: reference_docx:…
user101089
  • 3,756
  • 1
  • 26
  • 53
1
vote
1 answer

Example for use of `citeproc` in Haskell code needed?

I try to upgrade a program converting blog entries using pandoc from using pandoc-citeproc to the new citeproc. I have not found a simple example for usage of citeproc and have difficulties to use it. Specifically, I do not see how to construct the…
user855443
  • 2,596
  • 3
  • 25
  • 37
1
vote
1 answer

Pandoc-citeproc isn't showing "p. " only the page number

Recently I've discovered the great pandoc-citeproc filter for adding literature sources to markdown documents -- in order to convert them to PDFs with bibliographic references. However, I would prefer to avoid the substitution of "p. ". E.g.: When…
alex
  • 1,103
  • 1
  • 14
  • 25
1
vote
0 answers

Can pandoc generate a bibliography with the references in order of citation?

Pandoc noob here. I am trying to convert a LaTeX file into a Word document for submission to a picky journal. They are requiring that my references appear in the bibliography in the order in which they are cited. This is no problem in LaTeX, but…
1
vote
0 answers

Bibliography causes rmarkdown::render() to fail

trying to render my rmarkdown into a MS Word, if I add a bibliography I get this error: pandoc-citeproc: when expecting a product (:*:), encountered Object instead Error running filter pandoc-citeproc: Filter returned error status 1 Error: pandoc…
Bakaburg
  • 3,165
  • 4
  • 32
  • 64
1
vote
0 answers

Generating headlines before reference types in sorted bibliography (CSL)

Recently I have found a tip that allows for sorting CSL-generated bibliography by reference type in PDF output. In my example, I applied this tip accordingly:
1
vote
1 answer

citations in Pandoc footnotes rendered as numerals

I am getting a weird result when I convert markdown to PDF using Pandoc. This is for academic writing with footnotes generated via citeproc; a bibtex library generated by Zotero; and a Chicago csl file. Most of the footnotes are fine, but sometimes…