[XeTeX] Biblatex and Biber UTF-8 file

Gildas Hamel gweltaz at ucsc.edu
Fri Nov 12 05:57:44 CET 2010


* Karljurgen Feuerherm (kfeuerherm at wlu.ca) wrote:
  
  |>  I wish to use Biblatex, and the bib file must be Unicode to accommodate all the characters that will appear there. I understand that I have to use Biber as a backend to have a Unicode bib file, and on p40 of the Biblatex manual, I read that in XeTeX I need \usepackage[bibencoding=inputenc]{biblatex}. However, this causes the compiler to complain that I haven't loaded inputenc.
  |>  
  |>  On the other hand, if I load inputenc, the compiler tells me I shouldn't do that as it could lead to problems, since XeTeX is natively UTF-8....
 
I load it with bibencoding=utf8, as in:

\documentclass[11pt,openany]{memoir}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX,
			Numbers=OldStyle]
				{Hoefler Text} % TeX Gyre Pagella, 
\usepackage{polyglossia}
\setdefaultlanguage{french}
\setotherlanguages{greek,english}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber,bibencoding=utf8,notes]{biblatex-chicago}
\bibliography{history}
\begin{document}
\frontmatter
\mainmatter
Testing...

\backmatter
\printbibliography
\printindex
\end{document}

HTH,
-- gildas


More information about the XeTeX mailing list