Skip to content

michal-h21/helpers4ht

Repository files navigation

The helpers4ht package.

This is a bundle of packages providing support for tex4ht configuration. With exception of alternative4ht, you shouldn't use them in your documents, but in the .cfg files instead. Provided packages are:

addfont4ht

: support for web fonts. Example.

alternative4ht

: provides support for patching unsupported packages with tex4ht. See Using fontspec package with tex4ht for example.

cssframework

: simple CSS framework and preprocessor. It doesn't have any documentation or sample usage yet

include4ht

: declare additional files to be included, like CSS or Javascript. Example. This file is deprecated, tex4ht now provides \Configure{AddJs}{filename.js} and \Configure{AddCss}{filename.css} commands for the HTML output.

indexing4ht

: support for indexing with Xindy see an example

rfclang

: get RFC language codes from babel language name. This functionality is built in TeX4ht itself, so this package is obsolete.

textstyle4ht

: support for conversion of LaTeX text styling (color, size, etc.) to CSS. new commands tor tag insertion are introduced. See a tutorial

mathjax-latex-4ht

: save LaTeX math verbatim in the output document and use Mathjax for the displaying. See this answer for some background and another one for sample use.

Installation

cd `kpsewhich -var-value TEXMFHOME`
mkdir -p tex/latex
cd tex/latex
git clone git@github.com:michal-h21/helpers4ht.git

#Usage

To use package in the .cfg file, you must include it before the \Preamble command:

\RequirePackage{cssframework}
\Preamble{xhtml}
\begin{document}
\EndPreamble

See wiki for more information.

About

Collection of helper packages for tex4ht configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published