[XeTeX] fontspec and Italian babel
Nicola Vitacolonna
vitacolo at dimi.uniud.it
Thu Feb 1 11:18:24 CET 2007
> On 1 Feb 2007, at 8:34 am, 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?
> I thought I replied to this already.....?
>
> http://tug.org/pipermail/xetex/2007-January/005797.html
Thank you very much: both solutions (loading fontspec with the [cm-
default] option and loading babel before fontspec) solve the problem.
My apologies to everybody for posting the same message twice (somehow
I thought the first had not reached the mailing list).
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20070201/4c6e215c/attachment.html
More information about the XeTeX
mailing list