From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76331 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 19:29:23 +0200 Message-ID: <6D72986F-9908-496E-B53A-C76891FB17A5@web.de> References: <0241558D-2E6D-4A66-AB31-539949A4140B@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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337707781 6292 80.91.229.3 (22 May 2012 17:29:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 May 2012 17:29:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 22 19:29:40 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 1SWstv-0001cA-4S for gctc-ntg-context-518@m.gmane.org; Tue, 22 May 2012 19:29:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88C73101EB; Tue, 22 May 2012 19:29:38 +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 gEo--jQQk0Gs; Tue, 22 May 2012 19:29:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D747101E2; Tue, 22 May 2012 19:29:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3826101E2 for ; Tue, 22 May 2012 19:29:33 +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 CUBoDlHscQVq for ; Tue, 22 May 2012 19:29:32 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id A3542101E0 for ; Tue, 22 May 2012 19:29:32 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.15.4]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4MHTVRu027742 for ; Tue, 22 May 2012 19:29:32 +0200 Original-Received: from [10.0.1.2] ([78.94.219.187]) by smtp.web.de (mrweb001) with ESMTP (Nemesis) id 0MBTTa-1SOfQD2itq-00AUja; Tue, 22 May 2012 19:29:31 +0200 In-Reply-To: <0241558D-2E6D-4A66-AB31-539949A4140B@googlemail.com> X-Mailer: Apple Mail (2.1257) X-Provags-ID: V02:K0:emiTvwPn/N/HKUTsV2/ZLsJclbhKgyiJGJ+didwmhCA YsY/TrJIUFXQ1NckBoPglp/pNuZxfl15XL9yNj+2eqvPgXC8hJ zEPbk2m2Y998PewlH+XpqWSK7mnr9xLqVwfvpcrIBqPCIwZ3Pc d9oj5LtTaALDEu+zIkBRzZM7AQIn6RPlR/2y1lzEcvxBhK2yY8 gyEgRtNWsgd7ifRcEjuTA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.4; 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: 03Hd5tvNJ - 0771110d634e - 20120522 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:76331 Archived-At: It only works without my page layout. Did I make a mistake using \setuplayout? With \showframe it looks fine though. Andy On May 22, 2012, at 7:04 PM, Wolfgang Schuster wrote: > > Am 22.05.2012 um 18:11 schrieb Andy Thomas: > >> Hello, >> >> I am trying to change the width of a paragraph on a page. I found \defineparagraphs and \setupparagraphs and it almost works. But for doublesided documents the text on verso pages is incorrectly aligned. I tried [location=inner], but the macros do not seem to be aware of that. I also found \startlocal (\startlokaal) in the ConTeXt getting started pdf, but Mk IV does not know \startlocal (any more?). >> >> My example: >> >> % setup the page format >> \definepapersize[wissenschaft][width=170mm,height=240mm] >> % use the new page format >> \setuppapersize[wissenschaft] >> % shape the page >> \setuplayout[topspace=40pt, >> header=0pt, >> headerdistance=0pt, >> backspace=42pt, >> leftmargin=0pt, >> width=280pt, >> height=560pt, >> rightmargindistance=20pt, >> rightmargin=100pt, >> footer=0pt] >> %\showframe >> \setuppagenumbering[alternative=doublesided] >> >> \defineparagraphs >> [fullwidth][n=1,before={\blank},after={\blank}] >> \setupparagraphs >> [fullwidth][1][width=400pt] >> >> \starttext >> \input tufte >> \startfullwidth >> \input tufte >> \stopfullwidth >> \input knuth >> \startfullwidth >> \input tufte >> \stopfullwidth >> \input tufte >> \stoptext >> >> My questions are: Is there no more \startlocal, how to locally adjust the layout on a page and how to make the example work? > > \usemodule[annotation] > > \define[2]\FullwidthCommand > {\doifoddpageelse > {\doadaptrightskip{-\the\dimexpr\rightmarginwidth+\rightmargindistance\relax}} > {\doadaptleftskip {-\the\dimexpr\leftmarginwidth +\leftmargindistance \relax}}% > #2} > > \defineannotation[fullwidth][alternative=command,command=\FullwidthCommand] > > \setuppagenumbering[alternative=doublesided] > > \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-context > 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 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________