From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79612 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Narrower paragraphs Date: Wed, 28 Nov 2012 11:09:26 +0100 Message-ID: <163F8EA5-8402-4397-9F58-6BF81B6731F4@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354097381 2910 80.91.229.3 (28 Nov 2012 10:09:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2012 10:09:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 28 11:09:53 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 1TdeaR-0004hW-5u for gctc-ntg-context-518@m.gmane.org; Wed, 28 Nov 2012 11:09:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39069102E6; Wed, 28 Nov 2012 11:09:33 +0100 (CET) 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 v-BZDS5RfnLN; Wed, 28 Nov 2012 11:09:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 05018102D5; Wed, 28 Nov 2012 11:09:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCD18102D5 for ; Wed, 28 Nov 2012 11:09:28 +0100 (CET) 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 Tu18mV8npX4I for ; Wed, 28 Nov 2012 11:09:27 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 7E959102D4 for ; Wed, 28 Nov 2012 11:09:27 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qASA9QDY011558 for ; Wed, 28 Nov 2012 11:09:26 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so6543862bkc.14 for ; Wed, 28 Nov 2012 02:09:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=LnANxCH+gwb6ZYhMBSOgPdcSYKiVU+/v+ZOuYmLNNqo=; b=MBT6Y44SNFeY+6gQGDB/gUIA0MHlMzJFXTlFzrbG/oqK1BcsqxKMl3z4FSTkLrMsAC VLhAXDXmcgwTgrIZHUbD1jKxAfUxSf5auX0PMKsHDkfe6nINJl/W5r4rVeG78xGJarGM ISoKEzpdb5PbB2JTRjIGBNirlqVLKbc+ZxesCOkpYtM19hjCssC6m7zfzXA1G+TIxrSe ThebpV3AoFFDNJikHpHVZo1YlbcZKnMBWQ/tzzdM/0b2Iv9DnN7RAAu2KDzy6uVWTswK VE5TvBG+7nz0ID+uB+Ebj3Se2344McjV/P6+Sr2zESVHRayAJDDRf3CJEKsXmgXQ+sO0 BNCA== Original-Received: by 10.204.147.132 with SMTP id l4mr5626735bkv.20.1354097366128; Wed, 28 Nov 2012 02:09:26 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbf8619.pool.mediaWays.net. [77.191.134.25]) by mx.google.com with ESMTPS id o7sm5161915bkv.13.2012.11.28.02.09.24 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 02:09:25 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) 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: 0VIsW9qne - 4c407ad6c877 - 20121128 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79612 Archived-At: Am 23.11.2012 um 20:23 schrieb Aditya Mahajan : >> ... I probably found it (how easy!): >> = >> ---- >> \definestartstop >> [Rek] >> [before=3D{\blank\setupnarrower[left=3D\parindent,right=3D\parindent]\st= artnarrower}, >> after=3D{\stopnarrower\blank}, >> style=3D\em, >> ] >> ---- > = > (Untested, as I don't know if narrower accepts indent and style keys; if = not this should serve as a feature request :)) > = > \definenarrower > [Rek] > [left=3D\parindent, > right=3D\parindent, > indenting=3Dnext, > after=3D{\blank}, > style=3Dem] Requires latest version of the module (left/right margins are reversed when= you set =93doublesided=3Dyes=94). \usemodule[annotation] \defineannotationalternative [narrow] [ alternative=3Dvertical, renderingsetup=3Dannotation:narrow] \startsetups[annotation:narrow] \signalrightpage \doifelse{\annotationparameter{doublesided}}{yes} {\doifrightpageelse\donetrue\donefalse} \donetrue \ifdone \doadaptleftskip {\annotationparameter {leftmargin}} \doadaptrightskip{\annotationparameter{rightmargin}} \else \doadaptrightskip{\annotationparameter {leftmargin}} \doadaptleftskip {\annotationparameter{rightmargin}} \fi \placeannotationcontent \stopsetups \defineannotation [textoffset] [alternative=3Dnarrow, %doublesided=3Dyes, color=3Dred, style=3Ditalic, leftmargin=3D1cm, rightmargin=3D4cm] \setuppagenumbering[alternative=3Ddoublesided] \starttext \input knuth \starttextoffset \input ward \stoptextoffset \input knuth \starttextoffset \input ward \stoptextoffset \input knuth \starttextoffset \input ward \stoptextoffset \input knuth \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________