ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \unit problem with powers of ten.
Date: Fri, 23 Nov 2012 14:44:17 +0100	[thread overview]
Message-ID: <CAF=dkzygB-2j1ngP+7VK0T+_=FTZBLJeow1L4dt2D4wnkcy5kA@mail.gmail.com> (raw)
In-Reply-To: <50AE6A56.5080502@wxs.nl>

> needs testing as usual (and wiki adaption as well)

http://wiki.contextgarden.net/Command/unit

Wiki: adapted. (Page created, actually, as there was none.) Using the
fancy-schmancy {{since|2012|text=nov 2012}} template, which (1) marks
this as a recent feature, and as such not in the stable yet, and
(2) sticks it in the hidden categories [Since] and [Since 2012], so
that we may review (and remove) those tags when the new stable comes
out next year.

--Sietse

On Thu, Nov 22, 2012 at 7:09 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 11/19/2012 11:44 PM, Romain Diss wrote:
>>
>> Hi all,
>>
>> I got some problems to express powers of ten in the \unit command. See the
>> strange behaviour with these two minimal examples.
>>
>> \starttext
>> \unit{10^2 meter}\\
>> \unit{10^{-12} second}
>> \stoptext
>>
>> However, there is no problem with this one: \unit{1e-4 kilogram}.
>>
>> Is this a bug or are these expressions not supported?
>
>
> not supported .. i've added it to the upcoming beta:
>
> \starttext
>
> \startlines
> \unit{10^12 meter}
> \unit{10^{-12} second}
> \unit{10^{12} second}
> \unit{10e12 meter}
> \unit{10e{-12} second}
> \unit{10e{12} second}
> \stoplines
>
> \stoptext
>
> needs testing as usual (and wiki adaption as well)
>
> Hans
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-11-23 13:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 22:44 Romain Diss
2012-11-20 13:43 ` Romain Diss
2012-11-22 14:45   ` Romain Diss
2012-11-22 14:51     ` luigi scarso
2012-11-22 18:09 ` Hans Hagen
2012-11-23 13:44   ` Sietse Brouwer [this message]
2012-11-23 19:25   ` Romain Diss
2012-11-23 22:51     ` Hans Hagen
2012-11-24  0:48       ` Sietse Brouwer
2012-11-24  7:39         ` Romain Diss
2012-11-24  9:59         ` Hans Hagen
2012-11-24 10:15           ` Romain Diss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=dkzygB-2j1ngP+7VK0T+_=FTZBLJeow1L4dt2D4wnkcy5kA@mail.gmail.com' \
    --to=sbbrouwer@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).