[l2h] LaTeX2HTML confused when using input from subdir?

Bruno De Fraine Bruno.DeFraine@student.kuleuven.ac.be
Wed, 21 Nov 2001 12:48:18 +0100


Hi,

SOME INFO:

- Windows 2000 Service Pack 2
- Perl 5.6.1 from ActiveState
- latex2html.pin,v 1.58 2001/11/14 01:34:26

ISSUE:

When I create a very simple document structure but with input seperated 
over multiple files (and a subdir), this is enough to confuse latex2html. 
If I keep everything in the same file, the problem does not occur. LaTeX 
itself has no problem whatsoever with the seperation over multiple files.

EXAMPLE:

#########  begin doc.tex
\documentclass{report}

\begin{document}
\part{History of the world}
\input{part1/beginning}
\end{document}
#########  end doc.tex

#########  begin part1/beginning.tex
\chapter{In the beginning...}
\section{Hello world}
#########  end part1/beginning.tex

When I run this trough LaTeX:

D:\test>latex doc.tex
This is TeX, Version 3.14159 (MiKTeX 2.1)
(doc.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, french, german, ngerman, du
tch, dumylang, nohyphenation, loaded.
(D:\MiKTeX\tex\latex\base\report.cls
Document Class: report 2001/04/21 v1.4e Standard LaTeX document class
(D:\MiKTeX\tex\latex\base\size10.clo)) (doc.aux) [1] (part1/beginning.tex
Chapter 1.
) [2] (doc.aux) )
Output written on doc.dvi (2 pages, 576 bytes).
Transcript written on doc.log.

When I run this through latex2html (note the "*** no brace for \part" in 
the output):

D:\test>latex2html doc.tex
This is LaTeX2HTML Version 2K.1beta (1.58)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
  Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2



Loading d:\latex2html\versions\html3_2.pl

  *** processing declarations ***

Loading d:\latex2html\versions\latin1.pl
OPENING D:\test\doc.tex

Note: Working directory is D:\test\doc
Note: Images will be generated in C:\Temp\l2h1592

texexpand V2K.1beta (Revision 1.11)



Loading d:\latex2html\styles\texdefs.perl...
Loading d:\latex2html\styles\report.perl
Reading ...
++
@@

Doing .\part1/beginning.tex

Processing macros ...++
@

Translating ...
0/6:top of doc: for doc.html

  *** translating preamble ***
..
  *** preamble done ***
;.;

1/6:part:.."History of the world" for node1.html
;;

2/6:part:.

*** no brace for \part , before:
1/beginning.tex#
*** using "1" as the argument instead; is this correct?  ***

."1" for node2.html
;;

3/6:chapter:.."In the beginning..." for node3.html
;;

4/6:section:..."Hello world" for node4.html
;;

5/6:part:.

*** no brace for \part , before:
1/beginning.tex#
*** using "1" as the argument instead; is this correct?  ***

."1" for node5.html
;.;

6/6:partstar:.."About this document ..." for node6.html
;;.

Doing section links ................
  *** Adding document-specific styles ***

*********** WARNINGS ***********

? brace missing for \part

Done.


REMARK:

I've also tried this document on a Debian Linux system using LaTeX2HTML 
Version 2K.1beta (1.48). The document is translated correctly here.


Kind regards,
Bruno De Fraine