I'm using Hevea to translate TeX to HTML. I want to convert all the formulas enclosed by $ ... $ to images. But I'm trying to avoid the using of:
\begin{toimage}
$ ... $
\end{toimage} \imageflush
There is some way to redefine the dollar sign, (perhaps using a \hevea macro) so as append all the toimage environments in a transparent way?
I mean just using the dollar sign. Nothing else.
I've tried the approach described in here but the macro cannot be parsed by hevea.
Example added:
I just want to translate everything like (this is an example, I want every formula written in math mode to be modified).
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
$ \textbf{\overrightarrow{x}} = ( \frac{3}{2} x,y,z) $
\end{document}
to
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\begin{document}
%\begin{toimage}
$ \textbf{\overrightarrow{x}} = ( \frac{3}{2} x,y,z) $
%\end{toimage} \imageflush
\end{document}
Because is the way I know to make hevea translates something written in math mode to an image. Hevea parse that commets %\begin{toimage}, etc and generate the images. I don't know is there a options of hevea to make that. But i couldn't find it so i try this approach, i.e. modifying the dollar sign.
\documentclass{...}and ending with\end{document}. – Qrrbrbirlbel Mar 04 '13 at 03:50