Create a list entry

listmark

Listmarks are used for marking a section header so that it can be built into a table of contents or list of figures.

Syntax

There are four components to a listmark:

  1. The listmark delimiters, which consist of two left-parentheses (( and two right-parentheses ))
  2. The coalescer, which is an arbitrary name preceded by a fullstop .
  3. The interscribed heading, which is delimited by apostrophes ' '
  4. The adjunct heading, which is delimited by quotation marks " "
 ((.coalescer 'interscribed heading' "adjunct heading"))
The four components of a listmark

Definitions

The listmark delimiters mark the start and end of the expression.

The coalescer is used by the list builder to assemble headings into separate meaningful lists. It may be omitted.

The interscribed header is the phrase that is emitted into the document at the point in the manuscript where it occurs.

The adjunct header is the phrase used with the list builder. It is emitted into the document, together with all other adjunct headers, at the point in the manuscript where a !build-list pragma occurs.

You may use term-marks within both the interscribed header and the adjunct header to style individual parts of the text with italics, underlining, etc.

Examples

Here is what listmarks look like within the body of a manuscript.

div {
h1 Table of Contents
!build-list .toc *order=sequential *junctors=yes
}

h1 ((.toc '1: Physics' "Physics"))
...

h2 ((.toc '1.1 Motion' "-- Motion"))
...

h1 ((.toc '2: Chemistry' "Chemistry"))
...

h2 ((.toc '2.1 Covalence' "-- Covalence"))
...
Sample using listmark syntax

syntax > doppelmarks > listmarkCreate a list entry

Q