From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: Possible bug in \unit
Date: Thu, 8 Dec 2011 00:12:46 +0100 [thread overview]
Message-ID: <20111208001246.28a3c941@homerow> (raw)
In-Reply-To: <CALBOmsay_yjrQ=sJpxiix83PJZOut+wOzmRVrXvdAsTCoQ_uJw@mail.gmail.com>
On 2011-12-07 Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> On Wed, Dec 7, 2011 at 22:27, Marco <netuse@lavabit.com> wrote:
> > There seems to be a bug in the new unit system for \unit{kbit}:
> >
> > % bit
> > \unit{kilo bit} % kbit
> > \unit{kilobit} % kbit
> > \unit{kbit} % kB, shouldn't this be kbit?
>
> kB is kilobyte, not kilobit,
Exactly, \unit{kbit} should output kbit, instead of kB.
> but "kb" is probably also valid?
I don't know, if kb is a valid shortcut for kilo bit. kB
outputs kB (kilo byte). I would vote for that kb outputs
kbit (kilo bit). But that \unit{kbit} yields kB is
definitely wrong.
> > \unit{3.4e-5} yields to 3.4⁻⁵ that's expected
> > according to the manual.
>
> But the behaviour is wrong.
I don't know if it's wrong. It's very non-intuitive, but I
think Hans had a reason not to include the \cdot 10.
> (I just want to say that \cdot 10^{-5} should not be
> just an option, but the default behaviour.)
+1
Regards
Marco Patzer
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-12-07 23:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 21:27 Marco
2011-12-07 22:59 ` Mojca Miklavec
2011-12-07 23:12 ` Marco [this message]
2011-12-07 23:20 ` Mojca Miklavec
2011-12-08 5:51 ` Mikael P. Sundqvist
2011-12-08 20:26 ` Ian Lawrence
2011-12-09 19:22 ` Hans Hagen
2011-12-09 19:41 ` Marco
2011-12-09 19:54 ` Hans Hagen
2011-12-09 21:01 ` Marco
2011-12-09 21:15 ` Hans Hagen
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=20111208001246.28a3c941@homerow \
--to=netuse@lavabit.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).