From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50471 Path: news.gmane.org!not-for-mail From: Piotr Kopszak Newsgroups: gmane.comp.tex.context Subject: Re: The ultimate (?) float problem Date: Thu, 14 May 2009 11:17:17 +0200 Message-ID: References: <37E3BE17-0253-481C-87AB-7AEAF8771C85@gmail.com> Reply-To: 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 1242292721 9433 80.91.229.12 (14 May 2009 09:18:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 09:18:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 14 11:18:32 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M4X4z-0006X6-Qz for gctc-ntg-context-518@m.gmane.org; Thu, 14 May 2009 11:18:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED9211FC82; Thu, 14 May 2009 11:18:16 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06815-02; Thu, 14 May 2009 11:17:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 27D511FE23; Thu, 14 May 2009 11:17:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 87E9F1FE23 for ; Thu, 14 May 2009 11:17:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05803-02 for ; Thu, 14 May 2009 11:17:25 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id EF54B1FC82 for ; Thu, 14 May 2009 11:17:24 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4E9HOSb023486 for ; Thu, 14 May 2009 11:17:24 +0200 Original-Received: by fg-out-1718.google.com with SMTP id e21so386701fga.8 for ; Thu, 14 May 2009 02:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8zMRbb2YmVJfmUTmlCDMVelC1ZARsrPNYnlltT15uCc=; b=a7TnCUYmIBak1Xx+BLiDMcKKrVnmi9xFnQXLO/ltIikivFGsLO3OCOBj8tc4A4eRov t3WLC4qZlZjvru/ao7rHcrI1Yt1uIMjxJNAPrJDiKW+gfqfeaAspQrFWF2xk3vpA/2Z3 liFcFoaEJVZpeTMD7Uyb0t3YbPxRxyvK4kPw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lyOFNCNsWjnkc0PWnpBkGxFPKoi8xEo89h+z6bWRSwqxdDNIuP3Ib65HOtK10qMPr0 NCxkxZon4GAc4Efp24+ULrQsOvkCuHJxXVxgdfk0qlplq0/Y4qIbvzkTYq2uYsyejRdU QkQLgQLGjx9d4nA3AsENqDWX2ZXsZu4Di9WPw= Original-Received: by 10.86.68.10 with SMTP id q10mr2257431fga.78.1242292637805; Thu, 14 May 2009 02:17:17 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.152; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 225291449 - 11d8731441ca - 20090514 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50471 Archived-At: I think I more or less got the idea of what is possible. But let me describe my project. Maybe you might come up with a better solution. I'm going to typeset a diary written and drawn by an illustrator and graphic designer 70 years ago. What is unique, it consists of handwritten pages which were already composed for publication. So in fact I have to preserve both the juxtaposition of illustrations and the text (give or take line or two). As basically the text should not flow between pages I guess I could set the whole thing with layers only. The biggest problem seems how to control placement of layers so that the text inside them is set on the grid. Here is my initial setup for a single page. \definelayer [figure][width=3D\overlaywidth,height=3D\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors[state=3Dstart] \setupbackgrounds[page][background=3Dfigure] \setuppagenumbering[location=3D{footer,right}] \usetypescript[palatino] \setupbodyfont[palatino,14pt] \starttext \startbuffer[zapf] \input zapf \stopbuffer \startbuffer[hawking] \input hawking \stopbuffer \flushlayer[figure] \startsetups figure \setlayerframed[figure][frame=3Doff,x=3D25mm,y=3D43mm]{\externalfigure[cow]= [width=3D\textwidth,height=3D40mm]} \setlayerframed[figure][frame=3Doff,x=3D25mm,y=3D90mm,align=3Dnormal,width= =3D\textwidth]{\getbuffer[zapf]} \setlayerframed[figure][frame=3Doff,x=3D80mm,y=3D150mm]{\externalfigure[cow= ][width=3D30mm,height=3D100mm]} \setlayerframed[figure][frame=3Doff,x=3D25mm,y=3D150mm,align=3Dnormal,width= =3D50mm]{\getbuffer[hawking]} \setlayerframed[figure][frame=3Doff,x=3D120mm,y=3D150mm,align=3Dnormal,widt= h=3D50mm]{\getbuffer[hawking]} \stopsetups \stoptext Of course, it looks like it's going to take couple of months of rather tedious manual work so any ideas how to make it easier are welcome. Piotr 2009/5/12 luigi scarso : > > > On Tue, May 12, 2009 at 3:32 PM, Wolfgang Schuster > wrote: >> >> Am 12.05.2009 um 15:18 schrieb Piotr Kopszak: >> >>> Yes, exactly. >> >> \setuppapersize [S6] >> \setuptolerance [soepel,rek] > > better > > \setuppapersize [S6][S6] > \setuptolerance [tolerant,stretch] > -- > luigi > > > _________________________________________________________________________= __________ > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > > -- = http://okle.pl ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________