Re: patch preventing creation of empty top file (was Re: doc patch

Peter Moulder <[email protected]> Thu, 20 Sep 2001 05:36:23 +1000
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
On Wed, Sep 19, 2001 at 08:44:38AM -0400, Derek Robert Price wrote:

> > > > Attached is a short context diff as per subject line.  (See also
> > > > <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=101265&repeatmerged=yes>.)

> Anyway, logically, this looks good to me, though I still haven't tested it.  My quick
> reading of that section of the code still leaves me without a clue as to how to
> produce a document without a top node.  I thought it was just a matter of not
> including the "@top" or "@node top" macros, but I tried that and it doesn't seem to
> work.
> 
> Anyway, commit this if you like, though I'd prefer a chance to reproduce the bug
> before you do.

The referenced bug report refers to LambdaCoreUserMan.texinfo, which can be
found in the .orig.tar.gz at
<http://packages.debian.org/stable/net/lambdamoo-docs.html>.
Notable features of that texinfo file are that it has no top node (for
that matter it has no nodes) but it does have chapters & sections.

I've run texi2html both with and without the patch, both with -monolithic
and with -split_chapter.  The only difference (diff -dur) is that with
the -split_chapter option, without the patch LambdaCoreUserMan.html is
created as a zero-length file, while with the patch that file doesn't get
created.

I'll commit the patch in ~24 hrs unless you reply first.

pjm.