[OS X TeX] Tex4ht Problem?

Herbert Schulz herbs at wideopenwest.com
Wed Jun 22 15:12:30 CEST 2005


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
%\usepackage[html, pic-m, pic-tabular, pic-fbox]{tex4ht}

\noindent This is a fancy table from the \TeX Book written in \LaTeX 
\  which includes mathematics within it:
\newcommand\tblstrut[2][0 pt]{\rule[-#1]{0 pt}{#1}\rule{0 pt}{#2}}%
     \tblstrut[9 pt]{14 pt} \textit{Name} &
\multicolumn{2}{c}{\textit{Definition}} \\
     \tblstrut[15 pt]{20 pt} Gamma & $\displaystyle\Gamma(z)$ & $ 
\displaystyle\int_0^\infty\!\!t^{z-1}e^{-t}\,dt$ \\
     \tblstrut[15 pt]{20 pt} Sine & $\displaystyle\sin(x)$ &
$\displaystyle\frac1{2i}(e^{ix} - e^{-ix})$ \\
     \tblstrut[15 pt]{20 pt} Error & $\displaystyle\erf(z)$ &
$\displaystyle\frac2{\sqrt\pi}\int_0^z\!\!e^{-z^2}\,dz$ \\
     \tblstrut[15 pt]{20 pt} Bessel & $\displaystyle J_0(z)$ &
$\displaystyle\frac1{\pi}\int_0^\pi\!\!\cos(z\sin\theta)\,d\theta$ \\
     \tblstrut[15 pt]{20 pt} Zeta & $\displaystyle\zeta(s)$ &
$\displaystyle\sum_{k=1}^\infty k^{-s}\quad(\Re s>1)$
---------- snip ----------

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- 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