I haven't been able to find any reference to this topic in the archives so please excuse me if the answer is obvious.
Consider the four attached files, test.tex, test.eepic, test.ps and img1.png.
The PS file output is the result of running the usual latex -> dvips combination on test.tex. test.eepic has actually been created from test.fig using fig2dev. test.fig was of course created using xfig. Using makelatex (see my web pages) this process is made very efficient and dependencies between test.fig and test.tex are maintained by the generated Makefile. This is beside the point.
The result of running latex2html (no options or switches) on test.tex is, however, not as expected. In particular the png image generated to represent the figure in test.tex (img1.png) is missing areas of the original diagram. The original .fig diagram looks like this:
---------------------------------------------- | | | Next line contains the macro | | \Test | -----------------------------------------------
Does anyone have any suggestions as to what could be wrong?
Many thanks,
Paul -- Department of Computing, Imperial College London http://myitcv.org.uk/
<<inline: img1.png>>
\setlength{\unitlength}{0.00087489in}
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
[EMAIL PROTECTED]
\fontfamily{#3}\fontseries{#4}\fontshape{#5}%
\selectfont}%
\fi\endgroup%
{\renewcommand{\dashlinestretch}{30}
\begin{picture}(2249,554)(0,-10)
\thicklines
\path(22,517)(2227,517)(2227,22)
(22,22)(22,517)
\put(337,112){\makebox(0,0)[lb]{{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}\Test}}}}}
\put(67,337){\makebox(0,0)[lb]{{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Next
line contains the macro}}}}}
\end{picture}
}
test.ps
Description: PostScript document
\documentclass{article}
\newcommand{\dashlinestretch}{0}
\usepackage{epic,eepic}
\def\Test{This is a test}
\begin{document}
\Test
\begin{figure}[h]
\centering
\input{test.eepic}
\caption{A test eepic figure}
\label{fig:eepicTest}
\end{figure}
\end{document}
_______________________________________________ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html
