Hi ho,
I’m preparing some technical data sheets, besides documenting …


->-[1. unit celsius bug]

\unit{10 ˚C} is wrongly displayed as “10˚” (as \unit{10 degrees}),
while \unit{10 celsius} or \unit{10 degrees celsius} correctly comes out as “10 ˚C”.
Please fix!


->-[2. language dependent number formatting]

For \unit, \digits and \spaceddigits, there are 3 different setups:

\startmode[**de]
\setupunit[
  method=3,
  space=small,
]
\setdigitmode{3}
\let\spaceddigitsmethod=3
\stopmode

I suggest to add "digitmode" and "digitspace" keys to \setuplanguage like

\setuplanguage[de][
  digitmode=3,
  digitspace=small,
]

… let that set all three and also define a sensible default for each language.


->-[3. spreadsheet]

The spreadsheet module uses its own number formatting and setup:

\setupspreadsheet[rechnung][
  period={,}, comma={\,}, split=yes]

(example attached)

Unfortunately, that replaces _every_ period and comma in that table, not only in numbers, i.e. “zzgl. MwSt.” becomes “zzgl, MwSt,”.

I know the module is old and somewhat obscure, but integrating it with the usual behavior would make it more useful.


Hraban

Attachment: spreadsheet.tex
Description: TeX document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
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
___________________________________________________________________________________

Reply via email to