8 votes
Accepted

citeproc-lua for individual CSL style? Need help on setup

It seems that styles that are not built-in can be referenced by their filename without extension. So copy the file universitatsmedizin-gottingen.csl to the directory with your TeX file, and then you ...
michal.h21's user avatar
8 votes
Accepted

What is valid as a BibLaTeX entry key?

An entry key may contain <, > and / if you use biblatex no matter if you use the legacy BibTeX backend or Biber. So <i>foo</i> is acceptable as part of a entry key. In general, ...
moewe's user avatar
  • 173k
7 votes

pandoc, markdown: create self-contained .bib file from cited references

Recent versions of pandoc allow to do this with a short Lua filter: pandoc --lua-filter extract-bib.lua --to=biblatex paper.Rmd -o paper.bib where paper.Rmd is your Markdown input, and extract-bib....
tarleb's user avatar
  • 695
5 votes
Accepted

Multi-citations with an at sign - Pandoc

The @references are part of pandoc, not latex. pandoc uses semi-colons to separate references. Thus [@someAuthor1; @someAuthor2] Will render as [1, 2] given the appropriate .csl (eg bibliography ...
N. McA.'s user avatar
  • 151
4 votes
Accepted

Merge title and subtitle fields in bibliographic entries

Place <?xml version="1.0" encoding="UTF-8"?> <config> <output_align>true</output_align> <output_fieldcase>lower</output_fieldcase> <sourcemap> <...
moewe's user avatar
  • 173k
4 votes
Accepted

Pandoc command line to make bibliography

After fixing some minor issues in your MWE, the following works: \documentclass[12pt]{article} \usepackage[english,french,german,italian,russian]{babel} \usepackage{csquotes} \usepackage{calc} \...
DG''s user avatar
  • 21.5k
2 votes
Accepted

Pandoc citations in the footnote

As @DG' writes one can load a citation style from a csl-file from the Zotero Style Repository. The code would be like: pandoc -f latex -t docx --bibliography=sample.bib --csl journal-of-linguistics....
לאה פּאַסטעך's user avatar
2 votes

is there a command line (or on-line) conversion tool bibtex to markdown (for large bibtex files)

With pandoc you must specify a csl file (with the option --csl=file.csl) which describe how to format the bibliography. You can find a csl file at the Zotero Style Repository e. g. Association for ...
Corto's user avatar
  • 441
2 votes
Accepted

How to convert a LaTeX document whose bibliography uses more than one database using pandoc with citeproc?

You can add multiple bibliographies with --bibliography: pandoc my-document.tex --filter=pandoc-citeproc --bibliography=library1.bib --bibliography=library2.bib -o my-document.docx Alternatively you ...
DG''s user avatar
  • 21.5k
2 votes
Accepted

How to set language locale for pandoc citeproc in the command line

tl;dr Use -M instead of -V You have to set the language as metadata (not as a variable). Let's take the following minimal example: biblio.bib: @inbook{hitchens, editor={Christopher Hitchens}, ...
DG''s user avatar
  • 21.5k
2 votes

pandoc, markdown: create self-contained .bib file from cited references

Although there doesn't seem to be a direct solution yet you could easily establish a workflow using pandoc. A possible solution would be: Create a tex-file with pandoc with the --biblatex option. Run ...
Denis's user avatar
  • 799
2 votes
Accepted

Pandoc with --citeproc ignores \cite commands

I have asked this question on the pandoc-discuss list, and John MacFarlane confirmed that it was not possible: There isn't really a good way to do this, no. The best ways to achieve something ...
Clément's user avatar
  • 5,439
2 votes
Accepted

Format for targeting Word and LaTeX?

After discussions here and on #latex on Freenode, I've decided to convert the .docx to LaTeX, and then rewrite all my chapters in LaTeX natively (not with the Markdown intermediary). Experimenting ...
Samuel Marks's user avatar
2 votes

Format for targeting Word and LaTeX?

We have two concepts: Word / Libre Office: Picture on screen is supposed to be an accurate preview of printed version or PDF. Sounds consumer friendly, but it isn't, because nearly all of the layout ...
Keks Dose's user avatar
  • 30.7k
2 votes
Accepted

How to handle multiple citations with multiple pages using a bib file?

From the LaTeX side of things the correct way to deal with this is to have only one .bib entry whose pages field contains the complete page range of the article. If you refer to a particular page of ...
moewe's user avatar
  • 173k
2 votes
Accepted

Reference citation in latex block in pandoc

--- format: pdf link-citations: true references: - type: article-journal id: doe author: - family: Doe given: D. D. issued: year: 2011 title: 'Very foo and too munch foo' ...
Fran's user avatar
  • 79.4k
1 vote

Undefined control sequence using citeproc to convert MD to PDF with a template. Works fine without template

ANSWER: Pandocs updated their default template in v3.1.7 which changed how they define the command. Found the tracked changes to default.latex on their github and updated the template. Works again.
airj's user avatar
  • 21
1 vote

citeproc-lua for individual CSL style? Need help on setup

A bug report is always welcome at https://github.com/zepinglee/citeproc-lua/issues. It would be appreciated if you provide the full example that reproduce the errors. From the output log, I can only ...
Zeping Lee's user avatar
1 vote

Pandoc not handling in-text citation with certain CSL file correctly

I can only confirm what you found and the problem lies in the csl file. It is not compatible with pandoc-citeproc (I haven't tested with tex though). The solution is either edit it manually or change ...
lf_araujo's user avatar
  • 801

Only top scored, non community-wiki answers of a minimum length are eligible