Patch 1: Define all common fixed LaTeX spaces with their
Unicode equivalents. Also see Wikipedia: spaces in unicode
With respect to line breaking we can add word-joiner characters as
necessary.
Patch 3: Rewrite the generation of \hspace and \hspace* to
follow the TeX line-breaking as closely as possible while
approximating the length-argument as accurately as the
Standard permits. Exception: we use a hairspace if the requested
length is positive but smaller than the most narrow space with
a defined width (usually thinspace).
The attached LaTeX file spaces.tex was used to check whether Hevea
behaves sufficiently similar to LaTeX. BTW: it is interesting to watch
how the HTML rendering of this file changes patch by patch -- well
maybe for geeks. :wink:
Patch 1: Define all common fixed LaTeX spaces with their Unicode equivalents. Also see Wikipedia: spaces in unicode With respect to line breaking we can add word-joiner characters as necessary.
Patch 2: Bring the definitions of
em
s and pixels in line with the W3C standard. See W3: length units and absolute lengths.Patch 3: Rewrite the generation of
\hspace
and\hspace*
to follow the TeX line-breaking as closely as possible while approximating thelength
-argument as accurately as the Standard permits. Exception: we use a hairspace if the requested length is positive but smaller than the most narrow space with a defined width (usually thinspace).The attached LaTeX file spaces.tex was used to check whether Hevea behaves sufficiently similar to LaTeX. BTW: it is interesting to watch how the HTML rendering of this file changes patch by patch -- well maybe for geeks. :wink: