Andrew is spot-on. Draw the tree that reflects the structure of your divisions,
then draw a horizontal line across the tree at the "chunk level". Every
division on that line becomes a chunk/page/leaf, and every leaf on the root-side
of the line becomes a chunk/page/leaf. Everything else is an "intermediate"
node that becomes a "summary page".
One of my favorite things - old-time book structure reimagined for HTML. Also
totally unnecessary, you can navigate with the Table of Contents.
There's really no sane way (I can think of) to accomplish what you want. How a
publisher would specify it, and how it would be implemented seem out-of-reach to me.
Rob
On 7/16/25 16:15, Andrew Scholer wrote:
> No, there is not.
>
> Those pages are "summary" pages.
>
> Each node in your document tree that is coarser than a "chunk" (something
> realized as a page of HTML) is an "intermediate node" that gets rendered as a
> summary page. (Those terms might help if you want to search around in the docs
> or source.)
>
> There is no provision (that I know of at least) to condense the levels of those
> summary pages.
>
>
> On Wed, Jul 16, 2025 at 3:16 PM Peter Seibel <
peter...@berkeley.net
> <mailto:
peter...@berkeley.net>> wrote:
>
> In an HTML generated book is it possible to control how many levels show up
> on the index page. When I have frontmatter, chapters, backmatter, they all
> show up on the index page. But if I group the chapters into two parts, only
> the title of the two parts show up on the index page. I'd like for the
> chapters under each part to show up too. I thought it might be the @level
> attribute of the <tableofcontents> element in the publication file but that
> wasn't it. (Seems to be for the pop-up TOC which makes sense.)
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pretext-suppo...@googlegroups.com <mailto:
pretext-
>
support+u...@googlegroups.com>.
> support/daf2d467-f140-4814-b446-a3fce0db1c44n%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-support/daf2d467-f140-4814-b446-
> a3fce0db1c44n%
40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-suppo...@googlegroups.com <mailto:
pretext-
>
support+u...@googlegroups.com>.
> CACm44N97JYUOYq_Ap6FaY%3DVZ7kGqO8%3DMU0r2syWR1KkxuLxDYQ%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pretext-support/
> CACm44N97JYUOYq_Ap6FaY%3DVZ7kGqO8%3DMU0r2syWR1KkxuLxDYQ%
40mail.gmail.com?
> utm_medium=email&utm_source=footer>.