From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: blank overlay
Date: Tue, 03 Jun 2014 19:47:14 +0200 [thread overview]
Message-ID: <538E0A22.90900@gmx.net> (raw)
In-Reply-To: <20140603102718.11fcfacc@localb.wexfordpress.net>
Am 03.06.2014 16:27, schrieb john Culleton:
>
> I need a graphic (a thumbnail) on the right hand
> pages but not on the left hand pages. Following
> the instructions in the Metafun Manual page 168 I
> have assigned different pairs to the two
> overlays:
> \startuseMPgraphic{right page}
> ...
> \stopuseMPgraphic
>
> and
> \startuseMPgraphic{left page}
> \stopuseMPgraphic
>
> In the left hand area I want to just create a
> minimal structure that replaces the right hand
> graphic overlay.
>
> What is the minimal code I can use between the
> start and stop statements?
>
Not sure if I understand you right, but let's give it a try :-)
You can use 'Start|Stoppage' in combination with your icon, but you end
up with a graphic as big as the page (not visible and a small data
footprint, but still some kind of 'layer mess'). Probably not the best
way to do this in ConTeXt. Anyway...
StartPage;
draw <something> xyshifted(x,y); % shift to the desired position
StopPage;
Better alternative:
http://wiki.contextgarden.net/Layers
Example: placing a logo to the top right corner of the page
And for the different setup on left|right pages see
http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers
The latter link is also at the bottom of the layer related page.
HTH, Peter
___________________________________________________________________________________
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 prev parent reply other threads:[~2014-06-03 17:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 14:27 john Culleton
2014-06-03 17:47 ` Peter Rolf [this message]
2014-06-03 19:25 ` john Culleton
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=538E0A22.90900@gmx.net \
--to=indiego@gmx.net \
--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).