From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76330 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: doublesided wider paragraphs Date: Tue, 22 May 2012 19:04:06 +0200 Message-ID: <0241558D-2E6D-4A66-AB31-539949A4140B@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337706269 26100 80.91.229.3 (22 May 2012 17:04:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 May 2012 17:04:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 22 19:04:29 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 1SWsVV-0003mw-BR for gctc-ntg-context-518@m.gmane.org; Tue, 22 May 2012 19:04:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8512101E7; Tue, 22 May 2012 19:04:24 +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 sIhnMUUXsHUp; Tue, 22 May 2012 19:04:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CFF41101E2; Tue, 22 May 2012 19:04:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE240101E2 for ; Tue, 22 May 2012 19:04:21 +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 sF4Yq4osDe6V for ; Tue, 22 May 2012 19:04:21 +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 F1DEF101E0 for ; Tue, 22 May 2012 19:04:20 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4MH4KhG027183 for ; Tue, 22 May 2012 19:04:20 +0200 Original-Received: by bkcjm19 with SMTP id jm19so7519088bkc.14 for ; Tue, 22 May 2012 10:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=Z1nTGSK1oBPTDw9Hv8HFsSdwJdPbCgOO2I65SBhn9Zo=; b=uWYi9Z9hEQrBLjQuYeqHWEiJwyeOdDNuVFxcgmuYFVHiB/EpX4TYhZUYusX0Yrx6BY oXXdPzMkwVFHw7+k73l9pUzJp9+uRf7XzMAiThZ8TxGD+qn3xG62k8v/dygWPG6aofrX Wdkv8rEq6nVwGwUZR4PF/PlOH4ae4Hmp1pINHCjYSuAyaXKix1QsxT7qwHZgGhjp4g0Q 7gOs3xlRf4h9TNvqG8kKf9kHVMncw8cJN8yo50ipr5KMsajH19M2H3tgoPwm82ksHDnj sgCLg/p41EIPPGzBqR0tZ8UuSl3CeH5qRVh3nxuyyFHj43OdIQ28VfrDT6QuLFW4uIQV VDDA== Original-Received: by 10.204.148.72 with SMTP id o8mr9183568bkv.127.1337706259918; Tue, 22 May 2012 10:04:19 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AF9E4F.dip.t-dialin.net. [87.175.158.79]) by mx.google.com with ESMTPS id n19sm33354842bkv.14.2012.05.22.10.04.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 May 2012 10:04:19 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 0NHd54kno - 77c4f72ef0ea - 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:76330 Archived-At: 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 ___________________________________________________________________________________