[tex4ht] How to include Configuration commands inside the .tex file and not in separate file?

Matteo Gamboz gamboz at medialab.sissa.it
Wed Jun 12 09:32:29 CEST 2013


On Thu, Jun 06, 2013 at 04:19:01AM -0500, Nasser M. Abbasi wrote:
...
> But I can't get this to work for loading mathjax.
>
> I have .cfg where I tell htlatex to use MathJax. When I use
> the .cfg, it works.
...

I'm not sure if this may help, but I sometime uses the following:

--- xxx.tex ---
\documentclass{article}
\usepackage{amsmath,amssymb,amsfonts}
\input tex4ht.sty
\Preamble{xhtml,docbook,docbook-mml}
\Configure{BODY}{}{}\Configure{DOCTYPE}{}\Configure{VERSION}{}
...
\begin{document}
\EndPreamble
some latex here
\end{document}
--------------

and then I compile with:
latex xxx.tex
tex4ht -cunihtf xxx.tex


cheers
m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/tex4ht/attachments/20130612/cf7c5f02/attachment.bin>


More information about the tex4ht mailing list