Babel and the bibliography

If you write any foreign names in the author field (and presumably the editor field, although I’ve not tested this) in your bibliography (.bib) file using babel‘s \foreignlanguage command, make sure you \protect it:

  AUTHOR = {\protect\foreignlanguage{spanish}{Cruz, Ana}},

For some reason I cannot explain, using the \foreignlanguage command generates errors in the .bbl file output by BibTeX, particularly if you have the name Llorenç, but I have no idea why. If you do and know how to fix it, please let me know in a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.