On Tue, 03 Jun 2014 19:47:14 +0200
Peter Rolf
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