From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76334 Path: news.gmane.org!not-for-mail From: Andy Thomas Newsgroups: gmane.comp.tex.context Subject: Re: doublesided wider paragraphs Date: Tue, 22 May 2012 22:05:03 +0200 Message-ID: References: <0241558D-2E6D-4A66-AB31-539949A4140B@googlemail.com> <6D72986F-9908-496E-B53A-C76891FB17A5@web.de> <27005B7C-3F28-4FBD-A022-19DBA8220D47@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1337717120 18543 80.91.229.3 (22 May 2012 20:05:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 May 2012 20:05:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 22 22:05:19 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SWvKY-0001tz-Ij for gctc-ntg-context-518@m.gmane.org; Tue, 22 May 2012 22:05:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5745E101DD; Tue, 22 May 2012 22:05:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id B96erPJrRkl8; Tue, 22 May 2012 22:05:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8CBB101E0; Tue, 22 May 2012 22:05:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 171F6101E0 for ; Tue, 22 May 2012 22:05:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QuonYaamGGjF for ; Tue, 22 May 2012 22:05:13 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 771FF101DD for ; Tue, 22 May 2012 22:05:13 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.15.3]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4MK5CN7015212 for ; Tue, 22 May 2012 22:05:13 +0200 Original-Received: from [10.0.1.2] ([78.94.219.187]) by smtp.web.de (mrweb001) with ESMTP (Nemesis) id 0M0hsk-1SDU4H3eHe-00uqzC; Tue, 22 May 2012 22:05:11 +0200 In-Reply-To: <27005B7C-3F28-4FBD-A022-19DBA8220D47@googlemail.com> X-Mailer: Apple Mail (2.1257) X-Provags-ID: V02:K0:V9J6M2dS+ALOz77V7R3HXpJQeIEhz9Fe4IPpmIgvqIm sW13weF75ewiLmzTD1JqQaE35KPe1Gc6ZJdLDMYAMQ2sTz6pED YgfwJqiTaepI+vxt9IA/RklyAxj55tpKhyJM1gop2x2X97LM1C SG3Wz41xYyA1AyBsegC4IHy60o4bmn3r+l71NJRLQV7eCZNNUf fHM0BT8YxEFjYAfP+aSVQ== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.3; country=DE; region=02; city=Munich; latitude=48.1500; longitude=11.5833; http://maps.google.com/maps?q=48.1500,11.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NHd85ce6 - 8a8f959dc03c - 20120522 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76334 Archived-At: This works. Thank you for help. Andy On May 22, 2012, at 7:44 PM, Wolfgang Schuster wrote: > = > Am 22.05.2012 um 19:29 schrieb Andy Thomas: > = >> It only works without my page layout. Did I make a mistake using \setupl= ayout? With \showframe it looks fine though. > = > You=92re setting leftmargin to 0pt but I used in my example this value to= calculate the additional space. When you set the argument for \doadapt=85 = to a fixed value it will produce the right output but you can get an unexpe= cted output when the fullwidth environment appears at the start of a new pa= ge. > = > \definepapersize[wissenschaft][width=3D170mm,height=3D240mm] > \setuppapersize [wissenschaft] > = > \setuplayout > [topspace=3D40pt, > header=3D0pt, > headerdistance=3D0pt, > backspace=3D42pt, > leftmargin=3D0pt, > width=3D280pt, > height=3D560pt, > rightmargindistance=3D20pt, > rightmargin=3D100pt, > footer=3D0pt] > = > \setuppagenumbering[alternative=3Ddoublesided] > = > \usemodule[annotation] > = > \define[2]\FullwidthCommand > {\doifoddpageelse > {\doadaptrightskip{-120pt}} > {\doadaptleftskip {-120pt}}% > #2} > = > \defineannotation > [fullwidth] > [alternative=3Dcommand, > command=3D\FullwidthCommand] > = > \starttext \showframe > = > \input tufte > = > \startfullwidth > \input tufte > \stopfullwidth > = > \input knuth > = > \startfullwidth > \input tufte > \stopfullwidth > = > \input tufte > = > \startfullwidth > \input tufte > \stopfullwidth > = > \input tufte > = > \stoptext > = > Wolfgang > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________