[OS X TeX] \ifpdf in TeX4ht?

Eitan Gurari gurari at cse.ohio-state.edu
Sat Mar 31 15:35:14 CEST 2007

 > I have the picture file in all formats:
 > 	 .png .tif .gif .jpeg .eps .ps .svg
 > plus a .bb file for use with latex and DVI output.
 > Is there no way to use \DeclareGraphicsExtensions{} and set a  
 > preference for picture files with htlatex, as I try?

How about making a request for


in html mode instead of the request


provided for pdf mode?

 > Also the shell  
 > script could check whether the picture file already exists in the  
 > preferred format, then no gs invocation would be necessary ...
A request of the form

          \put(100,18){\includegraphics*[height=80mm,bb=0 0 328 406]{Image}} 

arrives to the shell in the form of DVI code with a picture embedded
within the code.  The shell script calls dvips + ImageMagic/convert
to take care of the code without looking into the content of the code.


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the macostex-archives mailing list