Open ftilmann opened 7 years ago
Thanks for a great bug report, I'll try to have a look at it soon-ish.
I've had a look at this now, and unfortunately it's a limitation of the way I have parsed the bib files (using regex). Allowing arbitrary braces inside names is not at all practical the way the bib files are parsed, and would also break a few other tests (since then surnames like {Foo}
and Foo
would register as two separate names).
I simply can't and won't put in the time required to delve into this and fix this. I of course welcome any pull requests.
When author names in an author-year citation style contain accent or umlaut commands (e.g.
\"
,\'
) and or braces, they are not expanded properly, leading to errors in the resulting latex file. The following MWE illustrates the problem.mwe_accentcite.tex:
biblio.bib:
Run the following sequence (using latexdiffcite 1.0.6):
The last latex command does not run through (of course, it is non-sensical to compare mwe_accentcite to itself, but it is enough to demonstrate the issue).
The reason is obvious from inspection of the expansion that latexdiffcite has done:
i.e braces should be preserved, and processing should not stop when encountering
\"
.