getbibtex
getbibtex copied to clipboard
URLs with anchors get flagged by the LaTeX compiler.
I'm using this awesome service to create references in my Overleaf project, but if the URL contains an anchor (#) I get some error while compiling the document.
Multiple errors such as this one appear:
Illegal parameter number in definition of \abx@field@howpublished.
./output.bbl, 583
<to be read again>
l
l.583 \endentry
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.
Workaround: escaping the anchor (#) with an inverted slash () works for me. So https://blabla.example/test#anchor must become https://blabla.example/test#anchor.
It would be nice that the software were in charge of doing this to avoid manual changes.
Thank you!