<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><head></head><div></div><div><br></div><div>Michael Sharpe wrote (2/15/12):</div><div><br></div><div>I've been playing with this script, and am also delighted by the quality of the html output. My comments below reflect my previous inexperience with tex4ht.<br><br>(1) You have to use fonts supported by tex4ht---ie, having a .htf file provided, unless you are willing to make them for your own preferred fonts. Computer Modern is supported though doesn't render as well as heavier font collections such as mathpazo.<br><br>(2) Display math is always converted to a png but with inline math, it depends on whether you use $..$ as delimiters, in which case the letters are text italic and there can be serious spacing flaws (though they are arbitrarily scalable), and if you use delimiters \(..\), you get png which looks very good at normal resolutions but which looks worse as you scale up. Generally, I prefer the latter.<br><br>(3) In view of (2), it would seem useful to have a means of translating a tex file written with $ delimiters to one without. Does anyone know of such a program? I wrote a python script to do this in limited cases meeting my needs, but there must be better options out there. In any case, the python script and an associated applescript for the Macros menu is available for those wishing to try it:</div><div><br></div><div>Claus Gerhardt wrote (2/18/12):</div><div><br></div><div>A simpler way to change the display of inline math is to redefine the default: Place the attached configuration file myhtlatex.cfg in the same folder as your document and change the command in the xhmlatex shell script to<br><br>htlatex  "$1" "myhtlatex,html,xhtml"<br><br>then inline math will be displayed by pictures.<br><br></div></body></html>