Difference between revisions of "Command/definestructureconversionset"

From Wiki
Jump to navigation Jump to search
m
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
Line 45: Line 45:
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
 
[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]
  

Revision as of 04:40, 23 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: