From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76418 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Linenumbering Date: Fri, 25 May 2012 11:59:42 +0000 Message-ID: <98A05AF2-3E24-40FA-9764-59536D793D3F@emory.edu> References: <4FBF4751.90608@wxs.nl> <1DA525FD-2E10-4649-864E-A5ECDD918BEB@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1337947197 3628 80.91.229.3 (25 May 2012 11:59:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 May 2012 11:59:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 25 13:59:56 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 1SXtBT-0005mT-LF for gctc-ntg-context-518@m.gmane.org; Fri, 25 May 2012 13:59:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9BC5101DD; Fri, 25 May 2012 13:59:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id H1MWdXDVS7YV; Fri, 25 May 2012 13:59:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F390C101DF; Fri, 25 May 2012 13:59:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F36F1101DF for ; Fri, 25 May 2012 13:59:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ECCY6Dm-KVP1 for ; Fri, 25 May 2012 13:59:48 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 29CE5101DD for ; Fri, 25 May 2012 13:59:48 +0200 (CEST) Original-Received: from ws-mr3.cc.emory.edu (ws-mr3.cc.emory.edu [170.140.50.233]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q4PBxjBl018839 for ; Fri, 25 May 2012 13:59:46 +0200 Original-Received: from e14edge1w.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ws-mr3.cc.emory.edu (8.13.8/8.13.8) with ESMTP id q4PBxh9h031217 for ; Fri, 25 May 2012 07:59:43 -0400 Original-Received: from E14HYBRID1N.Enterprise.emory.net (170.140.30.28) by e14edge1w.Emory.Edu (170.140.108.21) with Microsoft SMTP Server (TLS) id 14.2.283.3; Fri, 25 May 2012 07:59:43 -0400 Original-Received: from E14MBX20N.Enterprise.emory.net ([fe80::e9ea:8c9d:f94e:7cd3]) by e14hybrid1n.Enterprise.emory.net ([2002:aa8c:1e1c::aa8c:1e1c]) with mapi id 14.02.0283.003; Fri, 25 May 2012 07:59:43 -0400 Thread-Topic: [NTG-context] Linenumbering Thread-Index: AQHNOk1shSNmumi5iEeQeZuVEUFpM5badLSAgAAcfACAAADrgIAAGBOA In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] Content-ID: X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q4PBxh9h031217 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.01, required 8, autolearn=disabled, T_RP_MATCHES_RCVD -0.01) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.50.233; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dHebXJdR - 6cfdc3e3595c - 20120525 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76418 Archived-At: On May 25, 2012, at 6:33 AM, Willi Egger wrote: > Hi, > On May 25, 2012, at 12:30 PM, Willi Egger wrote: > >> Oh dear, stupid me=85 >> >> Still I have two things: >> >> - It appears that the intent option is not honored and the numbers appea= r always in the margin. > > should read as intext .. ;-) >> - The numbers are flush right in the margin, but after line >99 the thir= d number is placed outside the margin towards the text. >> >> Willi Try \setuplinenumbering[step=3D5,location=3Dtext] >From page.lin.mkiv, there seems to be these options now: \setnewconstant\linenumberlocation \plusone % 0=3Dmiddle, 1=3Dleft, 2= =3Dright, 3=3Dinner, 4=3Douter, 5=3Dtext, 6=3Dbegin, 7=3Dend One may also use command=3D\myLocation, e.g., to put the line number in tex= t at right, use \def\myLocation#1{\rlap{\hskip\leftmargindistance\hskip\textwidth{#1}}} Note: Changing to location=3Dmiddle in your (or any) example gives an erro= r, \domakelinenumber undefined: \starttext \setuplinenumbering[step=3D5,location=3Dmiddle] \startlinenumbering \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit, Dat ik vaak hoorde voor een zomernacht, In een oud stadje, langs de watergracht --- In huis was 't donker, maar de stille straat Vergaarde schemer, aan de lucht blonk laat Nog licht, er viel een gouden blanke schijn Over de gevels van mijn raamkozijn. \stoplines \stoplinenumbering \stoptext ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________