Difference between revisions of "Command/definestructureconversionset"
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Forum == All issues with:") |
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==") |
||
Line 48: | Line 48: | ||
[http://http://www.ntg.nl/pipermail/ntg-context/2012/065245.html Wolfgang's answer in the mail archive] | [http://http://www.ntg.nl/pipermail/ntg-context/2012/065245.html Wolfgang's answer in the mail archive] | ||
− | == Help from ConTeXt-Forum == | + | == Help from ConTeXt-Mailinglist/Forum == |
All issues with: | All issues with: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|definestrcutureconversionset]] | [[Category:Commands|definestrcutureconversionset]] |
Revision as of 00:50, 18 March 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: