[XeTeX] fontspec and Italian babel

Nicola Vitacolonna vitacolo at dimi.uniud.it
Thu Feb 1 09:34:22 CET 2007


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?

Nicola

This is XeTeX, Version 3.141592-2.2-0.996 (Web2C 7.5.6)  
(format=xelatex 2007.1.30)  30 JAN 2007 15:42
entering extended mode
**test.tex
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,  
nohyphenation
, spanish, french, italian, latin, lithuanian, ukenglish, loaded.
(/usr/local/gwTeX/texmf.texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/gwTeX/texmf.texlive/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/local/gwTeX/texmf.texlive/tex/xelatex/fontspec/fontspec.sty
Package: fontspec 2006/12/24 v1.13 Advanced font selection for XeLaTeX

(/usr/local/gwTeX/texmf.texlive/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2006/08/21 v0.3 Provides ifxetex conditional
)
\c at zf@newff=\count87
\c at zf@index=\count88
\c at zf@script=\count89
\c at zf@language=\count90

(/usr/local/gwTeX/texmf.texlive/tex/latex/tools/calc.sty
Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
\calc at Acount=\count91
\calc at Bcount=\count92
\calc at Adimen=\dimen103
\calc at Bdimen=\dimen104
\calc at Askip=\skip43
\calc at Bskip=\skip44
LaTeX Info: Redefining \setlength on input line 75.
LaTeX Info: Redefining \addtolength on input line 76.
\calc at Ccount=\count93
\calc at Cskip=\skip45
)
(/usr/local/gwTeX/texmf.texlive/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2006/11/18 v2.5f package option processing (HA)

(/usr/local/gwTeX/texmf.texlive/tex/latex/xkeyval/xkeyval.tex
\XKV at toks=\toks14
\XKV at depth=\count94
File: xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)

(/usr/local/gwTeX/texmf.texlive/tex/latex/xkeyval/keyval.tex)))
(/usr/local/gwTeX/texmf.texlive/tex/latex/lm/lmodern.sty
Package: lmodern 2007/01/14 v1.3 Latin Modern Fonts
LaTeX Font Info:    Overwriting symbol font `operators' in version  
`normal'
(Font)                  OT1/cmr/m/n --> OT1/lmr/m/n on input line 13.
LaTeX Font Info:    Overwriting symbol font `letters' in version  
`normal'
(Font)                  OML/cmm/m/it --> OML/lmm/m/it on input line 14.
LaTeX Font Info:    Overwriting symbol font `symbols' in version  
`normal'
(Font)                  OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 15.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version  
`normal'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 16.
LaTeX Font Info:    Overwriting symbol font `operators' in version  
`bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 17.
LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
(Font)                  OML/cmm/b/it --> OML/lmm/b/it on input line 18.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
(Font)                  OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 19.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version  
`bold'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 20.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version  
`normal'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 22.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version  
`normal'
(Font)                  OT1/cmss/m/n --> OT1/lmss/m/n on input line 23.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version  
`normal'
(Font)                  OT1/cmr/m/it --> OT1/lmr/m/it on input line 24.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version  
`normal'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 25.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version  
`bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version  
`bold'
(Font)                  OT1/cmss/bx/n --> OT1/lmss/bx/n on input line  
27.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version  
`bold'
(Font)                  OT1/cmr/bx/it --> OT1/lmr/bx/it on input line  
28.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version  
`bold'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 29.
)
(/usr/local/gwTeX/texmf.texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/local/gwTeX/texmf.texlive/tex/xelatex/euenc/eu1enc.def
File: eu1enc.def 2006/08/13 v0.1 Experimental unicode font encoding
)
LaTeX Font Info:    Try loading font information for EU1+lmr on input  
line 100.


(/usr/local/gwTeX/texmf.texlive/tex/xelatex/euenc/lm/eu1lmr.fd
File: eu1lmr.fd 2005/08/29 v1.2 Font defs for Latin Modern
))
LaTeX Info: Redefining \itshape on input line 1050.
LaTeX Info: Redefining \slshape on input line 1053.
LaTeX Info: Redefining \scshape on input line 1056.
LaTeX Info: Redefining \upshape on input line 1059.

fontspec.cfg loaded.
(/usr/local/gwTeX/texmf.texlive/tex/xelatex/fontspec/fontspec.cfg))
\c at zf@famc at Gentium=\count95
Package fontspec Info: Defining font family for "Gentium" with  
options [] on in
put line 5.
Package fontspec Info: Could not resolve font Gentium/B (it might not  
exist) on
input line 5.

(/usr/local/gwTeX/texmf.texlive/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package

(/usr/local/gwTeX/texmf.texlive/tex/generic/babel/italian.ldf
Language: italian 2005/11/17 v1.2r Italian support from the babel system

(/usr/local/gwTeX/texmf.texlive/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel at savecnt=\count96
\U at D=\dimen105
)
Package babel Info: Making " an active character on input line 91.
))
No file test.aux.
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for EU1/lmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for LGR/lmr/m/n on input line 7.
LaTeX Font Info:    Try loading font information for LGR+lmr on input  
line 7.
No file LGRlmr.fd.

! LaTeX Error: This NFSS system isn't set up properly.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.7 \begin{document}

? x
Here is how much of TeX's memory you used:
2504 strings out of 95734
47536 string characters out of 1188450
2132521 words of memory out of 4587385
5643 multiletter control sequences out of 10000+50000
3672 words of font info for 18 fonts, out of 2000000 for 2000
36 hyphenation exceptions out of 5000
28i,0n,27p,316b,142s stack positions out of 5000i,500n,6000p,200000b, 
50000s
No pages of output.




More information about the XeTeX mailing list