That's it. Now the corresponding entry in the TOC should be without sectionnumber, but setuplist[...][sectionnumber=no] doesn't work. And looking in the manual I saw that this command is listed for setuplist, but listed italic?! Steffen Am 31.07.2006 um 00:51 schrieb Aditya Mahajan:
On Mon, 31 Jul 2006, Hans Hagen wrote:
Steffen Wolfrum wrote:
Well, looks good, BUT if the chapter's name is quite long and needs a break then the break command used there (\crlf \break \\) can't work anymore ....
\setuphead[chapter] [command=\Sectioncommand, style=, textstyle=\bfb, numberstyle=\it]
\def\Sectioncommand#1#2% {\vbox \bgroup \framed[align=middle,frame=off,offset=0pt]{Chapter #1}% \framed[align=middle,frame=off,offset=0pt]{#2}% \egroup}
or something alike
You also need to specify width of the frame, otherwise width=fit is default and framed box does not appear to be middle aligned.
Aditya _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context