Cite a reference, such as bibitem:[plain‐hyphen1234] using a hyphen (‐) in the citationkey.
Convert the document using asciidoctor -r asciidoctor-bibtex.
Notice unknown reference error for the hyphenated citationkey.
I confirmed that the citationkeys in asciidoc and bibtex files matched, replaced the hyphens with hyphen-minus (-) as in hyphen-minus1234, and then converted the document successfully without the unknown reference error.
I could not find any regular expressions in the asciidoctor-bibtex code that would prevent a hyphen from matching the bibtex citationkey, so I suspect that the issue might be with a dependency.
bibitem:[plain‐hyphen1234]
using a hyphen (‐
) in the citationkey.asciidoctor -r asciidoctor-bibtex
.I confirmed that the citationkeys in asciidoc and bibtex files matched, replaced the hyphens with hyphen-minus (
-
) as inhyphen-minus1234
, and then converted the document successfully without the unknown reference error.I could not find any regular expressions in the asciidoctor-bibtex code that would prevent a hyphen from matching the bibtex citationkey, so I suspect that the issue might be with a dependency.
A similar issue with "dash" (actually,
-
hyphen-minus) was resolved previously in https://github.com/asciidoctor/asciidoctor-bibtex/issues/16.linux ruby 3.3.0 asciidoctor 2.0.23 asciidoctor-bibtex 0.9.0
Edit: corrected hex codes.