author names with special LaTeX characters are not properly abbreviated in citation labels
Issue #442
new
Author names with special LaTeX characters are not properly abbreviated in citation labels. A quick fix is to update the abbreviate function to first decode the LaTeX and remove curly braces, i.e. to change the abbreviate function at
into
def abbreviate(part):
import codecs
import latexcodec
part = codecs.decode(part, 'ulatex').replace('{', '').replace('}', '')
if part.isalpha():
return part[0] + '.'
else:
return part
(This is just a quick hack; the imports should probably got to the top of the file.)
Originally reported here by jboynyc: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/319