From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75962 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Bug with linenumbering Date: Thu, 3 May 2012 14:59:32 -0400 (EDT) Message-ID: References: <4FA0F0B8.4040301@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1700546596-1336071573=:32322" X-Trace: dough.gmane.org 1336071512 30721 80.91.229.3 (3 May 2012 18:58:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 May 2012 18:58:32 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Thu May 03 20:58:31 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 1SQ1ER-0004hD-VA for gctc-ntg-context-518@m.gmane.org; Thu, 03 May 2012 20:58:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D91C7101CF; Thu, 3 May 2012 20:58:26 +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 R777SFvkDK8b; Thu, 3 May 2012 20:58:25 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 41F0C101E0; Thu, 3 May 2012 20:58:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF370101E0 for ; Thu, 3 May 2012 20:58: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uelJC8NP6KTE for ; Thu, 3 May 2012 20:58:23 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 127F0101CF for ; Thu, 3 May 2012 20:58:22 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q43IwKOj032281 for ; Thu, 3 May 2012 20:58:21 +0200 Original-Received: FROM LP533.ECE.McGill.CA (Mismatch [132.206.69.142]) By hellskitchen.mr.itd.umich.edu ID 4FA2D54A.7AF36.10863 ; Authuser adityam; 3 May 2012 14:58:18 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=TX; city=Ladonia; postalcode=75449; latitude=33.4261; longitude=-95.9709; metrocode=623; areacode=903; http://maps.google.com/maps?q=33.4261,-95.9709&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TH5uWkxQ - 18a8e9dbbfec - 20120503 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:75962 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1700546596-1336071573=:32322 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 3 May 2012, Wolfgang Schuster wrote: > > Am 03.05.2012 um 17:18 schrieb Aditya Mahajan: > >> On Thu, 3 May 2012, Wolfgang Schuster wrote: >> >>> You assume \definelinenumbering has a second argument for the settings = but this isn=92t the case >> >> D'oh. >> >>> and you need \setuplinenumbering to set them. >> >> I also needed to change \setvalue to \setevalue in the example, and add = an \expanded to get it to work. > > In MkIV \setuevalue is better the \setevalue and \normalunexpanded is fas= ter than \expanded. > > The problem in your approach is that you can only set the style and color= value with \definewhatever > where I think it=92s better to use \setupwhatever. Thanks for both the tips! Aditya --0-1700546596-1336071573=:32322 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --0-1700546596-1336071573=:32322--