Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91eeefd

Browse files
committed
Work around lack of support for \if... in latex2html.
1 parent 89a1d4a commit 91eeefd

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Doc/lib/libstdwin.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,12 +838,16 @@ \section{Standard Module \module{rect}}
838838
A rectangle
839839
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})}
840840
is empty if
841+
%begin{latexonly}
841842
\iftexi
843+
%end{latexonly}
842844
\code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}.
845+
%begin{latexonly}
843846
\else
844847
$\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$.
845848
%%JHXXX\emph{left~$\geq$~right} or \emph{top~$\leq$~bottom}.
846849
\fi
850+
%end{latexonly}
847851
\end{funcdesc}
848852

849853
\begin{funcdesc}{intersect}{list}
@@ -873,13 +877,17 @@ \section{Standard Module \module{rect}}
873877
\code{(\var{h}, \var{v})}
874878
is inside a rectangle
875879
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})} if
880+
%begin{latexonly}
876881
\iftexi
882+
%end{latexonly}
877883
\code{\var{left} <= \var{h} < \var{right}} and
878884
\code{\var{top} <= \var{v} < \var{bottom}}.
885+
%begin{latexonly}
879886
\else
880887
$\var{left} \leq \var{h} < \var{right}$ and
881888
$\var{top} \leq \var{v} < \var{bottom}$.
882889
\fi
890+
%end{latexonly}
883891
\end{funcdesc}
884892

885893
\begin{funcdesc}{inset}{rect, \(dh, dv\)}

Doc/libstdwin.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,12 +838,16 @@ \section{Standard Module \module{rect}}
838838
A rectangle
839839
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})}
840840
is empty if
841+
%begin{latexonly}
841842
\iftexi
843+
%end{latexonly}
842844
\code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}.
845+
%begin{latexonly}
843846
\else
844847
$\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$.
845848
%%JHXXX\emph{left~$\geq$~right} or \emph{top~$\leq$~bottom}.
846849
\fi
850+
%end{latexonly}
847851
\end{funcdesc}
848852

849853
\begin{funcdesc}{intersect}{list}
@@ -873,13 +877,17 @@ \section{Standard Module \module{rect}}
873877
\code{(\var{h}, \var{v})}
874878
is inside a rectangle
875879
\code{(\var{left}, \var{top}), (\var{right}, \var{bottom})} if
880+
%begin{latexonly}
876881
\iftexi
882+
%end{latexonly}
877883
\code{\var{left} <= \var{h} < \var{right}} and
878884
\code{\var{top} <= \var{v} < \var{bottom}}.
885+
%begin{latexonly}
879886
\else
880887
$\var{left} \leq \var{h} < \var{right}$ and
881888
$\var{top} \leq \var{v} < \var{bottom}$.
882889
\fi
890+
%end{latexonly}
883891
\end{funcdesc}
884892

885893
\begin{funcdesc}{inset}{rect, \(dh, dv\)}

0 commit comments

Comments
 (0)