[XeTeX] Babel and Polyglossia

Yves Codet ycodet at club-internet.fr
Sat Feb 9 09:38:26 CET 2008


Hello.

I recently modified "sanhyph.tex" to make it loadable by Polyglossia  
and recompiled xelatex.fmt, and now Babel seems to be broken. If I try:

%%%%%%%%%%%%%%%%%%%%
\documentclass[10pt,a4paper]{article}
\usepackage{fontspec}
\usepackage[frenchb]{babel}
\setmainfont{Charis SIL}

\begin{document}

Texte.

\end{document}
%%%%%%%%%%%%%%%%%%%%

I get the following error message:

This is XeTeXk, Version 3.141592-2.2-0.997 (Web2C 7.5.6)
  %&-line parsing enabled.
entering extended mode
(./essai.tex
LaTeX2e <2005/12/01>
Polyglossia <v0.2> and hyphenation patterns for english,  
usenglishmax, dumylang
, nohyphenation, arabic, basque, bulgarian, coptic, welsh, czech,  
slovak, germa
n, ngerman, danish, esperanto, spanish, catalan, galician, estonian,  
farsi, fin
nish, french, greek, monogreek, ancientgreek, croatian, hungarian,  
interlingua,
  ibycus, indonesian, icelandic, italian, latin, mongolian, dutch,  
norsk, polish
, portuguese, pinyin, romanian, russian, slovenian, uppersorbian,  
serbian, swed
ish, turkish, ukenglish, ukrainian, sanskrit, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/fontspec/ 
fontspec.sty
(/usr/local/texlive/2007/../texmf-local/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.tex
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/keyval.tex)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/fontspec/ 
fontspec.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.def)
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/frenchb.ldf
! Undefined control sequence.
\@initiate at active@char ...e }}{}\else \@activated
                                                   {#1}\@namedef  
{normal at char...
l.219 \initiate at active@char{:}

?
Process aborted

I remember reading something about hyphen.cfg and hyphen_cfg but I  
must confess I didn't follow well. How can I fix my setup? Actually,  
it doesn't bother me at all, I shan't use Babel anymore, but perhaps  
it might be an issue for some other users.

Best wishes,

Yves



More information about the XeTeX mailing list