From: Marco Patzer <lists@homerow.info>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected
Date: Tue, 5 Dec 2023 19:58:34 +0100 [thread overview]
Message-ID: <20231205195834.4b03f0a6@homerow> (raw)
In-Reply-To: <34afccfc-7c88-ca38-0ff6-d588dc31bd12@gmail.com>
On Tue, 5 Dec 2023 17:27:59 +0100
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> None of your examples work because millimetermercury and mercury are
> the names for the labels
> and the units are accessed with hg and mmhg.
Ok, that makes sense. And it works, thanks for the explanation and
the quick reply.
> \setupunittext[en][millimetermercury=inHg]
That doesn't make sense, inch and mm are different units. I'd rather
add:
\registerunit
[inHg=inchmercury]
\setupunittext
[en]
[inchmercury=inHg]
Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-12-05 19:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 14:19 [NTG-context] " Marco Patzer
2023-12-05 16:27 ` [NTG-context] " Wolfgang Schuster
2023-12-05 18:58 ` Marco Patzer [this message]
2023-12-05 19:06 ` Wolfgang Schuster
2023-12-05 19:21 ` Marco Patzer
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=20231205195834.4b03f0a6@homerow \
--to=lists@homerow.info \
--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).