From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37509 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Quickie about Line Numbering Date: Fri, 23 Nov 2007 22:05:45 +0100 Message-ID: <1195851946.5116.25.camel@g5.home> References: <47473C30.8030805@tttech.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: ger.gmane.org 1195852065 14851 80.91.229.12 (23 Nov 2007 21:07:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 21:07:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 23 22:07:49 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IvfkZ-0001Yp-UR for gctc-ntg-context-518@m.gmane.org; Fri, 23 Nov 2007 22:07:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF88E1FD04; Fri, 23 Nov 2007 22:07:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01008-04; Fri, 23 Nov 2007 22:06:44 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2720B1FB27; Fri, 23 Nov 2007 22:06:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D46831FB1D for ; Fri, 23 Nov 2007 22:06:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15429-02-3 for ; Fri, 23 Nov 2007 22:06:07 +0100 (CET) Original-Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.de [194.25.134.18]) by ronja.ntg.nl (Postfix) with ESMTP id 04E361FA2D for ; Fri, 23 Nov 2007 22:06:03 +0100 (CET) Original-Received: from fwd33.aul.t-online.de by mailout04.sul.t-online.com with smtp id 1Ivfir-00064b-00; Fri, 23 Nov 2007 22:06:01 +0100 Original-Received: from [192.168.0.6] (rAdgyvZDoh0FWdk4nSi4jdWVBkTj+JQqh9p++k4fObNy5qjocU3zMRbaZs1WI3dZaj@[91.18.109.180]) by fwd33.aul.t-online.de with esmtp id 1IvfiY-1CwNO40; Fri, 23 Nov 2007 22:05:42 +0100 In-Reply-To: <47473C30.8030805@tttech.com> X-Mailer: Evolution 2.12.1 X-ID: rAdgyvZDoh0FWdk4nSi4jdWVBkTj+JQqh9p++k4fObNy5qjocU3zMRbaZs1WI3dZaj@t-dialin.net X-TOI-MSGID: 05bc497a-db45-46dc-be37-163acd91a806 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37509 Archived-At: On Fri, 2007-11-23 at 21:46 +0100, Matthias W=E4chter wrote: > Hi! > = > Just wondering how I can manage to number all the lines of my document. > Thought that this would work but it actually doesn't. > = > \starttext > \startlinenumbering > = > \chapter{First} > = > A paragraph > = > Another paragraph. > = > \chapter{Second} > = > Wait and see---nothing. > = > \stoplinenumbering > \stoptext > = > = > Is there a better/smarter way for doing this than typing a lot of > \(start|stop)linenumbering around paragraphs of text? We need line > numbers as part of our document review process for clearly referencing > error spots. > = > - Matthias I have some dim recollection that I asked a similar question some time ago, and the answer was: you can't (but I can't find a reference in the archive, so I may be wrong). You'll have to explicitly tell ConTeXt to start line numbering after headings: \starttext \chapter{First} \startlinenumbering A paragraph Another paragraph. \stoplinenumbering \chapter{Second} \startlinenumbering Wait and see---nothing. \stoplinenumbering \stoptext Thomas ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________