From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66030 Path: news.gmane.org!not-for-mail From: Oliver Buerschaper Newsgroups: gmane.comp.tex.context Subject: Re: delimitedtext, spacebefore and grid Date: Mon, 14 Feb 2011 12:20:05 +0100 Message-ID: <8356CA57-102F-4E16-A364-72FFC9E1651B@mpq.mpg.de> References: <87fwsnmuii.fsf@sopos.org> <87bp3bmjco.fsf@sopos.org> <71F86918-6EE6-4A66-91FE-8E151D68DBB0@mpq.mpg.de> <43154E07-BBA6-459C-8B19-E96BAC4F47B4@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297682447 8255 80.91.229.12 (14 Feb 2011 11:20:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 11:20:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 14 12:20:42 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PowTy-00033G-FP for gctc-ntg-context-518@m.gmane.org; Mon, 14 Feb 2011 12:20:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DEB6DCA9D4; Mon, 14 Feb 2011 12:20:41 +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 P7xeNsarKd8K; Mon, 14 Feb 2011 12:20:41 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5ABC8CA983; Mon, 14 Feb 2011 12:20:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6688FCA983 for ; Mon, 14 Feb 2011 12:20: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 hWFLYZEvT6Jf for ; Mon, 14 Feb 2011 12:20:07 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id DD411CA96B for ; Mon, 14 Feb 2011 12:20:07 +0100 (CET) Original-Received: from post.rzg.mpg.de (post.rzg.mpg.de [130.183.30.42]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1EBK64v009694 for ; Mon, 14 Feb 2011 12:20:07 +0100 Original-Received: from [130.183.93.58] ([130.183.93.58]) (authenticated bits=0) by post.rzg.mpg.de (8.14.3/8.14.3) with ESMTP id p1EBK6qi2974696 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 14 Feb 2011 12:20:06 +0100 In-Reply-To: <43154E07-BBA6-459C-8B19-E96BAC4F47B4@gmail.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.9982 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=130.183.30.42; country=DE; region=02; city=Garching; latitude=48.2500; longitude=11.6500; http://maps.google.com/maps?q=48.2500,11.6500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03E7Lk61B - 51f7e6419fdf - 20110214 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:66030 Archived-At: > Not sure if there are side effects but this works (requires mkiv and a re= cent installation): > = > \setuplayout[grid=3Dyes]\showgrid > \setupbodyfont[14pt] > = > \usemodule[annotation] > = > \define[2]\ZitatCommand > {\topskip\dimexpr\topskip+\lineheight/2\relax > \startnarrower > =93#2=94% > \stopnarrower} > = > \defineannotation > [zitat] > [alternative=3Dcommand, > command=3D\ZitatCommand, > spacebefore=3Dhalfline, > spaceafter=3Dhalfline] > = > \starttext > = > \startzitat > \input tufte > \stopzitat > = > \dorecurse{2}{\input tufte\par} > = > \startzitat > \input tufte > \stopzitat > = > \dorecurse{3}{\input tufte\par} > = > \startzitat > \input tufte > \stopzitat > = > \input tufte > = > \stoptext Indeed, this solves the grid issue for block quotations broken across pages= . Many thanks! Unfortunately introducing a "\blank" just before the last "\input tufte" in= the above example breaks grid alignment. Oliver ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________