From: Ciro Soto <ciro@kavyata.com>
To: context <ntg-context@ntg.nl>
Subject: Re: back to Context
Date: Sun, 9 Aug 2009 17:11:42 -0400 [thread overview]
Message-ID: <297ee2eb0908091411h7ddc451fyae18420715475a5@mail.gmail.com> (raw)
In-Reply-To: <4A7F31DC.30704@wxs.nl>
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<pragma@wxs.nl> 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
___________________________________________________________________________________
prev parent reply other threads:[~2009-08-09 21:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-08 14:49 Ciro Soto
2009-08-09 20:30 ` Hans Hagen
2009-08-09 21:11 ` Ciro Soto [this message]
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=297ee2eb0908091411h7ddc451fyae18420715475a5@mail.gmail.com \
--to=ciro@kavyata.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).