Difference between revisions of "Command/definestructureconversionset"
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}") |
m (moved Command/definestrcutureconversionset to Command/definestructureconversionset: Typo in title) |
Revision as of 13:22, 3 July 2012
\definestrcutureconversionset
Syntax
\definestrcutureconversionset[name][...,list,...][default] | |
[name] | Name of the conversion set |
[list,...] | List with explicit settings for certain headings |
[default] | Default setting if no explicit conversion is set |
Description
The command defines conversion of internal counters.
The first argument is just the name which is used as argument for sectionconverionset in \setuphead
for prefixconverionset in \setupcaption
, \setupenumeration
etc. The name of the conversion can be prefixed with the name of a sectionblock, e.g. \definestructureconverionset[bodypart:myconversion][A,I,n,R][numbers]
.
With the second argument you can set a conversion of the counter for the headings, the list starts always with the \part
level and continues with \chapter
etc. but it’s possible leave entries empty.
With the third argument one can set a default value which is used when no value for a heading is set with the second argument.
Example
See also
Wolfgang's answer in the mail archive
Help from ConTeXt-Mailinglist/Forum
All issues with: