[tex4ht] Decimal comma and specing (bug?)
Hans Georg Schaathun
georg+tex at schaathun.net
Wed May 11 10:04:05 CEST 2016
Hi,
typesetting of decimal numbers in languages which use a
decimal comma instead of a point (i.e. most languages
except English AFAIK :-) is a well-known challenge.
The standard TeX solution does not work in tex4ht though.
A quite typical example would be this:
$\Delta t = 24, 6, 2, 0{,}5, 0{,}1$.
In regular TeX, the braces around the commas ensures that there
is only intra-word spacing around the comma. Thus, the bracketed
commas appear as decimal commas, while the unbracketed ones are
list separators with some spacing after.
This does not work in tex4ht.
Live example here:
http://kerckhoffs.schaathun.net/m1draft/week01se1.html#x2-10001
(Problem 1.1 Item 2)
Does anyone have a fix for this?
The solution using braces was the best recommendation I found
when I checked it 15-20 years ago :-)
--
:-- Hans Georg
More information about the tex4ht
mailing list