[l2h] Another take on the 'no images' problem

Ross Moore ross at ics.mq.edu.au
Thu Jun 8 09:15:02 CEST 2006


On 08/06/2006, at 5:06 PM, Ross Moore wrote:

> Yes;  html.sty  needs an update.
> To be fully compatible with *verrrry* old LaTeX software, the test for
> whether pdfTeX is being used should be something like:
>

Oops, I forgot the \expandafter s:
>
\expandafter\ifx\csname IfFileExists\endcsname\relax
>   \let\pdfunknown\relax        % too old for packages ??
> \else   %  using a modern LaTeX
>    \IfFileExists{ifpdf.sty}{%
>      \usepackage{ifpdf}%
>      \ifpdf\else
>        \let\pdfunknown\relax   % not making PDF
>      \fi
>    }{%
     \expandafter\ifx\csname pdfoutput\endcsname\relax
>       \let\pdfunknown\relax    % not using pdfetex
>     \else  %  either  pdftex  or  pdfetex
>       \ifnum \pdfoutput=0\relax
>         \let\pdfunknown\relax  % not making PDF
>       \fi
>     \fi
>    }%
> \fi
>


Cheers,

	Ross

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------




More information about the latex2html mailing list