-
Notifications
You must be signed in to change notification settings - Fork 128
INDEX
Tobias Wrigstad edited this page Nov 13, 2020
·
20 revisions
Here is how we indicate index entries in the XML:
-
<INDEX>
: the usual rendering is applied to the content of the element -
<SUBINDEX>
: optional tag for subindex within index: the usual rendering is applied to the content of the element -
<ORDER>
: optional tag within<INDEX>
and<SUBINDEX>
to define the order in which the element appears in the (sub)index Before the closing tag , we allow parentheses: -
<INDEX>... |(</INDEX>
...<INDEX>...|)</INDEX>
Such elements need to appear in pairs to indicate page ranges. The opening element needs to appear in the source documents before the closing element.
The PDF edition currently features an index. The ebook and web editions don't have an index at the moment; users need to rely on search for those editions.
SICP coding standard mandates that index terms are on their own line. This may add trailing white space between the end of prose and an index, which in LaTeX may lead to lines overflowing with an entirely blank next line. This is extremely rare (<1 occurrence per mille!). If this happens, insert a comment between the prose and index terms to consume the space, like so:
<UL>
<LI>
<B>primitive expressions</B>, which represent the simplest
entities the language is concerned with,<!--
--><INDEX>primitive expression</INDEX>
</LI>
<LI>
<B>means of combination</B>, by which compound
elements are built from simpler ones, and<!--
--><INDEX>means of combination</INDEX><!--
--><INDEX>combination, means of</INDEX>
</LI>
<LI>
<B>means of abstraction</B>, by
which compound elements can be named and manipulated as units.<!--
--><INDEX>means of abstraction</INDEX>
</LI>
</UL>