From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41785 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Feature request: \digits command Date: Fri, 20 Jun 2008 12:32:36 +0200 Message-ID: <115224fb0806200332x6276d89aibf844575b083c111@mail.gmail.com> References: <485ABD38.8050208@free.fr> 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 1213958074 16538 80.91.229.12 (20 Jun 2008 10:34:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 10:34:34 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 20 12:35:18 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 1K9dxU-0006Yh-6H for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jun 2008 12:35:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 335761FD1B; Fri, 20 Jun 2008 12:34:17 +0200 (CEST) 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 07955-01-2; Fri, 20 Jun 2008 12:33:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A2C8F1FCF3; Fri, 20 Jun 2008 12:33:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 98D591FCEC for ; Fri, 20 Jun 2008 12:33:23 +0200 (CEST) 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 06098-02-5 for ; Fri, 20 Jun 2008 12:32:49 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.158]) by ronja.ntg.nl (Postfix) with ESMTP id 4FED11FCF3 for ; Fri, 20 Jun 2008 12:32:47 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so865638ywm.74 for ; Fri, 20 Jun 2008 03:32:37 -0700 (PDT) Original-Received: by 10.150.49.1 with SMTP id w1mr36335ybw.26.1213957957036; Fri, 20 Jun 2008 03:32:37 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Fri, 20 Jun 2008 03:32:36 -0700 (PDT) In-Reply-To: <485ABD38.8050208@free.fr> Content-Disposition: inline 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:41785 Archived-At: On Thu, Jun 19, 2008 at 10:10 PM, Morgan Brassel wrote: > Hi everyone, > > The \digits command is really great when it comes to typeset numbers in > different languages. However, I miss one functionality from the numprint > package in latex: when you type for example $e-5$, you get 10^{-5} (with > no dot in front of it). > > Would it be possible to add an option to \digits to reproduce this? \starttext \def\digitpowerseparator{10} \digits{e-5} \stoptext http://pragma-ade.com/show-mag-4.htm Regards Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________