diff options
author | Fred Drake <fdrake@acm.org> | 1998-04-29 17:56:44 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-04-29 17:56:44 (GMT) |
commit | 91eeefdee41dcf08f4fd6b16f6ce7e9758ab4724 (patch) | |
tree | 017fa97c801b920755ca59fb7ed3a30b88da9384 /Doc | |
parent | 89a1d4ad3a64d1e37ddf4ce6e6c407352442cc5a (diff) | |
download | cpython-91eeefdee41dcf08f4fd6b16f6ce7e9758ab4724.zip cpython-91eeefdee41dcf08f4fd6b16f6ce7e9758ab4724.tar.gz cpython-91eeefdee41dcf08f4fd6b16f6ce7e9758ab4724.tar.bz2 |
Work around lack of support for \if... in latex2html.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libstdwin.tex | 8 | ||||
-rw-r--r-- | Doc/libstdwin.tex | 8 |
2 files changed, 16 insertions, 0 deletions
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\)} |