using babel with latin gives error in latin.ldf

Bug #157709 reported by Václav Šmilauer
12
Affects Status Importance Assigned to Milestone
texlive-base (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is regression from texlive in feisty. Running latex on minimal document:

 \documentclass{article}
 \usepackage[latin]{babel}
 \begin{document}
 \end{document}

gives

 [...]
 (/usr/share/texmf-texlive/tex/generic/babel/babel.def)
 ! Undefined control sequence.
 l.184 \addtoextraslatin
                       {\LatinMarksOff}

A workaround is to ignore such command by saying \def\addtoextraslatin#1{\relax} before loading babel.

Google returns page apparetnly dealing with the issue, but I don't read japanese: http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/40424.html.

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 157709] using babel with latin gives error in latin.ldf
Download full text (3.8 KiB)

On Sa, 27 Okt 2007, Václav Šmilauer wrote:
> This is regression from texlive in feisty. Running latex on minimal
> document:
>
> \documentclass{article}
> \usepackage[latin]{babel}
> \begin{document}
> \end{document}

I cannot confirm that, on Debian/sid (no idea what feisty is) I can
convert this document without any problems, here is the log file:
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (format=latex 2007.9.25) 27 OCT 2007 23:12
entering extended mode
**test.tex
(./test.tex
LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, dut
ch, finnish, french, basque, german, ngerman, greek, monogreek, ancientgreek, i
bycus, hungarian, italian, latin, mongolian, norsk, slovene, estonian, welsh, i
nterlingua, icelandic, uppersorbian, romanian, indonesian, coptic, turkish, ser
bian, polish, portuguese, spanish, catalan, swedish, ukenglish, pinyin, loaded.

(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2004/02/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
)
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2005/05/21 v3.8g The Babel package

(/usr/share/texmf-texlive/tex/generic/babel/latin.ldf
File: latin.ldf 2005/03/30 v2.0f Latin support from the babel system

(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2005/05/21 v3.8g Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
Package babel Info: Making " an active character on input line 182.
)) (./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.

(./test.aux) )
Here is how much of TeX's memory you used:
 526 strings out of 94307
 5975 string characters out of 1171513
 58135 words of memory out of 1000000
 3830 multiletter control sequences out of 10000+50000
 3640 words of font info for 14 fonts, out of 500000 for 2000
 647 hyphenation exceptions out of 8191
 24i,1n,24p,160b,36s stack positions out of 1500i,500n,5000p,200000b,5000s

No pages of output.

Best wishes

Norbert

--------------------------------------------------------------------...

Read more...

Revision history for this message
Michael Bienia (geser) wrote :
Download full text (3.8 KiB)

I can reproduce this on gutsy.

$ latex test.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german, ngerman, german, ngerman, latin, latin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/latin.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)
! Undefined control sequence.
l.184 \addtoextraslatin
                       {\LatinMarksOff}
?

From the log file:

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 2007.10.30) 30 OCT 2007 20:28
entering extended mode
 %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german, ngerman, german, ngerman, latin, latin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/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
)
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package

(/usr/share/texmf-texlive/tex/generic/babel/latin.ldf
File: latin.ldf 2005/11/17 v2.0g Latin support from the babel system

(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
! Undefined control sequence.
l.184 \addtoextraslatin
                       {\LatinMarksOff}
? Q
OK, entering \batchmode...
! Undefined control sequence.
l.184 \addtoextraslatin{\LatinMarksOff
                                      }
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.

Package babel Info: Making " an active character on input line 185.
))
No file test.aux.
\openout1 = `test.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
La...

Read more...

Changed in texlive-base:
status: New → Confirmed
Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 157709] Re: using babel with latin gives error in latin.ldf

Hi all,

On Di, 30 Okt 2007, Michael Bienia wrote:
> I can reproduce this on gutsy.

I can reproduce it, too.

Sorry for the other email, it looks that I tested it on another machine
with texlive 2005. I retried it and on 2005 it works, on 2007 not.

> When I compare the versions mentioned in the log with the log from
> Norbert, I see that gutsy has newer versions.

No, gutsy doesn't have newer versions, only I tried an old version.
Thanks for mentioning this, it brought me on the right track.

I will ask on the texlive mailing list.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
EWELME (n.)
The smile bestowed on you by an air hostess.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Norbert Preining (preining) wrote : bug in babel latin.ldf

Hi all!

Ubuntu users reported a bug which is easy to recreate:

\documentclass{article}
\usepackage[latin]{babel}
\begin{document}
\end{document}

stops with
! Undefined control sequence.
 l.184 \addtoextraslatin
                       {\LatinMarksOff}

I confirmed that on TeX Live 2005 it DID work, while on TeX Live 2007 it
breaks.

Any comments?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
`You know they've reintroduced the death penalty for
insurance company directors?'
No I didn't. For what offence?'
Trillian frowned.
`What do you mean, offence?'
`I see.'
                 --- Evidence that there will be some justice in the Universe
                 --- eventually.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

Revision history for this message
Norbert Preining (preining) wrote : Re: [tex-live] bug in babel latin.ldf

On Di, 30 Okt 2007, Norbert Preining wrote:
> I confirmed that on TeX Live 2005 it DID work, while on TeX Live 2007 it
> breaks.

I just now submitted the following entry into our subversion:
+texlive-base (2007-14~1) unstable; urgency=low
+
+ * fix latin.ldf with the version from CTAN (closes Ubuntu bug #157709)
+
+ -- Norbert Preining <email address hidden> Tue, 30 Oct 2007 21:31:25 +0100
+

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
WIDDICOMBE (n.)
The sort of person who impersonates trim phones.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Will this fix make it to gutsy-updates and in what timeframe? Regards, Vaclav

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Any chance of pushing this for hardy, before the upstream 2007-14 is in archives? We have now 2007-13 and I had to delete (again) that one singe offending line from latin.ldf by hand. "Patch" attached.

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 157709] Re: using babel with latin gives error in latin.ldf

On So, 09 Mär 2008, Václav Šmilauer wrote:
> Any chance of pushing this for hardy, before the upstream 2007-14 is in
> archives? We have now 2007-13 and I had to delete (again) that one singe
> offending line from latin.ldf by hand. "Patch" attached.

2007-14 contains the patch.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BANTEER
A lusty and raucous old ballad sung after a particulary spectacular
araglin (q.v.) has been pulled off.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Fixed long ago...

texlive-base (2007-14) unstable; urgency=low

  * fix latin.ldf with the version from CTAN (Closes: #451295)
    (and also closes Ubuntu bug #157709)
  * Update location of upstream iso.zip file in uscan watch file (closes:
    #449619), thanks to Raphael Geissert <email address hidden> [fk]
  * do not install tex/latex/jknapltx/ubbold.fd, it break the bbold fonts
    (Closes: #449221). Thanks and sorry Ralf for ignoring you so long!
  * improve the comments about english hyphenation/language0 in language.dat,
    from DEK on tex-k
  * bump standards version to 3.7.3, no changes needed
  * make texlive-latex-recommended provide latex-ucs-uninames, latex-ucs,
    latex-ucs-contrib as these Debian packages have been given up for
    adoption
  * fix a small bug in booktabs.sty by updating it to the version on CTAN
    (Closes: #460878)
  * add a patch fix-txfonts-precapprox to switch the symbols \precapprox and
    \succapprox in txfonts.sty (Closes Ubuntu bug 184065)
  * add a fancyheadings placeholder calling fancyhdr (Closes Ubuntu bug
    132399)
  * add the LPPL to debian/copyright (Closes: #470479)

 -- Ubuntu Archive Auto-Sync < <email address hidden> (katie: 0) > Fri, 02 May 2008 02:27:54 +0100

Changed in texlive-base (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.