29.05.2014 Views

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Registers<br />

\writetolist[section]{}{---under construction---}<br />

\writebetweenlist[section]{\bl<strong>an</strong>k}<br />

contents<br />

index<br />

comm<strong>an</strong>ds<br />

23 Registers<br />

definitions<br />

colofon<br />

It is possible to generate one or more registers. By default the comm<strong>an</strong>d \index is<br />

available. If you w<strong>an</strong>t to add a word to the index you type:<br />

\index{town hall}<br />

The word town hall will appear as <strong>an</strong> index entry. An index is sorted in alphabetical<br />

order by <strong>an</strong> auxilliary program. Sometimes the index word does not appear in normal<br />

alphabetic order. For example, entries such as symbols have to provide extra sorting<br />

information in order to produce a correct alphabetical list:<br />

\index[minus]{$-$}<br />

Sometimes you have sub- or sub sub entries. These c<strong>an</strong> be defined as follows:<br />

\index{town hall+location}<br />

\index{town hall+architecture}<br />

You c<strong>an</strong> generate your indexlist with:<br />

exit<br />

or<br />

\placeindex<br />

\completeindex<br />

search +<br />

go back<br />

The comm<strong>an</strong>d \index is a predefined CONT E XT comm<strong>an</strong>d, but of course you c<strong>an</strong> also<br />

define your own registers.<br />

– +<br />

23 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!