From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72569 Path: news.gmane.org!not-for-mail From: Robin Kirkham Newsgroups: gmane.comp.tex.context Subject: Re: \unit and Hertz, lux, and degrees/minutes/seconds Date: Mon, 21 Nov 2011 12:00:30 +1100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============2044704033==" X-Trace: dough.gmane.org 1321837268 13397 80.91.229.12 (21 Nov 2011 01:01:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Nov 2011 01:01:08 +0000 (UTC) To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 21 02:01:00 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSIFo-0000dx-JW for gctc-ntg-context-518@m.gmane.org; Mon, 21 Nov 2011 02:01:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CFBFCB123; Mon, 21 Nov 2011 02:00:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6L3CXNd0rpDw; Mon, 21 Nov 2011 02:00:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 261F3CB114; Mon, 21 Nov 2011 02:00:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3EDB3CB114 for ; Mon, 21 Nov 2011 02:00:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NmNWVZU2ToPr for ; Mon, 21 Nov 2011 02:00:41 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D7636CB10F for ; Mon, 21 Nov 2011 02:00:40 +0100 (CET) Original-Received: from vic-MTAout1.csiro.au (vic-MTAout1.csiro.au [150.229.64.37]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAL10YG7028451 for ; Mon, 21 Nov 2011 02:00:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=csiro.au; i=robin.kirkham@csiro.au; q=dns/txt; s=email; t=1321837237; x=1353373237; h=from:mime-version:subject:date:in-reply-to:to:references: message-id; bh=6qfNH8J5iFcPA0MSm4GG2sqGGD8ywyj+07myV0FK7Sk=; b=pkIBFilNRY3jz45xDf68MCxQ8eL0CqzFQvWuXUJR0D8j33gb9i7ZhKsQ 3SswB8QJ+bYR/gbnv5EU5QoZGeXQr5cU+wZ17o53+2A0gKysyjdC12Rg0 kINpkS+XUv+1Tq8; X-IronPort-AV: E=Sophos;i="4.69,543,1315144800"; d="scan'208,217";a="73179184" Original-Received: from exnsw-htca02.nexus.csiro.au ([130.155.117.127]) by vic-ironport-int.csiro.au with ESMTP/TLS/RC4-MD5; 21 Nov 2011 12:00:31 +1100 Original-Received: from kir092m.clayton.csiro.au (138.194.25.80) by EXNSW-HTCA02.nexus.csiro.au (130.155.117.127) with Microsoft SMTP Server id 8.3.213.0; Mon, 21 Nov 2011 12:00:31 +1100 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=150.229.64.37; country=AU; region=01; city=Canberra; latitude=-35.2833; longitude=149.2167; http://maps.google.com/maps?q=-35.2833,149.2167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eFXB0zUj - fc8e7eb708ae - 20111121 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72569 Archived-At: --===============2044704033== Content-Type: multipart/alternative; boundary="Apple-Mail-46--67353175" --Apple-Mail-46--67353175 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On 18/11/2011, at 10:00 PM, Pontus Lurcock wrote: > On Fri 18 Nov 2011, Hans Hagen wrote: >> so, best is that those asking for it come up with a list of issues: >> which symbols need this option, is it language related or whatever, >> so that i can do them all at once. We can already have different >> mapping sets so spacing could be part of that. >=20 > I don't personally have a need for units in the foreseeable future (I > was just nitpicking with Robin about spacing) so feel free to ignore > any of my suggestions, but I think the summary so far would be: >=20 > 1. Spacing for almost all SI units should be the same and doesn't > need special cases. >=20 > 2. Geographical degrees/minutes/seconds should have no spaces. >=20 > 3. Spacing for degrees temperature varies according to different style=20= > guides -- both before and after the =B0 -- so ideally it would be > possible to set these independently of the rest of the units. >=20 > For my own part I would add: >=20 > 4. SI unit abbreviations are mostly capital letters, and look (to me) > strange with old-style figures. I have seen books which used=20 > old-style figures for page numbers, years, etc. but switched to > lining figures when a unit was involved; this is also what I did > in my thesis. So I think it would be useful to allow an automatic > switch to lining figures to be configured when typesetting a unit. >=20 > Pont I agree on points 1 and 2 (although it seems arcminute and arcsecond are not implemented anyway). Point 3, yes, but I'm dubious about space after = =B0 for the temperature units =B0C or =B0F as it breaks the rule about unit ambiguity ("=B0 C" is a degree-Coulomb -- although I can't image a = physical situation that would need such a unit). Point 4 is a bit beyond the = scope of the SI units scheme but sounds like a potential need. Over the weekend I've discovered a couple more problems with \unit so = I'll make up some test cases and desired output and post it in a few days. Robin= --Apple-Mail-46--67353175 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1" Pontus = Lurcock <pont@talvi.net
On Fri 18 = Nov 2011, Hans Hagen wrote:so, best is that those asking for it = come up with a list of issues:
which symbols need this option, is it language related or = whatever,
so that i can do = them all at once. We can already have = different
mapping sets so = spacing could be part of that.

I don't personally = have a need for units in the foreseeable future (I
was just = nitpicking with Robin about spacing) so feel free to ignore
any of my = suggestions, but I think the summary so far would be:

1. Spacing = for almost all SI units should be the same and = doesn't
  need special cases.

2. Geographical = degrees/minutes/seconds should have no spaces.

3. Spacing for = degrees temperature varies according to different style 
  guides -- = both before and after the =B0 -- so ideally it would = be
  possible to set these independently of the rest of the = units.

For my own part I would add:

4. SI unit = abbreviations are mostly capital letters, and look (to = me)
  strange with old-style figures. I have seen books = which used 
  old-style = figures for page numbers, years, etc. but switched = to
  lining figures when a unit was involved; this is also = what I did
  in my thesis. So I think it would be useful to = allow an automatic
  switch to lining figures to be = configured when typesetting a = unit.

Pont

I agree on = points 1 and 2 (although it seems arcminute and arcsecond = are
not implemented anyway). Point 3, yes, but I'm dubious = about space after =B0
for the temperature = units =B0C or =B0F as it breaks the rule about = unit
ambiguity ("=B0 C" is a degree-Coulomb -- although I = can't image a physical
situation that would need such a = unit). Point 4 is a bit beyond the scope
of the SI units = scheme but sounds like a potential = need.

Over the weekend I've discovered a couple = more problems with \unit so I'll
make up some test cases and = desired output and post it in a few = days.

Robin
= --Apple-Mail-46--67353175-- --===============2044704033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2044704033==--