Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-27 Thread Robin.Kirkham
On 25 November 2011, Hans Hagen [pra...@wxs.nl] wrote: I uploaded a new beta. ... - Hz, dB (actually deci + bel so megabel also works), lx, permille, t, k, Da added Actually decibel is an odd one, a logarithmic unit, so prefixes other than deci are never used. However the implementation is

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Hans Hagen
On 24-11-2011 21:18, Pontus Lurcock wrote: On Thu 24 Nov 2011, Romain Diss wrote: - again in french, the liter symbol is lowercase l (althought the uppercase L is also temporarly accepted). Not only in French, but in most of Europe, I think: http://en.wikipedia.org/wiki/Litre#Symbol . Should

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Hans Hagen
On 24-11-2011 13:36, robin.kirk...@csiro.au wrote: On Monday, 21 November 2011 20:52, Hans Hagen wrote: 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. ok, I'll wait for that then Hans, all, I

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Ian Lawrence
Maybe it’s possible with MkIV to check if the text before the \unit command was a number but of the number is part of the unit them put in the command, such things are always tricky with TeX and it’s better to force users to use proper input. Within \type{phys-dim.lua} all the

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Hans Hagen
On 25-11-2011 10:29, Ian Lawrence wrote: Maybe it’s possible with MkIV to check if the text before the \unit command was a number but of the number is part of the unit them put in the command, such things are always tricky with TeX and it’s better to force users to use proper input.

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Wolfgang Schuster
Am 25.11.2011 um 09:18 schrieb Hans Hagen: On 24-11-2011 21:18, Pontus Lurcock wrote: On Thu 24 Nov 2011, Romain Diss wrote: - again in french, the liter symbol is lowercase l (althought the uppercase L is also temporarly accepted). Not only in French, but in most of Europe, I think:

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-24 Thread Wolfgang Schuster
Am 24.11.2011 um 13:36 schrieb robin.kirk...@csiro.au robin.kirk...@csiro.au: On Monday, 21 November 2011 20:52, Hans Hagen wrote: 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. ok, I'll

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-24 Thread Romain Diss
Le jeudi 24 novembre 2011, robin.kirk...@csiro.au a écrit : I attach a document (source and PDF) with some \unit test cases that don't currently work (even with the most recent beta). It also has a number of suggestions for improvement. Some of this should be construed as personal opinion, but

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-24 Thread Pontus Lurcock
On Thu 24 Nov 2011, Romain Diss wrote: - again in french, the liter symbol is lowercase l (althought the uppercase L is also temporarly accepted). Not only in French, but in most of Europe, I think: http://en.wikipedia.org/wiki/Litre#Symbol . Should probably be explicitly configurable. Pont

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-21 Thread Hans Hagen
On 21-11-2011 02:00, Robin Kirkham wrote: 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. ok, I'll wait for that then -

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-20 Thread Robin Kirkham
On 18/11/2011, at 10:00 PM, Pontus Lurcock p...@talvi.net 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

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-18 Thread Pontus Lurcock
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

[NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-17 Thread Robin Kirkham
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)

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-17 Thread Robin Kirkham
On 18/11/2011, at 1:05 PM, I wrote: 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

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-17 Thread Pontus Lurcock
On Fri 18 Nov 2011, Robin Kirkham wrote: 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

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-17 Thread Robin Kirkham
On 18/11/2011, Pontus Lurcock p...@talvi.net wrote: 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

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-17 Thread Pontus Lurcock
On Fri 18 Nov 2011, Robin Kirkham wrote: Conventions for setting the degrees of temperature symbol vary; see http://en.wikipedia.org/wiki/Degree_symbol#Typography and references therein. In most professionally published works that I've seen, there is no space between the number and the °,

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-17 Thread Hans Hagen
On 18-11-2011 04:31, Pontus Lurcock wrote: On Fri 18 Nov 2011, Robin Kirkham wrote: Conventions for setting the degrees of temperature symbol vary; see http://en.wikipedia.org/wiki/Degree_symbol#Typography and references therein. In most professionally published works that I've seen, there is