From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65061 Path: news.gmane.org!not-for-mail From: Felix Ingram Newsgroups: gmane.comp.tex.context Subject: External figures in section headings Date: Sun, 9 Jan 2011 16:33:34 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294590838 1439 80.91.229.12 (9 Jan 2011 16:33:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 Jan 2011 16:33:58 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 09 17:33:54 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PbyDK-0004Mf-5I for gctc-ntg-context-518@m.gmane.org; Sun, 09 Jan 2011 17:33:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 604DBCAA56; Sun, 9 Jan 2011 17:33:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ja28kWb8ebz9; Sun, 9 Jan 2011 17:33:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C045CAA4B; Sun, 9 Jan 2011 17:33:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F733CAA4B for ; Sun, 9 Jan 2011 17:33:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ywtq3zuDsMh5 for ; Sun, 9 Jan 2011 17:33:38 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 5DDE7CAA48 for ; Sun, 9 Jan 2011 17:33:38 +0100 (CET) Original-Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p09GXZuf012048 for ; Sun, 9 Jan 2011 17:33:36 +0100 Original-Received: by pzk27 with SMTP id 27so4544602pzk.14 for ; Sun, 09 Jan 2011 08:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=uyr1MZ5RFrd2TWkEPWPSUTU5qwIO5/zww3J0Aqp1Hh0=; b=kX+ftAw5n/1K3IVnCK3p/0i94jsLvHys30w15l8mavC8UQnMhBQTBB2j/bqHpeWk27 wr22U5kRnX2VrXaS3cGshC4FYrT3+TJqvUlddRYzGe6wL9pEqV0I7IP+aYnuBz4spQAH hOrGygXlL5rX7kY74Zy6Xnl9q3u1YSpU0pK9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uiI9Ti68Sll8fckM82hoKNIfV69Q2/11v+/xe5vcXi1ANUNII76MVRpjg2oKCy4zZo rwfru2A86R0F/BCnDq0DklkMokHLXRYwXoo0+rLyllZF1ZQoWBCuIPzZ5X/3ssCdTkUn 9v4EJMTSHjlyrfReMDeXNPXdsrk5NHUAV0quU= Original-Received: by 10.142.207.8 with SMTP id e8mr1894479wfg.164.1294590814437; Sun, 09 Jan 2011 08:33:34 -0800 (PST) Original-Received: by 10.142.226.17 with HTTP; Sun, 9 Jan 2011 08:33:34 -0800 (PST) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.210.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0DDRsxz9G - 2e3a08cfec20 - 20110109 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:65061 Archived-At: Hello all, I need to have an image as part of my section headings. I've read through an example in the "It's in the details" manual and came up with the following example: \definelayer[chapterstart][width=\paperwidth,height=\paperheight] \definelayerpreset[lefttop][corner={left,top},location={right,bottom}] \setlayer[chapterstart][preset=lefttop]{\externalfigure[hacker.jpg]} \setuphead[chapter][before={\setupbackgrounds[page][background=chapterstart]}] \starttext \chapter{First chapter} \chapter{Second chapter} \stoptext This works very well for the first chapter: the picture is inserted behind the text as I want but nothing is inserted behind the second chapter heading. I've been able to add extra details to the setuphead; these are repeated but the picture is not. Can anyone see what I'm doing wrong? I get the same behaviour whether I use version II or IV. Many thanks in advance, Felix ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________