From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77311 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: linenumbering Date: Thu, 12 Jul 2012 15:57:22 +0200 Message-ID: <4FFED7C2.9000808@uni-bonn.de> References: <4FFB27E0.9060609@uni-bonn.de> <4FFB4337.1050607@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342101460 12021 80.91.229.3 (12 Jul 2012 13:57:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2012 13:57:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 12 15:57:36 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 1SpJtd-0007pY-6g for gctc-ntg-context-518@m.gmane.org; Thu, 12 Jul 2012 15:57:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CB2A101E5; Thu, 12 Jul 2012 15:57:31 +0200 (CEST) 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 lF1eTWee8tha; Thu, 12 Jul 2012 15:57:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01A4C101F2; Thu, 12 Jul 2012 15:57:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC5EF101F2 for ; Thu, 12 Jul 2012 15:57:27 +0200 (CEST) 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 Aje1cT9DXogB for ; Thu, 12 Jul 2012 15:57:22 +0200 (CEST) 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 9D700101E5 for ; Thu, 12 Jul 2012 15:57:22 +0200 (CEST) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6CE6keq030907 for ; Thu, 12 Jul 2012 16:06:47 +0200 Original-Received: from [87.178.33.208] (account tschmit1@uni-bonn.de HELO [192.168.0.31]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 21206747 for ntg-context@ntg.nl; Thu, 12 Jul 2012 15:57:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 In-Reply-To: <4FFB4337.1050607@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Hxq6Lta - 898edf45fa06 - 20120712 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:77311 Archived-At: On 07/09/2012 10:46 PM, Hans Hagen wrote: > btw, you can define linenumberings ... Hi Hans, I finally had time to play a bit with your code, and AFAICS, the settings for "before" and "after" in \definelinenumbering are quietly ignored; at least, I get no blank lines: \definelinenumbering [blocked] [width=1cm, location=text, before={\blank[line]}, after={\blank[line]}] \getrawparameters [numberedblockquote] [start=1] \unexpanded\def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\begingroup \setupindenting[no]% \getrawparameters[numberedblockquote][#1]% \startlinenumbering[blocked][start=\numberedblockquotestart]} \unexpanded\def\stopnumberedblockquote {\stoplinenumbering \endgroup} \starttext \input tufte \startnumberedblockquote[start=3] \input knuth \stopnumberedblockquote \input tufte \stoptext All best Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________