[OS X TeX] \ifpdf in TeX4ht?
Eitan Gurari
gurari at cse.ohio-state.edu
Wed Mar 28 12:38:07 EDT 2007
There is no direct counterpart for \ifpdf but indirectly one can
employ an instruction similar to
\ifx \HCode\UnDefined \else ... \fi
However, private configuration files
http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn3.html#QQ1-3-13
offer cleaner approaches. For instance, the definition of \foo in
\documentclass{article}
\def\foo{...}
\begin{document}
\foo
\end{document}
can be redefined in a private configuration file for a desirable
behavior under tex4ht.
> Is there an option in TeX4ht which can be checked at latex runtime to
> do something which only makes sense or is necessary with TeX4ht? I
> just need some vertical space where TeX makes a page break ...
How are the page breaks requested? Those that are automatically
created by the native tex engine are meaningless for hypertext output.
-eitan
------------------------- 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