From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62997 Path: news.gmane.org!not-for-mail From: Stefan =?iso-8859-1?q?M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Re: Referencing line numbers inside a typing Date: Thu, 28 Oct 2010 00:14:14 +0200 Message-ID: <201010280014.14547.warrence.stm@gmx.de> References: <4CC691B2.3010808@gmx.de> <201010271134.01793.warrence.stm@gmx.de> <2C996293-D0B0-41B3-BB32-06524F8223F6@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" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288217668 15185 80.91.229.12 (27 Oct 2010 22:14:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2010 22:14:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 00:14:27 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 1PBEGG-0005GQ-Al for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 00:14:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F890CA79E; Thu, 28 Oct 2010 00:14: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 HAZgeck35Ng4; Thu, 28 Oct 2010 00:14:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47E68CA79A; Thu, 28 Oct 2010 00:14:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14824CA79A for ; Thu, 28 Oct 2010 00:14:19 +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 Uz2aZHgebkDi for ; Thu, 28 Oct 2010 00:14:07 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 9052DCA795 for ; Thu, 28 Oct 2010 00:14:07 +0200 (CEST) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id o9RME6rm022559 for ; Thu, 28 Oct 2010 00:14:06 +0200 Original-Received: (qmail invoked by alias); 27 Oct 2010 22:14:05 -0000 Original-Received: from 77-64-197-78.dynamic.primacom.net (EHLO bragi.localnet) [77.64.197.78] by mail.gmx.net (mp006) with SMTP; 28 Oct 2010 00:14:05 +0200 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX19qkx00sEdq864zE+p0pkkZnGLHmQEOShKBm+hddD UzeDjTYc7ePYdl User-Agent: KMail/1.13.5 (Linux/2.6.34.7-61.fc13.i686; KDE/4.4.5; i686; ; ) In-Reply-To: <2C996293-D0B0-41B3-BB32-06524F8223F6@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: 0eDnWe6gw - 2cddfaf26c51 - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:62997 Archived-At: Am Mittwoch 27 Oktober 2010, 16:52:07 schrieb Wolfgang Schuster: > Am 27.10.2010 um 11:34 schrieb Stefan M=FCller: > > Thanks Wolgang, this looks pretty nice. Unfortunately I get the followi= ng > > error when running your example (ConTeXt ver: 2010.10.22 16:46 MKIV = > > fmt: 2010.10.27 int: english/english): > > = > > references : unknown reference [][lr:b:line:single] > > references : unknown reference [][lr:b:line:range] > > = > > Any ideas? > = > Works for me with the same context version. > = > Do you use 'texexec' or 'context' to process the file? > = > Wolfgang My mistake. I forgot \stoptext. It seems kind of inconvenient that I get su= ch = a misleading error message. I added some stuff regarding this thread to the wiki. http://wiki.contextgarden.net/Verbatim_text#Referencing_line_numbers http://wiki.contextgarden.net/Reference/en/inline http://wiki.contextgarden.net/Reference/en/someline http://wiki.contextgarden.net/Reference/en/startline http://wiki.contextgarden.net/Reference/en/inlinerange I hope that helps others. Best wishes, 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 ___________________________________________________________________________= ________