From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41789 Path: news.gmane.org!not-for-mail From: Morgan Brassel Newsgroups: gmane.comp.tex.context Subject: Re: Feature request: \digits command Date: Fri, 20 Jun 2008 16:10:04 +0200 Message-ID: <485BBA3C.4040009@free.fr> References: <485ABD38.8050208@free.fr> <115224fb0806200332x6276d89aibf844575b083c111@mail.gmail.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 1213971241 32057 80.91.229.12 (20 Jun 2008 14:14:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 14:14:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 20 16:14:45 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 1K9hNp-0006PC-3x for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jun 2008 16:14:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 56BA81FCDB; Fri, 20 Jun 2008 16:13:42 +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 05526-04-2; Fri, 20 Jun 2008 16:12:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 550401FC93; Fri, 20 Jun 2008 16:12:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60BBE1FC93 for ; Fri, 20 Jun 2008 16:12:52 +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 05540-01-7 for ; Fri, 20 Jun 2008 16:12:16 +0200 (CEST) Original-Received: from imag.imag.fr (imag.imag.fr [129.88.30.1]) by ronja.ntg.nl (Postfix) with ESMTP id D94F81FC66 for ; Fri, 20 Jun 2008 16:12:14 +0200 (CEST) Original-Received: from kama.imag.fr (kama.imag.fr [129.88.33.254]) by imag.imag.fr (8.13.8/8.13.8) with ESMTP id m5KEAJsN013716 for ; Fri, 20 Jun 2008 16:10:20 +0200 (CEST) Original-Received: by kama.imag.fr (Postfix, from userid 105) id 5A53E9A7; Fri, 20 Jun 2008 16:10:05 +0200 (CEST) Original-Received: from [129.88.33.193] (lea.imag.fr [129.88.33.193]) by kama.imag.fr (Postfix) with ESMTP id 27EA1996 for ; Fri, 20 Jun 2008 16:10:05 +0200 (CEST) User-Agent: IceDove 1.5.0.14eol (X11/20080509) In-Reply-To: <115224fb0806200332x6276d89aibf844575b083c111@mail.gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (imag.imag.fr [129.88.30.1]); Fri, 20 Jun 2008 16:10:20 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: morgan.brassel@free.fr 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:41789 Archived-At: Thank you, Wolfgang. I have already read the "This Way" on your link very carefully. In fact, I was looking for a solution to have \digits{e-5} printed as 10^5 \digits{2e-5} printed as 2 . 10^5 Is it possible to do that? to detect if there is a number before the 'e' = in \digits? Regards, Morgan Wolfgang Schuster a =E9crit : > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = > _________________________________________________________________________= __________ > = ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________