VnPenguin wrote:
Hi all,
I would like to know if it's possible to replace the chapter text by an image ?
How to do that ? And in this case, how to insert a normal text into
TOC manually in order to have a normal TOC.
Thank you in advance,
thanks for asking a simple question -)
\useexternalfigure[chapter-1][cow.pdf]
\useexternalfigure[chapter-2][hacker.jpg]
\setuphead
[chapter]
[command=\MyChapterCommand]
\def\MyChapterCommand#1#2%
{\externalfigure[chapter-\currentheadnumber][height=5cm]}
\starttext
\chapter{One}
\chapter{Two}
\stoptext
this solution looks wiki-able to me, so ...
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context