Wolfgang Schuster
Am 10.08.10 17:02, schrieb Elias Oltmanns:
In the attempt to customise my section headings by means of \setuphead[section][...command=]
I followed the instructions at http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings . For the purposes of testing, I've installed a current minimals distribution. As it turns out, neither MkII nor MkIV processes the attached example as expected: MkII The table of contents is incomplete, even though the wiki says it shouldn't be; MkIV \currentheadnumber seems to be 0 all the time. [...]
%%%%%%%%%% \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]
\setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect }{}]
Since I need customised headings like above in the same document that also features footnotes in the margin, I'm wedged now. As explained in http://archive.contextgarden.net/message/20100812.153552.6606809c.en.html , I'm forced to use MkII to get footnote ordering right. On the other hand, only MkIV produces a complete table of contents when I customise the headings in that document. Is there any chance to get one of those bugs fixed or to find a suitable workaround in either of the two versions of ConTeXt? Thank you ever so much for any help, Elias