[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#439000: dvips command fails in latex2html



On Wed, Aug 22, 2007 at 15:19 -0400, Neil Watson wrote:
> On Wed, Aug 22, 2007 at 08:56:26PM +0200, Ralf Stubner wrote:
> >>\usepackage[pdftex]{graphicx}
> >
> >Removing the option pdftex here solves the problem for me. Actually
> >this option is not necessary here, so it is save to remove it.
> 
> I agree this is a work around.  Should a document include graphics and
> should I want to produce both pdf and html the problem will rise again.

I should have been more explicit: Leaving out the pdftex-option is not
a workaround but a general solution, since graphics.cfg contains code
that automatically activates the pdftex-option if not driver option is
specified and if pdflatex is used in pdf-mode. If you have any other
code where you have to destinguish between pdf and dvi/html
production, then you can use the \ifpdf switch from ifpdf.sty.

cheerio
ralf



Reply to: