headers: numberconversion=something or \definestructureconversionset
hi list, i want to make an exercise sheet style. exercises are already correctly rendered as “*Exercise <1>: <Text>*”, but sub-exercises should simply be like “*<a>)*”. what i tried: \definestructureconversionset[ex][numbers,characters][numbers] \setupheads[numberconversion=ex] and \setuphead[subsection][numberconversion=characters, …] but i have no idea what i’m doing in the first case and even less idea of what i’m doing wrong in the second. documentation would help in both cases, but contextgarden just has some (for me) incomprehensible examples. thanks, philipp ------------------------------ what i’d really love to have is the following commands, but i’ll figure it out once i have above problem solved. “\sheet” reads the current sheet number from the file name and gives “*Sheet <1>*” as title level header. “\exercise[<descr>]” gives “*Exercise <1>*” without and “*Exercise <1>: <descr>*” as section level header. “\subexercise[<descr>]” gives “*<a>)*” without and “*<a>: <descr>)*” with description as subsection level header.
Am 08.12.2011 um 11:21 schrieb Philipp A.:
hi list,
i want to make an exercise sheet style. exercises are already correctly rendered as “Exercise <1>: <Text>”, but sub-exercises should simply be like “<a>)”.
what i tried:
\definestructureconversionset[ex][numbers,characters][numbers] \setupheads[numberconversion=ex]
sectionconversionset=…
and
\setuphead[subsection][numberconversion=characters, …]
sectionconversion=…
but i have no idea what i’m doing in the first case and even less idea of what i’m doing wrong in the second.
documentation would help in both cases, but contextgarden just has some (for me) incomprehensible examples.
For a list with the correct names of the keys look here (the “conversion” in the pdf for \setuphead is wrong but i fixed it in my local version): https://bitbucket.org/wolfs/commands/downloads Wolfgang
2011/12/12 Wolfgang Schuster
Am 08.12.2011 um 11:21 schrieb Philipp A.
hi list,
i want to make an exercise sheet style. exercises are already correctly rendered as “*Exercise <1>: <Text>*”, but sub-exercises should simply be like “*<a>)*”.
what i tried:
\definestructureconversionset[ex][numbers,characters][numbers] \setupheads[numberconversion=ex]
sectionconversionset=…
and
\setuphead[subsection][numberconversion=characters, …]
sectionconversion=…
but i have no idea what i’m doing in the first case and even less idea of what i’m doing wrong in the second.
documentation would help in both cases, but contextgarden just has some (for me) incomprehensible examples.
For a list with the correct names of the keys look here (the “conversion” in the pdf for \setuphead is wrong but i fixed it in my local version): https://bitbucket.org/wolfs/commands/downloads
Wolfgang
very nice, thanks. i willput it on contextgarden as soon as i figured out what exactly it does (i.e. how it works together with numbercommand)
participants (2)
-
Philipp A.
-
Wolfgang Schuster