24 May
2005
24 May
'05
8:06 p.m.
On 5/24/05, Mojca Miklavec
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