ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* blank overlay
@ 2014-06-03 14:27 john Culleton
  2014-06-03 17:47 ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: john Culleton @ 2014-06-03 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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?

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: blank overlay
  2014-06-03 14:27 blank overlay john Culleton
@ 2014-06-03 17:47 ` Peter Rolf
  2014-06-03 19:25   ` john Culleton
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2014-06-03 17:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: blank overlay
  2014-06-03 17:47 ` Peter Rolf
@ 2014-06-03 19:25   ` john Culleton
  0 siblings, 0 replies; 3+ messages in thread
From: john Culleton @ 2014-06-03 19:25 UTC (permalink / raw)
  To: ntg-context

On Tue, 03 Jun 2014 19:47:14 +0200
Peter Rolf <indiego@gmx.net> wrote:

> 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
> ___________________________________________________________________________________
> 
> 
> _______________________________________________________
> Unlimited Disk, Data Transfer, PHP/MySQL Domain
> Hosting http://www.doteasy.com 

One of your examples, the watermark one,
reminded me of what I had left off. It was the
lines:

\setuppagenumbering
 [alternative=doublesided]

Dum de dum dum!

Now I have the thumbnail mark on odd but not on
even pages.

I still have a few more bits to fiddle but that
got me around my problem.

I took Hans' MKIV thumb index example and hacked
away from that point onward.

Thanks so much for your multiple examples! I was
about to retreat to Scribus. The problem with
that program is that the pdf files are about five
times bigger than a corresponding pdf from
Context.
 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-03 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-03 14:27 blank overlay john Culleton
2014-06-03 17:47 ` Peter Rolf
2014-06-03 19:25   ` john Culleton

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).