ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Romain Diss <romain.diss@yahoo.fr>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \unit problem with powers of ten.
Date: Fri, 23 Nov 2012 20:25:21 +0100	[thread overview]
Message-ID: <201211232025.21853.romain.diss@yahoo.fr> (raw)
In-Reply-To: <50AE6A56.5080502@wxs.nl>

Hi,

Le jeudi 22 novembre 2012, Hans Hagen a écrit :
> 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
> > Is this a bug or are these expressions not supported?
> 
> not supported .. i've added it to the upcoming beta:
Thank you very much.

> needs testing as usual (and wiki adaption as well)
I have upgraded my context version few minutes ago:
$ context --version
mtx-context     | ConTeXt Process Management 0.60
mtx-context     | current version: 2012.11.23 17:35

but your following code doesn't work completely:

> \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

The '^' and 'e' all print a '10 ×' at the begining. It's what is expected for 
'e' but not for '^'. Did I miss something?

-- 
Romain Diss
<romain.diss@yahoo.fr>
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2012-11-23 19:25 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
2012-11-23 19:25   ` Romain Diss [this message]
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=201211232025.21853.romain.diss@yahoo.fr \
    --to=romain.diss@yahoo.fr \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).