Re: [Refdb-devel] latex bibliographies with multiple databases
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2006-08-16 21:42:34
|
Hi David, David Nebauer writes: > I'd like to focus on this point again. I personally allow refdb to=20= > generate the citekey for me, mainly because it will automatically ap= pend=20 > 'a', 'b', etc. if there is danger of duplication. Automatically=20 > stripping non-ascii characters from authors with foreign characters = will=20 > lead to some unusual results. A recent publication from our old=20 > workhorse 'H=E4=DFler' might produce the citekey 'Hler2006'. >=20 I've tried to resolve this problem by running the citekeys through an iconv conversion (from UTF-8 to ASCII with transliteration switched on). Only then invalid characters are stripped from the strings. I hope this will improve the automatically created citation keys. iconv uses a latex-style transliteration of umlauts and other non-ASCII characters. E.g. our beloved 'H=E4=DFler' is converted to 'H"assler'. RefDB has to strip the '"' from the latter as it must not appear in XML attribute values, hence you'll end up with 'Hassler2006' instead of the abovementioned 'Hler2006'. It is still not the correct German transliteration, which would call for 'Haessler2006', but I think we're close enough without having to hand-code a boatload of special cases. regards, Markus --=20 Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |