I am trying to create html file from my test.tex
document including a .pstex_t
file that include a .ps
figure. Here is my test.tex
file
\documentclass[12pt,a4paper]{article}
\usepackage[francais]{babel}
\usepackage[latin1]{inputenc}
\usepackage{lmodern}
\usepackage{graphicx,color,float}
\usepackage{amsmath,amsthm}
\title{Test}
\author{S.~Oulhoussine}
\begin{document}
\begin{equation}
\displaystyle \sum_{i=1}^{n}{i^2+\sqrt{i}}
\end{equation}
\begin{figure}[H]
\centering
\input{invariant.pstex_t}
\caption{Ensemble borné.} \label{f:snlbf}
\end{figure}
\end{document}
The .ps
an .pstex_t
files are here in the link below
invariant.ps and invariant.pstex_t
The .pstex_t
is created using Winfig from a winfig figure including math formulaes in Latex.
All is going ok to create .dvi
file.
To convert to .html
, I use tex4ht
with my.cfg
configuration file listed below
\Preamble{xhtml,mathml}
\Configure{DOCTYPE}{\HCode{<!DOCTYPE html>\Hnewline}}
\Configure{@HEAD}{\HCode{<script type="text/javascript"\Hnewline
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-
MML_HTMLorMML"\Hnewline
></script>\Hnewline}}
\Configure{@HEAD}{\HCode{<style type="text/css">\Hnewline
.MathJax_MathML {text-indent: 0;}\Hnewline
</style>\Hnewline}}
\begin{document}
\EndPreamble
I used this command line
htlatex test.tex "my.cfg"
Here is my html
file
test.html
As you can see, the figure does not appear in the .html
file.
How to include .pstex_t
using tex4ht
please ?
pstex_t
before and cannot find a sample file online, so I cannot came with a solution at the moment.