▼ |  | Scriblib: Extra Scribble Libraries

1 | Examples Using the GUI Toolbox
2 | Figures
3 | Bibliographies
4 | Bib Te X Bibliographies
5 | Footnotes
6 | Conditional Content
7 | Book-Style Indexing

On this page:

book-index-style-properties

8.2
top ← prev up next →

### 7`` Book-Style Indexing

(require scriblib/book-index) | package: scribble-lib

Provides a list of style properties to attach to a Scribble document that contains an index part, making the index more suitable for a traditional rendering on paper. The style properties cause index entries to be merged when they have the same content, with (potentially) multiple page numbers attached to the merged entry.

> > value

> > book-index-style-properties : list?

Combine these style properties with others for the style of a part (typically specified in title) for a document that contains an index. The style properties enable index merging and select an implementation based on the cleveref Latex package.

Example:

> #lang scribble/base
> @(require scriblib/book-index
> (only-in scribble/core make-style))
> @title[#:style (make-style #f book-index-style-properties)]{Demo}
> This paragraph is about @as-index{examples}.
> This paragraph is about @as-index{examples}, too.
> @index-section[]

top ← prev up next →