>>>>> "Michel" == Michel Goossens <[EMAIL PROTECTED]> writes:
>> In l2hb6 (and earlier versions)
>>
>> \includegraphics[width=1in]{ps/big-file.eps.gz}
>>
>> causes image generation to fail (file not found
>> ps/big-file.eps.gz). The problem goes away if I make a link to
>> the ps directory in the directory where l2h puts html files. If
>> the file isn't compressed there's no problem.
Michel> That is because gunzip, which is called to uncompress the
Michel> gz file and include it into the ps file for making gif/png
Michel> images does not know about the search paths of dvips and
Michel> tex. I have the same problem when I run dvips on the full
Michel> file. I do not know about a cure, apart from specifying
Michel> full path names or making links (as you did).
The problem is a) with the graphics package of the latex distrib and
b) with older versions of dvips (like Grahams). If you redefine in
dvips.def the lines
\@namedef{Gin@[email protected]}#1{{eps}{.eps.bb}{`gunzip -c #1}}
\@namedef{Gin@[email protected]}#1{{eps}{.ps.bb}{`gunzip -c #1}}
\@namedef{Gin@[email protected]}#1{{eps}{.ps.bb}{`gunzip -c #1}}
\@namedef{Gin@[email protected]}#1{{eps}{.eps.bb}{`gunzip -c #1}}
to:
\@namedef{Gin@[email protected]}#1{{eps}{.eps.bb}{#1}}
\@namedef{Gin@[email protected]}#1{{eps}{.ps.bb}{#1}}
\@namedef{Gin@[email protected]}#1{{eps}{.ps.bb}{#1}}
\@namedef{Gin@[email protected]}#1{{eps}{.eps.bb}{#1}}
and add in
graphics.cfg
\ExecuteOptions{dvips}
dvips will to search for the file and uncompress after
searching -- instead of having gunzip to find the file.
Unfortunatly, this only works with newer versions of dvips.
Uli
--
Uli Wortmann
Dept. of Geology Fax (Switzerland) (1) 632 1080
ETH-Zuerich Fon 3694
email: [EMAIL PROTECTED], http://www.erdw.ethz.ch/~bonk/bonk.html