[tex-live] Problem with \usepackage[latin]{babel}

Heiko Oberdiek oberdiek at uni-freiburg.de
Mon Mar 19 23:38:43 CET 2007


On Mon, Mar 19, 2007 at 10:41:10PM +0100, Heiko Oberdiek wrote:

> On Mon, Mar 19, 2007 at 09:17:59PM +0100, Bert Trüger wrote:
> 
> > when trying to compile
> > 
> > \documentclass[a4paper,10pt]{article}
> > \usepackage[latin]{babel}
> > 
> > \begin{document}
> > 
> >    Test
> > 
> > \end{document}
> > 
> > under Texlive 2007 I get the messages
> > "[PDFLaTeX] Latein.tex => Latein.pdf
> > (/usr/local/texlive/2007/bin/i386-linux/pdflatex)
> > [PDFLaTeX] mit Status 1 beendet
> > /usr/local/texlive/2007/texmf-dist/tex/generic/babel/latin.ldf:184:Undefined
> > 
> > control sequence. \addtoextraslatin
> > /usr/local/texlive/2007/texmf-dist/tex/generic/babel/latin.ldf:184:Undefined
> > 
> > control sequence. \addtoextraslatin{\LatinMarksOff
> > [PDFLaTeX] 2 Fehler, 0 Warnungen, 0 badboxes
> > "
> > 
> > What's wrong? I am pretty sure this worked without errors under Texlive
> > 2005.
> 
> TeX Live uses the versions on CTAN, and latin.dtx (latin.ldf)
> 2005/11/17 v2.0g misses a backslash:
>   \addtoextraslatin --> \addto\extraslatin
> 
> I have made a LaTeX bug report for you: babel/3922.
> And I will update latex-tds.

However, this isn't enough, there are other errors:

! Package babel Error: The character '^' is not a shorthand character
  in latin.

! Package babel Error: The character '=' is not a shorthand character
  in latin.

Cause is \LatinMarksOff that expands to \shorthandoff{^} and
\shorthandon{=}. However these shorthands aren't defined by default,
only after \ProsodicMarks. This fix isn't trivial without knowing
the original intention.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>


More information about the tex-live mailing list