parts as the top-level unit in books

27 views
Skip to first unread message

Shriram Krishnamurthi

unread,
Apr 21, 2021, 10:56:33 AM4/21/21
to Racket Users
The Scribble Book format


has the chapter as the highest-level unit. For a book with lots of chapters, it's useful to have a higher-level unit, like a part. (E.g., How to Design Programs is broken down by parts, and the parts contain chapters.)

What's the cleanest way to configure Scribble to do parts atop chapters?

Thanks,
Shriram

Matthew Flatt

unread,
Apr 21, 2021, 10:59:40 AM4/21/21
to Shriram Krishnamurthi, Racket Users
You can use 'grouper as a style property for a `part` that is meant to
be a *part*.

https://docs.racket-lang.org/scribble/core.html?q=part#%28def._%28%28lib._scribble%2Fcore..rkt%29._part%29%29

At Wed, 21 Apr 2021 07:56:33 -0700 (PDT), Shriram Krishnamurthi wrote:
> The Scribble Book format
>
> https://docs.racket-lang.org/scribble/Book_Format.html?q=scribble%20book
>
> has the *chapter* as the highest-level unit. For a book with lots of
> chapters, it's useful to have a higher-level unit, like a *part*. (E.g., *How
> to Design Programs* is broken down by parts, and the parts contain
> chapters.)
>
> What's the cleanest way to configure Scribble to do parts atop chapters?
>
> Thanks,
> Shriram
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to racket-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/81334a4e-d6a8-42a5-90b6-212633c39
> fb0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages