[tex4ht] New features

Michal Hoftich michal.h21 at gmail.com
Thu Nov 29 19:34:31 CET 2018


Hi all,

I've added some new features to tex4ht. They are available in the HTML
output mode.

The first feature is simpler way to include external CSS and
JavaScript files. Two new configurations are available: AddJs and
AddCss. They can be used as follows:

\Configure{AddJs}{hello.js}
\Configure{AddCss}{hello.css}

These commands just insert the correct HTML tags to the document and
register these files for post-processing, so they can be copied to a
output directory or post-processed using filters.

The second feature is webfonts support. Again, it just inserts some
CSS instructions and registers the font files for a post-processing. I
think the main use case for this feature is in ebooks, where fonts can
be bundled.

More information can be found here:
https://github.com/michal-h21/tex4ht-doc/blob/master/sections/webfonts.tex

Best regards,
Michal


More information about the tex4ht mailing list