[XeTeX] fontspec and Italian babel
Jonathan Kew
jonathan_kew at sil.org
Tue Jan 30 16:14:16 CET 2007
On 30 Jan 2007, at 2:48 pm, Nicola Vitacolonna wrote:
> Hi,
> I have a problem compiling this (Mac OS X):
>
> %!TEX TS-program = xelatex
> %!TEX encoding = UTF-8 Unicode
> \documentclass[a4paper]{article}
> \usepackage{fontspec}
> \setromanfont{Gentium}
> \usepackage[italian]{babel}
> \begin{document}
> Hello!
> \end{document}
> \end
>
> The error is (see the log below):
>
> No file LGRlmr.fd.
> ! LaTeX Error: This NFSS system isn't set up properly.
>
> Apparently, there is a conflict between fontspec and babel loaded
> with the italian option: if I comment out either package I can get it
> compiled. I have no such problem with other languages. Is this a bug?
Yes, there seems to be an incompatibility here.
It seems to work OK if you load Babel *before* fontspec, rather than
the other way around.
Will, any ideas?
JK
More information about the XeTeX
mailing list