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

Derek Robert Price <[email protected]> Wed, 19 Sep 2001 16:58:52 -0400
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
Peter Moulder wrote:

> 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.

Yep.  I can duplicate the bug with that document too.  I had been trying to create a
document without a top node but not without nodes at all, much less with chapters and
sections.  Apparently the first node becomes the top node when there isn't one otherwise.
Not sure if that's the correct behavior or not.

Anyway, I confirmed that your patch gets rid of the problem as well, so go to it.  :)

Thanks.

Derek