[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @chapter starting at specified number
From: |
Patrice Dumas |
Subject: |
Re: @chapter starting at specified number |
Date: |
Wed, 12 May 2021 15:07:16 +0200 |
On Wed, May 12, 2021 at 02:52:37PM +0200, pietru@caramail.com wrote:
> I dot not see it solving the problem. If I have one chapter in a file, could
> I make it
> show as chapter 5. I have been using @unnumbered to do that. My
> understanding has been
> that @lowersections commands change chapters to sections, sections to
> subsections, and so
> on. But the chapter numbering stays the same.
Indeed, @unnumbered with a manual numbering for stand alone chapter
versus @chapter when included is probably more relevant. You could also
use @heading.
>
>
> > Sent: Thursday, May 13, 2021 at 12:47 AM
> > From: "Patrice Dumas" <pertusus@free.fr>
> > To: pietru@caramail.com
> > Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> > Subject: Re: @chapter starting at specified number
> >
> > Hello,
> >
> > Not sure that it corresponds to your use, but @raisesections and
> > @lowersections
> > could be of use:
> > https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Raise_002flower-sections.html
> >
> > On Wed, May 12, 2021 at 04:05:17AM +0200, pietru@caramail.com wrote:
> > > Currently, using @chapter starts from one. But if I write every chapter
> > > into a separate
> > > file and execute with texi2pdf all chapters get messed because they will
> > > all be chapter 1.
> > >
> > > Can there be some structured way to choose the number to start with? It
> > > would be very
> > > helpful and valuable capability.
> >
> > It is not clear to me what you are trying to achieve. Texinfo is
> > designed under the assumption that the manual forms a whole. Many other
> > things need to be changed, not only the chapter numbering if it is
> > instead a kind of collection.
> >
> > --
> > Pat
> >