Difference between revisions of "Command/ register"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \<i>register</i>") |
|||
Line 4: | Line 4: | ||
<cd:shortdesc> | <cd:shortdesc> | ||
<!-- a short command summary goes here --> | <!-- a short command summary goes here --> | ||
− | The instances of <tt>\<i>register</i></tt> are used for | + | The instances of <tt>\<i>register</i></tt> are used for adding register entries. |
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 10: | Line 10: | ||
</cd:sequence> | </cd:sequence> | ||
<cd:instances> | <cd:instances> | ||
− | <cd:constant value="index"></cd:constant> | + | <cd:constant value="index">the standard register</cd:constant> |
</cd:instances> | </cd:instances> | ||
<cd:variants> | <cd:variants> | ||
Line 39: | Line 39: | ||
</cd:variants> | </cd:variants> | ||
<cd:description> | <cd:description> | ||
− | + | Adds a word or a phrase to a defined register. | |
+ | |||
+ | [[Registers#Processors|Processors]] are used for highlighting single entries. | ||
</cd:description> | </cd:description> | ||
<cd:examples> | <cd:examples> | ||
− | |||
<cd:example title=""> | <cd:example title=""> | ||
+ | <texcode> | ||
+ | \index{Simple entry} | ||
+ | \index{Entry+Subentry+Subsubentry} | ||
+ | \index[gravenhage]{’s Gravenhage} % different sorting | ||
+ | </texcode> | ||
</cd:example> | </cd:example> | ||
− | |||
</cd:examples> | </cd:examples> | ||
<cd:notes> | <cd:notes> | ||
Line 69: | Line 74: | ||
<cd:source file="strc-reg.mkiv" originator="system"></cd:source> | <cd:source file="strc-reg.mkiv" originator="system"></cd:source> | ||
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Structure"></cd:wikipage> | ||
+ | |||
+ | <cd:commandref name="placeindex">(instance of {{gen|placeregister}})</cd:commandref> | ||
+ | <cd:commandref name="defineprocessor"></cd:commandref> | ||
+ | <cd:wikipage page="Registers"></cd:wikipage> | ||
+ | |||
</cd:seealso> | </cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 11:47, 21 August 2020
Contents
\register
Summary
The instances of \register are used for adding register entries.
Instances
\index | the standard register |
Settings instance
Settings instance:ownnumber
Description
Adds a word or a phrase to a defined register.
Processors are used for highlighting single entries.
Examples
Example 1
\index{Simple entry} \index{Entry+Subentry+Subsubentry} \index[gravenhage]{’s Gravenhage} % different sorting