[OS X TeX] \ifpdf in TeX4ht?

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

 > The "minimal example" I have produced shows correct behaviour: all  
 > page breaks are removed! Otherwise it would be a bug – usually a  
 > "longtable" spans more than one page on real or virtual paper, but  
 > HTML only knows paper rolls of unlimited length, so all page breaks,  
 > top skips, etc. have to be removed.
 > There were left some [space] relics from an earlier form of the long  
 > table. The clean page breaks zeroed them out while TeX4ht applied  
 > them, of course, so that I could see the beginning of a "new page."  
 > Each "page" contains material related to some topic or header with  
 > varying length.

I don't follow. I'll need to see a sample latex code to be able to
deal with the problem.

 > What is remaining is that the picture from the previous example  
 > cannot be put into the HTML output. If I edit the HTML file and  
 > replace the wrong file name for the picture with its original name,  
 > it gets included without scaling and without horizontal offset ...

I guess a possible approach would be to define a private macro for
importing pictures with different interpretations for pdf and html
output formats.


------------------------- 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