
I'm not certain that mixing 'grouper and non-'grouper parts at a given level makes sense. Still, this adjustment brings Scribble section counting more in line with Latex, so that section links are less likely to have the wrong number label.
30 lines
526 B
Racket
30 lines
526 B
Racket
#lang scribble/base
|
|
|
|
@title{Example}
|
|
|
|
@table-of-contents[]
|
|
|
|
@; ----------------------------------------
|
|
|
|
@section[#:style 'grouper]{Arbitrarily Small Data}
|
|
|
|
@subsection[#:tag "A"]{A}
|
|
|
|
See @secref["A"] and @secref["B"].
|
|
|
|
@; ----------------------------------------
|
|
|
|
@section[#:style '(unnumbered)]{Intermezzo}
|
|
|
|
@subsection[#:style '(unnumbered)]{More}
|
|
|
|
Nothing here.
|
|
|
|
@; ----------------------------------------
|
|
|
|
@section[#:style 'grouper]{Arbitrarily Large Data}
|
|
|
|
@subsection[#:tag "B"]{B}
|
|
|
|
See @secref["A"] and @secref["B"].
|