ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Romain Diss <romain.diss@yahoo.fr>
To: "NTG-ConTeXt mailing list" <ntg-context@ntg.nl>
Cc: "Vedran Miletić" <rivanvx@gmail.com>
Subject: Re: Small issue with dimensions
Date: Mon, 14 Nov 2011 20:19:04 +0100	[thread overview]
Message-ID: <201111142019.04630.romain.diss@yahoo.fr> (raw)
In-Reply-To: <CA+oUA20f_A_M-=xqZsoVLqcw30jDZs2AREsoFkCMqk24+BE31A@mail.gmail.com>

Hi,

On 14 nov 2011, Vedran Miletić wrote:
> the following code
> 
> \starttext
> 1\unit{bit / second}
> \stoptext
> 
> gives
> 1 econd
It works correctly here with the latest beta. It gives "1 bit/s".

I take the opportunity of this mail to mention again another \unit problem. I 
copy/paste here a part of a mail I sent two weeks ago but which didn't get any 
answer...

> It seems that some unit combinations don't work very well with the \unit 
> macro. I have some problems with the m- (milli-) prefix but some tests reveal 
> other strange errors.

> Here is a minimal example. The entries 02, 07, 08, 09, 10, 11, 12 and 15
> cause problem :

> \starttext
> \startbuffer
> 00: \unit{10 mm}
> 01: \unit{10 km}
> 02: \unit{10,2 mA}
> 03: \unit{123 kA}
> 04: \unit{0,001 MA}
> 05: \unit{1 dal}
> 06: \unit{2.21 GW}
> 07: \unit{345 mW}
> 08: \unit{152.20 mHz}
> 09: \unit{55.5 mmol}
> 10: \unit{6.7 mol/l}
> 11: \unit{125 g/l}
> 12: \unit{125 g / l}
> 13: \unit{125 km/s}
> 14: \unit{125 m/s}
> 15: \unit{125 mA/s}
> 16: 1\unit{bit / second}
> \stopbuffer
> \typebuffer
> Result: \startlines \getbuffer \stoplines
> \stoptext

All the best.

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

  reply	other threads:[~2011-11-14 19:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 17:54 Vedran Miletić
2011-11-14 19:19 ` Romain Diss [this message]
2011-11-14 19:35   ` Vedran Miletić
2011-11-14 19:44     ` Romain Diss
2011-11-15 10:12       ` Vedran Miletić
2011-11-17  8:26         ` Hans Hagen
2011-11-17 18:25           ` Vedran Miletić
2011-11-19 21:40           ` Vedran Miletić

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=201111142019.04630.romain.diss@yahoo.fr \
    --to=romain.diss@yahoo.fr \
    --cc=ntg-context@ntg.nl \
    --cc=rivanvx@gmail.com \
    /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).