Changes

Jump to navigation Jump to search
Created page with "{{Reference|name=definestrcutureconversionset|attributes=}} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class=..."
{{Reference|name=definestrcutureconversionset|attributes=}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\definestrcutureconversionset<span class="first">[name]</span><span class="second">[...,list,...]</span><span class="third">[default]</span>
</td>
</tr>
<!-- -->
<tr valign="top" class="first">
<td>[name]</td>
<td><i>Name of the conversion set</i></td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[list,...]</td>
<td><i>List with explicit settings for certain headings</i></td>
</tr>
<tr valign="top" class="third">
<td class="cmd">[default]</td>
<td><i>Default setting if no explicit conversion is set</i></td>
</tr>
<!-- -->
</table>
<!--
* <span class="cmd" class="first"> name</span> = name of the conversion set
* <span class="cmd" class="second">list</span> = list with explicit settings for certain headings
* <span class="cmd" class="third">default</span> = 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 <code>\setuphead</code> for prefixconverionset in <code>\setupcaption</code>, <code>\setupenumeration</code> etc. The name of the conversion can be prefixed with the name of a sectionblock, e.g. <code>\definestructureconverionset[bodypart:myconversion][A,I,n,R][numbers]</code>.

With the second argument you can set a conversion of the counter for the headings, the list starts always with the <code>\part</code> level and continues with <code>\chapter</code> 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 ==
<!-- Please fill in an example if you can -->

== See also ==
<!-- something like [[cmd:goto|\goto]] -->
[http://http://www.ntg.nl/pipermail/ntg-context/2012/065245.html Wolfgang's answer in the mail archive]

[[Category:Reference/en|definestrcutureconversionset]]
105

edits

Navigation menu