[texhax] tex4ht .htf font files?

Henrik Frisk frisk.h at gmail.com
Sun Jul 13 22:32:51 CEST 2008


Dear all,

I'm new to the list, and even though I searched the archives and
didn't find anything, this question may already have been asked.

For a fairly large project I need to produce both HTML and
PostScript/PDF output. After much experimenting I finally decided to
go with tex4ht for the LaTeX to HTML transformation. The problem I
have is that I'm using Adobe Garamond and Adobe Frutiger as fonts and,
with Garamond in particular, this creates issues with the translation
(the ligatures don't get translated correctly). Watching the debug
from tex4ht I can see it complains about not finding the .htf
equivalents for these fonts. Unfortunately I can't seem to find
information about what .htf is and how/if I can transform the font
metrics files I have of Garamond and Frutiger.

The other, probably simpler option would be to have some kind of
conditional inclusion of the two Adobe fonts - or rather conditional
exclusion of the font directive. Something like (pseudo code):

\iftex4ht
\renewcommand{\rmdefault}{pad}
\else
\fi

Though, this too will soon get quite complex. I define many style
commands that I use that include these fonts. Any hints or suggestions
would be most welcome.

/Henrik


More information about the texhax mailing list