[OS X TeX] Tex4ht Problem?
Eitan Gurari
gurari at cse.ohio-state.edu
Wed Jun 22 16:32:49 CEST 2005
Herbert,
Can the problem be related to tmmtmx.sty? I couldn't locate that file
in ctan and google. Without that file I get the output
http://www.cse.ohio-state.edu/~gurari/temp/herb.html
which seems to be fine.
Can you email me the .log file, the messages issued by tex4ht.c, and a
pointer to tmmtmx, to allow me a closer look at the problem.
-eitan
> I used to get a nicely formatted table using htlatex on the source
> below. The compile options (i.e., first option list after the file
> name) to compile was "html, pic-m, pic-tabular, pic-fbox" (as in the
> commented out \usepackage) and it was compiled via CLI. Of course
> the table and all of its contents were really graphical images but
> they looked nice on the screen. Somewhere along the line things went
> bad and with the latest 2005 gwTeX the image of the table isn't even
> built. If I leave out the options or change $...$ to \(...\) I get
> something but it's really ugly.
>
> ---------- snip ----------
> %!TEX TS-program = htlatex
> \documentclass[11pt]{article}
> %\usepackage{tmmtmx}
> %\usepackage[html, pic-m, pic-tabular, pic-fbox]{tex4ht}
>
> \begin{document}
> \noindent This is a fancy table from the \TeX Book written in \LaTeX
> \ which includes mathematics within it:
> \begin{center}
> \setlength\fboxrule{0.7pt}%
> \setlength\fboxsep{0pt}%
> \newcommand\tblstrut[2][0 pt]{\rule[-#1]{0 pt}{#1}\rule{0 pt}{#2}}%
> \newcommand\erf{\mathop{\mathrm{erf}}}%
> \fbox{%
> \begin{tabular}{l|r@{$\displaystyle{}={}$}l}
> \tblstrut[9 pt]{14 pt} \textit{Name} &
> \multicolumn{2}{c}{\textit{Definition}} \\
> \hline
> \tblstrut[15 pt]{20 pt} Gamma & $\displaystyle\Gamma(z)$ & $
> \displaystyle\int_0^\infty\!\!t^{z-1}e^{-t}\,dt$ \\
> \hline
> \tblstrut[15 pt]{20 pt} Sine & $\displaystyle\sin(x)$ &
> $\displaystyle\frac1{2i}(e^{ix} - e^{-ix})$ \\
> \hline
> \tblstrut[15 pt]{20 pt} Error & $\displaystyle\erf(z)$ &
> $\displaystyle\frac2{\sqrt\pi}\int_0^z\!\!e^{-z^2}\,dz$ \\
> \hline
> \tblstrut[15 pt]{20 pt} Bessel & $\displaystyle J_0(z)$ &
> $\displaystyle\frac1{\pi}\int_0^\pi\!\!\cos(z\sin\theta)\,d\theta$ \\
> \hline
> \tblstrut[15 pt]{20 pt} Zeta & $\displaystyle\zeta(s)$ &
> $\displaystyle\sum_{k=1}^\infty k^{-s}\quad(\Re s>1)$
> \end{tabular}}
> \end{center}
> \end{document}
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list