From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27835 invoked from network); 5 Dec 2023 19:00:52 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 5 Dec 2023 19:00:52 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 55C61483BD0 for ; Tue, 5 Dec 2023 19:59:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iaZ1HUtH7nl3 for ; Tue, 5 Dec 2023 19:59:56 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B88DE483906 for ; Tue, 5 Dec 2023 19:59:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 460644834F1 for ; Tue, 5 Dec 2023 19:59:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dVzLBqP1Y0ur for ; Tue, 5 Dec 2023 19:59:09 +0100 (CET) Received: from forward502a.mail.yandex.net (forward502a.mail.yandex.net [178.154.239.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id DA7D84834E5 for ; Tue, 5 Dec 2023 19:59:09 +0100 (CET) Received: from mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net [IPv6:2a02:6b8:c15:2c95:0:640:f90:0]) by forward502a.mail.yandex.net (Yandex) with ESMTP id A2F45611BD for ; Tue, 5 Dec 2023 21:58:38 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id awg5t83QoqM0-KT4A5M0a; Tue, 05 Dec 2023 21:58:37 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=homerow.info; s=mail; t=1701802717; bh=kJIK2opYdc3kkXcRJ6MIGKWbhfTw5Aw2JKvUooYFtmo=; h=In-Reply-To:Message-ID:Subject:References:To:From:Date; b=P2hC3gdjqSYPHaMtJApO4zBJDA6yjE/3FgsFeyY2BZMAHmY2qMHBZqMLcwNcG/0yT LtIDBOjbaMwtXaYHvVhuyz/FQXwRL5mcYQCcycAexXtrOI1SCj/DkqehoNmT/SnGNW ysoK3tcTvhhFNcXpy9dzomwfSq8djYdt7WMGZ9iY= Authentication-Results: mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net; dkim=pass header.i=@homerow.info Date: Tue, 5 Dec 2023 19:58:34 +0100 From: Marco Patzer To: mailing list for ConTeXt users Message-ID: <20231205195834.4b03f0a6@homerow> In-Reply-To: <34afccfc-7c88-ca38-0ff6-d588dc31bd12@gmail.com> References: <20231205151925.7aa88ea1@homerow> <34afccfc-7c88-ca38-0ff6-d588dc31bd12@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Message-ID-Hash: Y363GERFTT64YYFLFUUMGMH2AITS7RTK X-Message-ID-Hash: Y363GERFTT64YYFLFUUMGMH2AITS7RTK X-MailFrom: lists@homerow.info X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \unit{mercury} renders as m (meter) and \unit{millimetermercury} doesn't work as expected List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, 5 Dec 2023 17:27:59 +0100 Wolfgang Schuster 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 ___________________________________________________________________________________