[tex4ht] thin space to non-breaking space?

Michael A. Allen frmaa at mahidol.ac.th
Sat Oct 2 17:40:15 CEST 2010


Many thanks, Radhakrishnan!

For anyone interested in using this (and for whom this is not obvious) you 
need to put the following in the preamble or .cfg file:

\makeatletter
% thin space to html thin space
%\@ifundefined{HCode}{}{\def\thinspace{\HCode{\string&\#x2009;}}}
% thin space to html non-breaking space
\@ifundefined{HCode}{}{\def\thinspace{\HCode{\string&\#x00A0;}}}
\makeatother



More information about the tex4ht mailing list