From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20441 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: replace chapter text by an image, possible ? Date: Thu, 19 May 2005 23:55:26 +0200 Message-ID: <428D0B4E.9080402@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116540004 21105 80.91.229.2 (19 May 2005 22:00:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 22:00:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 19 23:59:53 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYt1d-0002nS-UD for gctc-ntg-context-518@m.gmane.org; Thu, 19 May 2005 23:57:53 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E80712848; Thu, 19 May 2005 23:58:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19149-01; Thu, 19 May 2005 23:58:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 07CE112840; Thu, 19 May 2005 23:55:11 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F16E612840 for ; Thu, 19 May 2005 23:55:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18865-05 for ; Thu, 19 May 2005 23:55:09 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 21A3012833 for ; Thu, 19 May 2005 23:55:09 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j4JLt1NH023880; Thu, 19 May 2005 23:55:01 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 5B61921056; Thu, 19 May 2005 23:27:52 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id E2C0B17A31; Thu, 19 May 2005 21:27:50 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: VnPenguin , mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20441 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20441 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 -----------------------------------------------------------------