bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: correctly placed @part before @node can be in ignored Top node


From: Gavin Smith
Subject: Re: correctly placed @part before @node can be in ignored Top node
Date: Fri, 8 Apr 2022 16:19:41 +0100

On Fri, Apr 08, 2022 at 05:02:11PM +0200, Patrice Dumas wrote:
> > The ignoring starts at '@node Top' and continues until the next @node or
> > @part command.
> 
> Then it is different from texi2any.  In texi2any in the following
> @part part Intro and @chapter intro content is ignored:
> 
>  @node Top
>  @top top
> 
>  @part part Intro
>  @chapter intro
> 
>  @part part I
>  @node node
>  @chapter chap
> 
> 
> I could change it such that the first @part stops the ignoring
> independently of a @node being associated or not.  On the one hand,
> it probably make sense, as @part is a kind of toplevel separation.
> On the other hand, that will lead to 
>  @part part Intro
>  @chapter intro
> not being associated to any node, such that in a document organized with
> nodes (with USE_NODES true) the result may not be so good.  This is
> the default for epub, which has both USE_NODES and NO_TOP_NODE_OUTPUT.
> 
> Should I try to stop ignoring at the first @part?

Yes please.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]