From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62954 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Re: Referencing line numbers inside a typing Date: Tue, 26 Oct 2010 20:47:49 +0200 Message-ID: <4CC72255.2050907@gmx.de> References: <4CC691B2.3010808@gmx.de> <9593CB37-B476-4A6F-AFD6-E29A0B274A3B@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288118905 18642 80.91.229.12 (26 Oct 2010 18:48:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 18:48:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 26 20:48:24 2010 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 1PAoZL-0003wb-Qj for gctc-ntg-context-518@m.gmane.org; Tue, 26 Oct 2010 20:48:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8452BCA79B; Tue, 26 Oct 2010 20:48:23 +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 Pk7RjCgsQHOz; Tue, 26 Oct 2010 20:48:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93A3ECA79E; Tue, 26 Oct 2010 20:48:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 175A8CA79E for ; Tue, 26 Oct 2010 20:48:20 +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 PeA7IbgPjeJv for ; Tue, 26 Oct 2010 20:48:08 +0200 (CEST) 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 884D2CA79B for ; Tue, 26 Oct 2010 20:48:08 +0200 (CEST) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id o9QIm7oa017391 for ; Tue, 26 Oct 2010 20:48:08 +0200 Original-Received: (qmail invoked by alias); 26 Oct 2010 18:48:06 -0000 Original-Received: from 77-64-197-78.dynamic.primacom.net (EHLO [192.168.100.108]) [77.64.197.78] by mail.gmx.net (mp020) with SMTP; 26 Oct 2010 20:48:06 +0200 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX1/gGINi/WHg+M8EAk8QokZWmoIDOqY5LUo5AV/e2h qcaF2dctApHHXB User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 In-Reply-To: <9593CB37-B476-4A6F-AFD6-E29A0B274A3B@gmail.com> X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DnuM7x6 - caad5d5b4f1f - 20101026 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:62954 Archived-At: On 26.10.2010 15:31, Wolfgang Schuster wrote: > > Am 26.10.2010 um 10:30 schrieb Stefan M=FCller: > >> Hi list, >> >> is there a (preferably easy) way to reference line numbers inside a typi= ng? Minimal (not working) example: >> >> \setuptyping[numbering=3Dline] >> \starttext >> In the following typing, \in{line}{}[line:intyping] is really interestin= g. >> \starttyping >> This line is so interesting. >> \stoptyping >> \stoptext > > MkIV: > > \setuptyping[numbering=3Dline,escape=3Dyes] > \starttext > In the following typing, \inline[line:intyping] is really interesting. > \starttyping > line 1 > line 2 > line 3/BTEX\someline[line:intyping]/ETEX > line 4 > \stoptyping > \stoptext > > Wolfgang One more question before wikifying: Is there a way to prevent the prefix = "line"? I want to say something like "In lines 3 to 13". Thanks, Stefan ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________