On 5/24/05, Mojca Miklavec <[EMAIL PROTECTED]> wrote:
> 
> I don't know the mechanisms behind the scenes, but I suppose that you
> override placing the chapter in TOC if you make your own
> "command=\MyChapterCommand".
> 
> (Line 2034 in core-sec.tex is \c!command=\@@placehead. Is this one
> perhaps responsible for the strange behavior?)
> 
> However this solves the problem:
> 
> 
> \setuphead
>     [chapter]
>     [textcommand=\MyChapterTextCommand,
>      numbercommand=\MyChapterNumberCommand]
> 
> \def\MyChapterNumberCommand#1{} % hide chapter number
> 
> \def\MyChapterTextCommand#1%
>     {\externalfigure[chapter-\currentheadnumber][height=5cm]}

Wow, it works :-)
Thank you a lot,
Regards

-- 
http://vnoss.org - Vietnamese Open Source Software Community
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to