Johannes Ranke wrote:
> tex4ht wanted to create a png from and embedded eps image by calling
> 
>       dvipng -T tight -x 1400 -D 72 -bg Transparent -pp 2:2 \
>               lab_methods_en.idv -o lab_methods_en0x.png
> 
> but created a blank png, although I can see page 2 of lab_methods_en.idv
> with xdvi, and the embedded file is correctly processed by gs and gv.
> 
> If I hack the .idv file, remove the "../img/" part from the PS filename
> and copy the file in the current directory, I get the desired output.
> 
> Obviously, dvipng doesn't process the PS filename correctly in this
> case.

Well, not quite. The problem is the -dSAFER switch used in the internal
gs call and the use of "(../img/filename.ps) run". This to be able to
select the paper size and offset in a simple way with surrounding
postscript code.

A temporary workaround is to give the -nogssafer switch to dvipng, but
that is not really desirable in the long run. I'll look into this some more.

/JÅ

Reply via email to