[OS X TeX] \ifpdf in TeX4ht?

Peter Dyballa Peter_Dyballa at Web.DE
Sat Mar 31 16:51:46 EDT 2007


Am 31.03.2007 um 18:46 schrieb Eitan Gurari:

>> I then used my TeX Live 2007 DVD. It does a better job with t4ht.c
>> (2007-01-05-03:17 kpathsea), no error and a PNG picture: which has
>> clipped off about 80 % of its original contents, only feet and shin
>> bones are visible.
>
> What is being viewed in the document when compiled for latex + dvips.

The DVI file seems to be OK, I can see it in xdvi, but I can't see  
the EPS (only the PS) picture, just the frame xdvi draws! So there  
might be a mistake somewhere, could be some documentation or someone  
gives an insight. In gv I can see both the EPS and PS versions of the  
picture.

Pic	xdvi			HTML	comments
-----------------------------------------------------------------
EPS	frame+faulty text	blank	convert fails: geometry does not contain  
image `zzFile.ps'.*
PS	picture+faulty text	picture	OK
PNG	frame+faulty text	symbol	gs fails
TIFF	frame+faulty text	symbol	gs fails
JPEG	frame+faulty text	symbol	gs fails
GIF	frame+faulty text	symbol	gs fails

* When the \includegraphics* statement contains a [<bbox>] option,  
the upper 80% of the picture are clipped off

The behaviour in TeX Live 2007 is consistently the same. The error  
seems to come from File.idv. This name is recorded in zzFile.ps which  
leads to failure with gs when to view it in gv.

Between tests I removed all TeX4ht output files.


> If I understand correctly the outcome, then the problem seems to be in
> part of the picture being displayed beyond the page boundaries. -eitan

No, the upper part of the picture is cut off. Remember: I can view  
the picture (not its code) in GNU Emacs! But it comes, see above,  
from faulty use of \includegraphics*[height=80mm,bb=<bbox>]{File}.

--
Greetings

   Pete

The box said "Use Windows 95 or better," so I got a Macintosh.



------------------------- 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 MacOSX-TeX mailing list