Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Babel and XeTeX

1 view
Skip to first unread message

Marc

unread,
Jul 12, 2008, 9:15:34 PM7/12/08
to
Hello,

I updated to the latest version of the Babel package and there seems to
be some problems with XeTeX (with different language options). I did not
have any error with the previous version of Babel.

Here is the simplest CME ever :

%%% CME %%%

\documentclass{article}

\listfiles

\usepackage[english]{babel}

\begin{document}
A test.
\end{document}

%%% End CME %%%

And here is the log.

%%% log %%%

This is XeTeX, Version 3.1415926-2.2-0.999.2 (MiKTeX 2.7) (preloaded
format=xelatex 2008.6.2) 13 JUL 2008 03:07
entering extended mode
**D:/XeTeX/Tests/babel_xetex.tex
(D:/XeTeX/Tests/babel_xetex.tex
LaTeX2e <2005/12/01>
Babel <v3.8j> and hyphenation patterns for english, dumylang,
nohyphenation, sp
anish, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.7\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.7\tex\generic\babel\english.ldf"
Language: english 2005/03/30 v3.3o English support from the babel system

("C:\Program Files\MiKTeX 2.7\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions

! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns
{\languagename }
l.131 \main@language{english}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

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

l.131 \main@language{english}

You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

\babel@savecnt=\count87
\U@D=\dimen103
)
\l@british = a dialect from \language\l@english
\l@UKenglish = a dialect from \language\l@english

Overfull \hbox (44.49875pt too wide) in paragraph at lines 131--101
[]\OT1/cmr/m/n/10 english


[]

\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns
{\languagename }
l.182 \ldf@finish\CurrentOption

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

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

l.182 \ldf@finish\CurrentOption

You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.

)) (babel_xetex.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.
[1

] (babel_xetex.aux)

*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
babel.sty 2008/07/06 v3.8l The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
english.ldf 2005/03/30 v3.3o English support from the babel system
***********

)
Here is how much of TeX's memory you used:
516 strings out of 30485
5662 string characters out of 1191148
55678 words of memory out of 1500000
3715 multiletter control sequences out of 110000
3640 words of font info for 14 fonts, out of 1200000 for 2000
14 hyphenation exceptions out of 8191
24i,4n,23p,178b,107s stack positions out of
5000i,500n,10000p,200000b,5000s

Output written on babel_xetex.pdf (1 page).

%%% End log %%%

Thank you for your help.

Marc

Robin Fairbairns

unread,
Jul 13, 2008, 3:14:56 AM7/13/08
to
Marc <marc_dot_rdc_no@spam_laposte_dot.net> writes:
>I updated to the latest version of the Babel package and there seems to
>be some problems with XeTeX (with different language options). I did not
>have any error with the previous version of Babel.
>
>Here is the simplest CME ever :

i'm not sure it's the _simplest_ (one could have something that fails
in \documentclass), but it _is_ admirably uncluttered.

>%%% CME %%%
>
>\documentclass{article}
>\listfiles
>\usepackage[english]{babel}
>
>\begin{document}
>A test.
>\end{document}
>
>%%% End CME %%%
>
>And here is the log.
>
>%%% log %%%
>
>This is XeTeX, Version 3.1415926-2.2-0.999.2 (MiKTeX 2.7) (preloaded
>format=xelatex 2008.6.2) 13 JUL 2008 03:07
>

>[...]


>
>! Undefined control sequence.
>\main@language ...bbl@main@language \bbl@patterns
> {\languagename }
>l.131 \main@language{english}

this looks like the same problem that's been biting "ordinary" latex
users. try rebuilding the format -- see
http://docs.miktex.org/manual/formats.html
if you don't know about this.
--
Robin Fairbairns, Cambridge

Joseph Wright

unread,
Jul 13, 2008, 3:17:30 AM7/13/08
to

You need to rebuild your formats.

Joseph Wright

Marc

unread,
Jul 13, 2008, 10:48:33 AM7/13/08
to
Le 13/07/2008 09:14 Robin Fairbairns a écrit :
> this looks like the same problem that's been biting "ordinary" latex
> users. try rebuilding the format -- see
> http://docs.miktex.org/manual/formats.html
> if you don't know about this.

Thank you very much, Robin and Joseph. Rebuilding the formats solved the
problem.

Marc

0 new messages