ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
[parent not found: <mailman.707.1321583719.4232.ntg-context@ntg.nl>]
* \unit and Hertz, lux, and degrees/minutes/seconds
@ 2011-11-18  2:05 Robin Kirkham
  2011-11-18  2:12 ` Robin Kirkham
  0 siblings, 1 reply; 19+ messages in thread
From: Robin Kirkham @ 2011-11-18  2:05 UTC (permalink / raw)
  To: ntg-context

Dear Hans,

Many thanks for implementing space=small in \setupunits. It works nicely for me.

However in the latest beta, Hertz is typeset as hz not Hz. It looks like the problem is line 154 of phys-dim.lua (it was typeset correctly a couple of days ago).

Also the symbol for lux (line 198) should be lx [2].

Degrees, minutes and seconds of arc (also degrees Celsius) are an exception and are not supposed to have any space between the digits and the degree symbol [1], so to be correct, I think Context should by default veto any space between digits and numbers, in these cases only.

BTW, NIST has a handy reference for anyone typesetting physical quantities [1], although the BIPM documentation is the canonical reference.

Robin

\starttext
\unit{1 Hz} (should be Hz)\par
\unit{180 deg} (should be no space)\par
\stoptext

[1] http://www.bipm.org/en/si/si_brochure/chapter5/5-3-2.html
[2] http://physics.nist.gov/cuu/Units/

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-11-27 10:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.0.1321614002.10878.ntg-context@ntg.nl>
2011-11-21  1:00 ` \unit and Hertz, lux, and degrees/minutes/seconds Robin Kirkham
2011-11-21  9:52   ` Hans Hagen
2011-11-24 12:36     ` Robin.Kirkham
2011-11-24 12:58       ` Wolfgang Schuster
2011-11-25  9:29         ` Ian Lawrence
2011-11-25 10:00           ` Hans Hagen
2011-11-24 13:42       ` Romain Diss
2011-11-24 20:18         ` Pontus Lurcock
2011-11-25  8:18           ` Hans Hagen
2011-11-25 13:54             ` Wolfgang Schuster
2011-11-25  8:29       ` Hans Hagen
2011-11-27 10:59         ` Robin.Kirkham
     [not found] <mailman.707.1321583719.4232.ntg-context@ntg.nl>
2011-11-18  3:10 ` Robin Kirkham
2011-11-18  3:31   ` Pontus Lurcock
2011-11-18  7:26     ` Hans Hagen
2011-11-18  9:28       ` Pontus Lurcock
2011-11-18  2:05 Robin Kirkham
2011-11-18  2:12 ` Robin Kirkham
2011-11-18  2:35   ` Pontus Lurcock

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).