From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Units misbehaving, I think
Date: Wed, 10 Aug 2011 19:04:59 +0200 [thread overview]
Message-ID: <F907AB67-A11B-4E52-B1DC-A19A674E015E@googlemail.com> (raw)
In-Reply-To: <1FB42DD0-0F4C-4A6C-BDBB-D8796E55CEC7@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 913 bytes --]
Am 10.08.2011 um 18:50 schrieb Ian Lawrence:
> I don't think the /unit and /lunit command like a quantity that starts with a zero.. Any one else?
>
>
> First two work fine, last one causes all kinds of grief, in lists, lines etc. The leading zero and decimal point are zapped.
>
> \unit{1.0 meter inverse second}
>
> \lunit{1.0 meter inverse second}
>
> \unit{0.1 meter inverse second}
>
> \lunit{0.1 meter inverse second}
>
> \lunit{0 meter inverse second}
>
>
> And pretty, please, can we spell metre correctly soon ( sorry, people over the pond…)
You should first provide a *working* minimal example!
\starttext
\lunit{1.0 meter inverse second}
\stoptext
! Undefined control sequence.
l.2 \lunit
{1.0 meter inverse second}
> … Or at least have the option to…
This is easy, Hans has to add only an entry for “metre” in phys-dim.lua.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1663 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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-08-10 17:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 16:50 Ian Lawrence
2011-08-10 17:04 ` Wolfgang Schuster [this message]
2011-08-11 5:18 ` Ian Lawrence
2011-08-12 16:50 ` Hans Hagen
2011-09-15 5:55 ` Ian Lawrence
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=F907AB67-A11B-4E52-B1DC-A19A674E015E@googlemail.com \
--to=schuster.wolfgang@googlemail.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).