You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have duplicate citekyes in the bibliography source file, Citeproc issues runtime error:
Module csl Error: Duplicate entry key "texbook" in "examples.bib". on input line 7
stack traceback:
[C]: in function 'error'
...ocal/texlive/2022/texmf-dist/tex/latex/base/ltluatex.lua:110: in field 'module_error'
...ichal/texmf/scripts/citation-style-language/csl-core.lua:21: in function 'csl-core.error'
...ichal/texmf/scripts/citation-style-language/csl-core.lua:115: in upvalue 'read_data_files'
...ichal/texmf/scripts/citation-style-language/csl-core.lua:126: in function 'csl-core.make_citeproc_sys'
...ichal/texmf/scripts/citation-style-language/csl-core.lua:162: in function 'csl-core.init'
/home/michal/texmf/scripts/citation-style-language/csl.lua:34: in function 'csl.init'
[\directlua]:1: in main chunk.
\lua_now:e #1->\__lua_now:n {#1}
l.7 \begin{document}
What is worse, processing of the bibliography and in-text citations fails, nothing is produced. I've found this thanks to this question on TeX.sx.
The package follows BibTeX which raises an error in case of repeated keys. Since it's run inside LuaTeX, the error blocks the TeX interpreter and causes empty output.
The BibTeX error message:
Repeated entry---line 8 of file examples.bib
: @book{texbook
: ,
I'm skipping whatever remains of this entry
When you have duplicate citekyes in the bibliography source file, Citeproc issues runtime error:
What is worse, processing of the bibliography and in-text citations fails, nothing is produced. I've found this thanks to this question on TeX.sx.
Here is a MWE:
examples.bib
:The text was updated successfully, but these errors were encountered: