zepinglee / citeproc-lua

A Lua implementation of the Citation Style Language (CSL)
MIT License
62 stars 7 forks source link

running citeproc does not produce a bbl file #16

Closed denismaier closed 1 year ago

denismaier commented 2 years ago

Running citeproc on the aux file does not produce a bbl file here. I don't get an error message, so I cannot really say more. All I can say is that the sequence mentioned in the readme doesn't do anything for me.

pdflatex test.tex
pdflatex test.aux
pdflatex test.tex

Using lualatex works though.

zepinglee commented 2 years ago

The second command is supposed to be citeproc test.aux. Unfortunately the TeX Live team mistakenly uses citeproc/citeproc.lua as the executable script rather than latex/citeproc. The former is expected to be used as a Lua library (local citeproc = require("citeproc")). I'll contact them to correct this.

zepinglee commented 1 year ago

The TeX Live team has fixed the binary name.

Note that I've also renamed the executable from citeproc to citeproc-lua in order to avoid conflicts with citeproc implementations in other languages. Now the full compiling procedure for pdflatex or xelatex is:

pdflatex test.tex
citeproc-lua test.aux
pdflatex test.tex