From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39600 Path: news.gmane.org!not-for-mail From: Morgan Brassel Newsgroups: gmane.comp.tex.context Subject: Re: Command \NN in table? Date: Sat, 22 Mar 2008 16:02:31 +0100 (CET) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206198242 27822 80.91.229.12 (22 Mar 2008 15:04:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2008 15:04:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 22 16:04:31 2008 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 1Jd5Go-0007vt-Jv for gctc-ntg-context-518@m.gmane.org; Sat, 22 Mar 2008 16:04:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 568D51FC36; Sat, 22 Mar 2008 16:03:54 +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 30303-01-5; Sat, 22 Mar 2008 16:03:09 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A63AC1FBEF; Sat, 22 Mar 2008 16:03:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B0FF51FBEF for ; Sat, 22 Mar 2008 16:03:08 +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 30306-01-5 for ; Sat, 22 Mar 2008 16:02:33 +0100 (CET) Original-Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by ronja.ntg.nl (Postfix) with ESMTP id C68131FBCB for ; Sat, 22 Mar 2008 16:02:33 +0100 (CET) Original-Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id 867791AB2B8 for ; Sat, 22 Mar 2008 16:02:33 +0100 (CET) Original-Received: from [192.168.0.32] (pas38-3-82-226-102-214.fbx.proxad.net [82.226.102.214]) by smtp1-g19.free.fr (Postfix) with ESMTP id 5B03A1AB2BE for ; Sat, 22 Mar 2008 16:02:33 +0100 (CET) X-X-Sender: brassel@leo In-Reply-To: User-Agent: Alpine 1.10 (DEB 962 2008-03-14) 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:39600 Archived-At: > What exactly are you trying to achieve? I do not completely know all the > features of digits. But table has a numerical columns n and q, see > http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf. There are also > \HC (hook column) which can do certain things. Can you give an example of > a table (placing \digit commands by hand)? Thank you for your quick answer, Aditya. In fact, I saw this example at the end of Hans's This Way #3: \starttext \starttabulate[|r|] \NN 1.@@ \NR \NN 1.1@ \NR \NN 1.11 \NR \NN 11.11 \NR \stoptabulate \stoptext and I would like to get the same result replacing tabulate by table... What I like about \digits (and \NN) is that you can change the number format (english Vs french for example) without rewriting anything. > >> is >> there a particular reason why the \NN command is defined in 'tabulate' and >> not in 'table'? > > 'table' is just a wrapper around TaBlE macros, and due to the syntax sugar > of ConTeXt, some of the features of the original TaBlE macros are lost. > (Though I do not know if \digits thing is possible with the original TaBlE > macros or not) > >> Would it be hard to add it in 'table'? > > I believe so. The TaBlE code is *very* old, written at a time when TeX was > limited in terms of features and memory. Tabluate are more recenlt > relatively, and written from scratch by Hans. Actually, if you request for > features of table that are missing in tabulate, that might be easier to > implement. > > Aditya I see. So maybe I should switch from table to tabulate for now, as I don't need vertical lines... I'll try that as a first solution. Morgan ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________