Work around lack of support for \if... in latex2html.

This commit is contained in:
Fred Drake 1998-04-29 17:56:44 +00:00
parent 89a1d4ad3a
commit 91eeefdee4
2 changed files with 16 additions and 0 deletions

View File

@ -838,12 +838,16 @@ Returns true if the given rectangle is empty.
A rectangle
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})}
is empty if
%begin{latexonly}
\iftexi
%end{latexonly}
\code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}.
%begin{latexonly}
\else
$\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$.
%%JHXXX\emph{left~$\geq$~right} or \emph{top~$\leq$~bottom}.
\fi
%end{latexonly}
\end{funcdesc}
\begin{funcdesc}{intersect}{list}
@ -873,13 +877,17 @@ By definition, a point
\code{(\var{h}, \var{v})}
is inside a rectangle
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})} if
%begin{latexonly}
\iftexi
%end{latexonly}
\code{\var{left} <= \var{h} < \var{right}} and
\code{\var{top} <= \var{v} < \var{bottom}}.
%begin{latexonly}
\else
$\var{left} \leq \var{h} < \var{right}$ and
$\var{top} \leq \var{v} < \var{bottom}$.
\fi
%end{latexonly}
\end{funcdesc}
\begin{funcdesc}{inset}{rect, \(dh, dv\)}

View File

@ -838,12 +838,16 @@ Returns true if the given rectangle is empty.
A rectangle
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})}
is empty if
%begin{latexonly}
\iftexi
%end{latexonly}
\code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}.
%begin{latexonly}
\else
$\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$.
%%JHXXX\emph{left~$\geq$~right} or \emph{top~$\leq$~bottom}.
\fi
%end{latexonly}
\end{funcdesc}
\begin{funcdesc}{intersect}{list}
@ -873,13 +877,17 @@ By definition, a point
\code{(\var{h}, \var{v})}
is inside a rectangle
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})} if
%begin{latexonly}
\iftexi
%end{latexonly}
\code{\var{left} <= \var{h} < \var{right}} and
\code{\var{top} <= \var{v} < \var{bottom}}.
%begin{latexonly}
\else
$\var{left} \leq \var{h} < \var{right}$ and
$\var{top} \leq \var{v} < \var{bottom}$.
\fi
%end{latexonly}
\end{funcdesc}
\begin{funcdesc}{inset}{rect, \(dh, dv\)}