[OS X TeX] Using Babel with I-Installer tex installation
Bruno Voisin
bvoisin at mac.com
Wed Jun 29 11:41:52 EDT 2005
Le 29 juin 05 à 16:53, Frederick Hoyt a écrit :
> On Jun 29, 2005, at 9:27 AM, Peter Dyballa wrote:
>
>> Could we see a bit more of your log and of your TeX file?
>
> Here is all the non-commented text in the .tex file:
>
> > %&program=xelatex
> > %&encoding=UTF-8 Unicode
> > \TeXXeTstate=1
> > \documentclass[10pt,openany]{article}
> >
> > \usepackage[english]{babel}
> >
> > \begin{document}
> >
> > Hi there.
> >
> > \end{document}
I don't know what to say. A few months ago I compiled in XeLaTeX a
multilingual document containing:
\usepackage[german,french,british]{babel}
and all went fine. I just verified it still compiles today, after
changing
%&program=xelatex
%&encoding=UTF-8 Unicode
to
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
If I were you, I would remove all trace of babel from ~/Library/
texmf/ (babel.sty, english.ldf, language.dat, etc.), then re-run the
Configure stage of the TeX i-Package completely, then reinstall XeTeX.
I tried with your input file. Where you get:
> > This is XeTeX, Version 3.141592-2.2-0.94 (Web2C 7.5.3)
> > entering extended mode
> > (./xearab.tex
> > LaTeX2e <2003/12/01>
> > Babel <v3.8d> and hyphenation patterns for american, british,
> nohyphenation, loaded.
> > (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
> > Document Class: article 2004/02/16 v1.4f Standard LaTeX document
> class
> > (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
> > (/Users/fmhoyt/Library/texmf/tex/latex/misc/babel.sty)
> >
> > ! LaTeX Error: Unknown option `english' for package `babel'.
I get:
This is XeTeX, Version 3.141592-2.2-0.94 (Web2C 7.5.3)
entering extended mode
(./test.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, british, french,
german, n
german, dutch, italian, norsk, portuges, spanish, swedish,
nohyphenation, loade
d.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.sty
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/english.ldf
(/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/babel.def)))
LaTeX Warning: Unused global option(s):
[openany].
(./test.aux) [1] (./test.aux) )
Output written on test.pdf (1 page).
Transcript written on test.log.
Thus it really seems to be connected with your setup.
You may also try, in Terminal:
kpsewhich english.ldf
kpsewhich -format xelatex english.ldf
Both should return:
/usr/local/teTeX/share/texmf.tetex/tex/generic/babel/english.ldf
If they don't, reinstall seems the only way forward.
Bruno Voisin
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list