Thank you, Hans.
I would had never figured out that combination of commands.
I'll play with that starting point.
Ciro
-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
https://www.createspace.com/3392936
On Sun, Aug 9, 2009 at 4:30 PM, Hans Hagen wrote:
> Ciro Soto wrote:
>>
>> I started a small project of ~100 pages and tried to do it with
>> Scribus since it required pictures, inserts, etc.
>> I found that Scribus was not going to be able to handle the task so
>> easily. So I am back to Context.
>>
>> Here is my task: in the right pages, I want the text (~50 pages of
>> text) and in the left pages I would like
>> a picture and a quotation coming from the right page (this quotation I
>> am willing to do manually).
>> My question is, how do I make one \setuplayout for the odd pages, and
>> another for the even pages?
>> I may use pictures that bleed over the upper left corner of the left
>> page.
>>
>> I used the option \placefigure [opposite], which puts the picture in
>> the opposite page, very nice. However,
>> I have two problems with it: it may put the picture in the right page
>> (opposite to the text in the left page),
>> and I can't make the picture bleed because my \setuplayout is for both
>> pages.
>>
>> I can work with what I have done so far, but I wonder if my task is
>> possible with the current Context macros.
>
> a starting point ...
>
> \setuppagenumbering[alternative=doublesided]
>
> \setuplayout[odd] [width=5cm,state=start]
> \setuplayout[even][width=15cm,state=start]
>
> \definelayer[whatever][doublesided=yes]
>
> \setupbackgrounds[text][background=whatever]
>
> \appendtoks\ifodd\realpageno\else\null\page\fi\to\everyafteroutput
>
> \starttext
> \dorecurse{10}{\input tufte \par
> \setlayer[whatever][left][preset=lefttop]{left}}
> \stoptext
>
>
> (the appendtoks is somewhat hacky, maybe we should have it as built in
> feature)
>
> -
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
>
___
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___