Hi all,

please read below at "Description", this is an automated template for
the LaTeX Bugtracking system.  This issue is only half of Debian's bug
#374215;  docbook should also try to do the right thing and switch babel
into do-not-redefine-itemize-Mode by checking for
\FrenchItemizeSpacingfalse and setting it if it isn't already.  This
must be done after loading babel, of course - either by making sure that
\usepackage{babel} comes before \usepackage{docbook}, or with
\AtBeginDocument magic (or scrlfile.sty).

Regards, Frank

LaTeX2e bug report.
Template generated by latexbug.tex on 2006/07/03

>Category: babel
>Synopsis: \usepackage[french]{babel} it is impossible to redefine the itemize 
>environment
>Confidential: no
>Release: LaTeX2e <2003/12/01>
>Originator:  [EMAIL PROTECTED]  ( Frank Küster )
>Organization: Debian
>Environment:
 Hyphenation: Babel <v3.8d> and hyphenation patterns for american, french, 
german, ngerman, bahasa, basque, bulgarian, catalan, croatian, czech, danish, 
dutch, esperanto, estonian, finnish, greek, icelandic, irish, italian, latin, 
magyar, norsk, polish, portuges, romanian, russian, serbian, slovak, slovene, 
spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
 [EMAIL PROTECTED]: undefined (Standard setting for TeX3.141 and later)
 [EMAIL PROTECTED]: macro:->./
 [EMAIL PROTECTED]: undefined (Standard setting)
>Unformatted:
 *** Initex configuration files
fonttext.cfg
 2004/02/04 v2.3a LaTeX Kernel (Uncustomised text font setup)
fonttext.ltx
 2004/02/04 v2.3a LaTeX Kernel (Text font setup)
omlenc.def
 2004/02/22 v1.99f Standard LaTeX file
t1enc.def
 2004/02/22 v1.99f Standard LaTeX file
ot1enc.def
 2004/02/22 v1.99f Standard LaTeX file
omsenc.def
 2004/02/22 v1.99f Standard LaTeX file
t1cmr.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
ot1cmr.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
ot1cmss.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
ot1cmtt.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
fontmath.cfg
 2004/02/04 v2.3a LaTeX Kernel (Uncustomised math font setup)
fontmath.ltx
 2004/02/04 v2.3a LaTeX Kernel (Math font setup)
omlcmm.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
omscmsy.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
omxcmex.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
ucmr.fd
 1999/05/25 v2.5h Standard LaTeX font definitions
preload.cfg
 2004/02/04 v2.3a LaTeX Kernel (Uncustomised preload font setup)
preload.ltx
 1998/08/17 v2.1g LaTeX Kernel (Font Preloading)
hyphen.cfg
 2004/11/20 v3.8d Babel language switching mechanism
 ***
>Description:
Description of bug:

Babel's french option redefines the itemize environment.  It does that
by changing \itemize only without caring for \enditemize.  Since this is
only done \AtBeginDocument, a document that tries to redefine that
environment itself using the usual LaTeX command \renewenvironment will
fail;  the error message is

! LaTeX Error: \begin{itemize} on input line 13 ended by \end{list}.


>How-To-Repeat:
Sample file which indicates the problem:
========================================
 \documentclass{article}

\usepackage[french]{babel}

\renewenvironment{itemize}{%
  \begin{list}
  }{
  \end{list}
}

\begin{document}
\begin{itemize}
\item foo
\end{itemize}
\end{document}


The log file from running LaTeX on the sample:
==============================================
 < LOG FROM TEST FILE HERE >

============================================================

End of LaTeX2e bug report.
============================================================

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply via email to