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
1 answer

Pandoc conversion from markdown to docx with blockquotes and citations

When I do this, I get a docx where my markdown blockquotes (>) have not been properly converted, but with citation conversion working: pandoc --filter pandoc-citeproc --bibliography ref/my-refs.bib in.md -o out.docx -f markdown When I do this, the…
Simon Lindgren
  • 2,011
  • 12
  • 32
  • 46
1
vote
1 answer

Full author list for first citation in a chapter [apa.csl]

I'm writing my dissertation in R markdown. I am using bibtex, pandoc-citeproc, and apa.csl with bookdown. I have new_session: yes in my _bookdown.yml and compiling primarily to PDF (documentclass:book, classoption: oneside). The system I have is…
1
vote
1 answer

Highlight one specific author when generating references in Pandoc

I am using Pandoc to generate a list of publications for my website. I'm using it solely to generate the html with the publications so that I can then paste the raw html in jekyll. This part works fine. The complications arise when I tty to generate…
TomCho
  • 3,204
  • 6
  • 32
  • 83
1
vote
1 answer

How to add "Forthcoming" to year bibliography field in pandoc/pandoc-citeproc

I'm trying to cite a paper that is forthcoming, and unfortunately if I put year = {Forthcoming} in my BibTeX citation entry, pandoc-citeproc always takes this as n.d. (e.g. "Greig (n.d.)" in footnotes/bibliography entry). Ideally it'd be nice to…
Jonathan
  • 151
  • 1
  • 9
1
vote
1 answer

How to include references and bibliography list using bookdown word_document_2?

I am trying to include bibliographic citations and a list of references in a MS Word file generated with Rmarkdown bookdown. However, I get the following message in the RMarkdown terminal: “pandoc-citeproc: reference Rbase not found”, where Rbase is…
user553417
  • 43
  • 1
  • 5
1
vote
1 answer

markdown and pandoc-citeproc failure with figure references

So I've recently started using pandoc on windows system for linux (WSL) to generate PDFs. I have come across an odd problem where pandoc-citeproc fails to create the proper in-text references for figures, stating instead that pandoc-citeproc:…
SNTag
  • 87
  • 8
1
vote
0 answers

Pandoc cross-ref: adding empty line after last section title

I need to write articles and switch from latex to pandoc (better: I intend to do so). My markdown file looks like this: .... bla bla \noindent \setlength{\parindent}{-0.2in} \setlength{\leftskip}{0.2in} \setlength{\parskip}{8pt} #…
user1052080
  • 430
  • 5
  • 12
1
vote
0 answers

Define citation sorting in pandoc-citeproc

I want to sort my bibliography first by year, then by other fields. If I want to create a tex file I can put something like this in the biblatx options: sorting=ydnt Which sorts by year (descending), name, title. Exactly what I want. But how can I…
TomCho
  • 3,204
  • 6
  • 32
  • 83
1
vote
0 answers

Pandoc, input images and Word Export

I am required to convert a LaTeX file (mypaper.tex) to a DOCX file, for the requirement of a journal. The latex document contains the following: Tables, figures and equations Bibliographic citations (my bibliographic database is titled…
Indian
  • 977
  • 3
  • 12
  • 24
0
votes
0 answers

Pandoc - pagebreak before bibliographu

I'm trying to modify the default latex template so I'd get a newpage / pagebreak before bibliography when generating a pdf from markdown file (with bib file from Zotero and csl for styling). I've been able to tweak the template so I'd get pagebreak…
pj43
  • 31
  • 5
0
votes
0 answers

xml-file of csl-citation style renders line feed character ( ) verbatim using pandoc

i'm preparing a beamer-presentation-template for our institution. We want to use --citeproc and a specific csl style. So far, everything went fine. The file is processed without problems and inline-citations, as well as the bibliography is rendered…
lukeflo
  • 125
  • 5
0
votes
1 answer

Error reading bibtex file using pandoc with cite-proc "unexpected '\''

i have written an article wit Latex and want to submit it to the publisher. Unfortunately, they only accept .odt or .docx files. Therefore, i wanted to convert my file with pandoc, as i've done it multiple times with other documents. I used a bash…
lukeflo
  • 125
  • 5
0
votes
1 answer

Remove Markdown links but keep link text and square brackets for normal citation using Lua filter

I’d like to remove all markdown links but keep the link text and square bracket using Lua filter. For example, the original content is like: [@a-local-file, page 15](x-devonthink-item://742BD8FE-B962-422F-98C1-B1K4DQA5A117?page=15) And I’d like to…
TomBen
  • 302
  • 3
  • 6
0
votes
0 answers

Pandoc Citeproc doesn't work on HTML format

I'm trying to reference cites from the .bib file in the HTML but without success. The function perfectly works for Markdown, so my question is does the citeproc work on other formats except for MD? Here are some examples which I use:
MladenB
  • 71
  • 2
  • 7
0
votes
0 answers

Trying to create rich text link to source citation for inline citation with pandoc citeproc

Trying to create an output that would allow the URL part of a citation to appear as clickable rich text link to source file. So far I have tried to create a custom CSL file that would output as (TITLE, DATE) ([SOURCE LINK](URL)) so that when I run…