[l2h] [Fwd: Bug#385276: latex2html: 100% CPU and 100% RAM when compiling an itemize with no item in it]
Ross Moore
ross at ics.mq.edu.au
Wed Aug 30 23:47:10 CEST 2006
Hi Roland,
On 30/08/2006, at 9:48 PM, Roland Stigge wrote:
> Hi,
>
> I'm forwarding a problem of a Debian user. Maybe interesting for
> you...
>
> Thanks.
>
> bye,
> Roland
OK, thanks.
>
> Resent-From: Sébastien NOBILI <nob900 at ofwood.com>
> From: Sébastien NOBILI <nob900 at ofwood.com>
> Date: 30 August 2006 6:46:28 PM
> Resent-To: debian-bugs-dist at lists.debian.org
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Resent-Cc: Roland Stigge <stigge at antcom.de>
> Subject: Bug#385276: latex2html: 100% CPU and 100% RAM when
> compiling an itemize with no item in it
> Reply-To: Sébastien NOBILI <nob900 at ofwood.com>, 385276 at bugs.debian.org
>
>
> Package: latex2html
> Version: 2002-2-1-20050114-5
> Severity: normal
>
>
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.16-2-k7
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Sample file that produces the bug :
>
> \documentclass[a4paper,10pt]{report}
> \usepackage[utf8]{inputenc}
> \usepackage[francais]{babel}
>
> \title{Projets}
>
> \begin{document}
>
> \maketitle
>
> \begin{abstract}
> This example should crash latex2html
> \end{abstract}
>
> \tableofcontents
>
> \section{This list is broken}
> \begin{itemize}
> \end{itemize}
But LaTeX stops at that point too.
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.19 \end{itemize}
?
By pre-testing with LaTeX before running a LaTeX2HTML job,
the error will be detected.
This has always been the recommended way to use LaTeX2HTML,
and indeed is a *requirement* when there are symbolic links
and/or figure-captions that need to be resolved.
OK, it would be nicer in LaTeX2HTML dealt more sympathetically
with the problem. But it has never been part of its design
to try to catch and work-around all possible LaTeX errors.
>
> \end{document}
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia 2109 fax: +61 +2 9850 8114
------------------------------------------------------------------------
More information about the latex2html
mailing list