Hi again,

sorry for bothering you so persistently, but I really did try to hard to
find a solution -- and failed:
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.

There is a possibility, of course, that something is wrong with my setup
of ConTeXt. But I just did another
% ./first-setup.sh --context=current

Thanks in advance for any hint,

Elias


%%%%%%%%%%
\setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]
\def\Myhead#1{%
    Sect \currentheadnumber}
\def\Mynum#1{}
\starttext
\completecontent
\chapter{First chapter}
\section{First section}
Some text.

\chapter{Second chapter}
Introductory text.

\section{First section}
More text.

\section{Second section}
The end.
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to