From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52156 Path: news.gmane.org!not-for-mail From: Ciro Soto Newsgroups: gmane.comp.tex.context Subject: Re: back to Context Date: Sun, 9 Aug 2009 17:11:42 -0400 Message-ID: <297ee2eb0908091411h7ddc451fyae18420715475a5@mail.gmail.com> References: <297ee2eb0908080749h336dc553m4127f6b17858a0a2@mail.gmail.com> <4A7F31DC.30704@wxs.nl> Reply-To: ciro@kavyata.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249852322 7108 80.91.229.12 (9 Aug 2009 21:12:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Aug 2009 21:12:02 +0000 (UTC) To: context Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 09 23:11:55 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MaFgI-0003KG-BO for gctc-ntg-context-518@m.gmane.org; Sun, 09 Aug 2009 23:11:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFC9EC9A86; Sun, 9 Aug 2009 23:11:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BQVwn9REA8NS; Sun, 9 Aug 2009 23:11:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6F59C9A68; Sun, 9 Aug 2009 23:11:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E56C8C9A68 for ; Sun, 9 Aug 2009 23:11:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id doB+FQZ5t0Ca for ; Sun, 9 Aug 2009 23:11:42 +0200 (CEST) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by balder.ntg.nl (Postfix) with ESMTP id A0A6BC9A63 for ; Sun, 9 Aug 2009 23:11:42 +0200 (CEST) Original-Received: by ey-out-1920.google.com with SMTP id 3so788140eyh.38 for ; Sun, 09 Aug 2009 14:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=sm2+OK/s7IW2wqAfR795fy0t30coyIOUsABtvLOdfag=; b=j/f2JHf7IRTM8PMbO7SXJ1/RNkd5mQ3xqEUHvBV8VjcuRN4imdHsDmR2jMEcziB5Ej nc2oZaoldKbJSLx5I/c4bFA6dc228N9VmZHo+dJRhLHE28bjthQt088OYhlHc/7vtEJz YrL+/b8tI/G7s3tkObzbVFnhfvqOuKIGU1frQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=l4PY1aPl06jk8VA/Mq2ANbdNLR3QIBcSZWJaU4kqjwkkQ40FHVSipCTSaDF9DI8YbZ SIeHTDQ9zEKAyu2zU3Nsd0Di7PwHH2dx7bBCqg/OKin1FzzKKZDOeuvwLYd2Zrtrborp cVCRJs9d/UZJ+JCFn/p7uD0vIr/375NolpcdI= Original-Received: by 10.216.7.212 with SMTP id 62mr709589wep.92.1249852302103; Sun, 09 Aug 2009 14:11:42 -0700 (PDT) In-Reply-To: <4A7F31DC.30704@wxs.nl> X-Google-Sender-Auth: 8dfc105b7df71327 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:52156 Archived-At: 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 =A0pictures 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=3Ddoublesided] > > \setuplayout[odd] [width=3D5cm,state=3Dstart] > \setuplayout[even][width=3D15cm,state=3Dstart] > > \definelayer[whatever][doublesided=3Dyes] > > \setupbackgrounds[text][background=3Dwhatever] > > \appendtoks\ifodd\realpageno\else\null\page\fi\to\everyafteroutput > > \starttext > \dorecurse{10}{\input tufte \par > \setlayer[whatever][left][preset=3Dlefttop]{left}} > \stoptext > > > (the appendtoks is somewhat hacky, maybe we should have it as built in > feature) > > ----------------------------------------------------------------- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0Hans Hagen | PRAGMA ADE > =A0 =A0 =A0 =A0 =A0 =A0 =A0Ridderstraat 27 | 8061 GH Hasselt | The Nether= lands > =A0 =A0 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________