From: Felix Ingram <f.ingram.lists@gmail.com>
To: ntg-context@ntg.nl
Subject: External figures in section headings
Date: Sun, 9 Jan 2011 16:33:34 +0000 [thread overview]
Message-ID: <AANLkTim6tnFQDKstAtpMROAR3HrwM+cSLg8udk=LcQAD@mail.gmail.com> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2011-01-09 16:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-09 16:33 Felix Ingram [this message]
2011-01-09 20:39 ` luigi scarso
2011-01-09 21:36 ` Felix Ingram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTim6tnFQDKstAtpMROAR3HrwM+cSLg8udk=LcQAD@mail.gmail.com' \
--to=f.ingram.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).