What characters are valid in a biblatex entry key?
I'm asking because Zotero will export entry keys with <i>foo</i>
in them, and pandoc-citeproc doesn't like that. But I don't know whether Zotero is too permissive, or pandoc-citeproc is too strict.
This is the error that pandoc-citeproc generates with an entry key like that:
pandoc-citeproc: "stdin" (line 10918, column 2):
unexpected "A"
expecting "c", "C", "p", "P", "s" or "S"
CallStack (from HasCallStack):
error, called at src/Text/CSL/Input/Bibtex.hs:113:32 in pandoc-citeproc-0.10.4-BdOyQb33rzG2TMOLj4Fbp9:Text.CSL.Input.Bibtex
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1
biblatex
accepts<i>foo</i>
as a bibkey with Biber and BibTeX as a backend. So the problem must lie elsewhere. In general you should try and use only ASCII letters and numbers as well as a few special characters such as-
,.
,:
,_
. Avoid non-ASCII letters (ä
,ß
,É
) - even if they might work if you use an engine with full Unicode support and Biber. You should also avoid commas as well as braces (curly and otherwise).