Any suggestions how to allow UTF-8 @string macros in the mwe.bib file? [lines 537-539]
@string{ Uà = {Università} #. }
@string{ Uàdi = Uà#di }
@string{ UàdSdi = Uà#degli# {Studi} #di }
@PhdThesis{mwe,
author = {Some Guy},
title = {On something},
school = Uàdi# {Padova},
%school = UàdSdi# {Bologna},
year = 2010,
}
I have this setup:
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage{newunicodechar}
\RequirePackage[backend=biber%
,bibencoding=utf8,texencoding=utf8,style=numeric-comp%
,sorting=none,sortcites=true,block=none,indexing=false%
,citereset=none,isbn=true,url=true,doi=true]{biblatex}%
and use this in mwe.tex:
\addglobalbib[datatype=bibtex,type=file]{mwe.bib}
\begin{document}
\cite{mwe}
\printbibliography
\end{document}
then run:
biber mwe
and get:
WARN - BibTeX subsystem: /tmp/I5WGNx_9Fe/mwe.bib_16327.utf8, line 537, warning: overriding existing definition of macro "u"
ERROR - BibTeX subsystem: /tmp/I5WGNx_9Fe/mwe.bib_16327.utf8, line 538, syntax error: found "di", expected "="
Universit\`a, which is completely equivalent to the "accented character" version. – egreg Sep 25 '12 at 13:55biber.confwith perhaps "sourcemap" tricks: say, a preparse that would map"Uà"to"Ua_it"and then match/replace everywhere (not within "", '')Ua_itforUà, in a temporary file? – sjbiaga Sep 25 '12 at 14:09