From 91eeefdee41dcf08f4fd6b16f6ce7e9758ab4724 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Wed, 29 Apr 1998 17:56:44 +0000
Subject: Work around lack of support for \if... in latex2html.

---
 Doc/lib/libstdwin.tex | 8 ++++++++
 Doc/libstdwin.tex     | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/Doc/lib/libstdwin.tex b/Doc/lib/libstdwin.tex
index ef3ff1c..146457a 100644
--- a/Doc/lib/libstdwin.tex
+++ b/Doc/lib/libstdwin.tex
@@ -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\)}
diff --git a/Doc/libstdwin.tex b/Doc/libstdwin.tex
index ef3ff1c..146457a 100644
--- a/Doc/libstdwin.tex
+++ b/Doc/libstdwin.tex
@@ -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\)}
-- 
cgit v0.12

