[l2h] Bug report: latex2html does not work with LaTeX files named part????.tex

Ross MOORE Ross MOORE <ross@ics.mq.edu.au>
Sun, 27 Jun 1999 21:39:15 +1000 (EST)


> Bug report, LaTeX2HTML v. 98.1 for PC, using Perl 5.004_02.
>
> This is a strange bug: it is not possible to use a TeX-file 
> with LaTeX2HTML if the name starts with "part", such as I 

There is a subtle internal reason for this *bug*,
which relates to when there are diffent \input or \include
files, providing the LaTeX source.

> wanted "partdiff.tex" (about partial diff.eq.). Obviously 
> there seems to be conflict with the TeX-command "\part". I 
> have not checked yet if it is the same for "section" or 

No, it has nothing whatsoever to do with \part or \section etc.

> "chapter", but if there is then this is a serious bug, as 
> many like to split large TeX-files into "chapter1.tex" and so 
> on.

Internally, LaTeX2HTML splits the input source where the
different \input/include files occur.
The resulting chunks are written into a temporary directory,
with names part001 part002 etc.
The full source is also written, with the name of the original file.
It is the name clash with 'part' that is the cause of this problem.

Under Unix, there is no bug, as the  names are
 part_001 part_002 etc.
(but the '_' cannot be used in DOS/Windows, so someone said).

In later versions of LaTeX2HTML, there is a configuration variable
called  $PARTITION_PREFIX  which controls this naming scheme.
e.g. (from the Unix version)

# Partition prefix 
$PARTITION_PREFIX = 'part_' unless $PARTITION_PREFIX;


I haven't checked whether this is available already in v98.1 .
In any case, you might consider updating to v99.1 from
the developer's repository:
	http://saftsack.fd.uni-bayreuth.de/~latex2ht/

Hope this helps,

	Ross Moore