[Python-checkins] python/dist/src/Doc/lib libre.tex,1.111,1.112
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Thu Nov 11 06:04:59 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1765
Modified Files:
libre.tex
Log Message:
Replace last two uses of the "list" environment with "description"
environments.
Closes SF bug #692442: Konqueror can't render docs because of
malformed HTML. While the generated HTML is still terrible, the cited
cases of <DL COMPACT> have been removed. The general problem of XHTML
conformance has not been solved, but is endemic to LaTeX2HTML output.
Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- libre.tex 28 Sep 2004 03:12:01 -0000 1.111
+++ libre.tex 11 Nov 2004 05:04:55 -0000 1.112
@@ -78,8 +78,8 @@
affect how the regular expressions around them are interpreted.
The special characters are:
-
-\begin{list}{}{\leftmargin 0.7in \labelwidth 0.65in}
+%
+\begin{description}
\item[\character{.}] (Dot.) In the default mode, this matches any
character except a newline. If the \constant{DOTALL} flag has been
@@ -306,14 +306,14 @@
\code{'user at host.com'}, but not with \code{'<user at host.com'}.
\versionadded{2.4}
-\end{list}
+\end{description}
The special sequences consist of \character{\e} and a character from the
list below. If the ordinary character is not on the list, then the
resulting RE will match the second character. For example,
\regexp{\e\$} matches the character \character{\$}.
-
-\begin{list}{}{\leftmargin 0.7in \labelwidth 0.65in}
+%
+\begin{description}
\item[\code{\e \var{number}}] Matches the contents of the group of the
same number. Groups are numbered starting from 1. For example,
@@ -374,7 +374,7 @@
\item[\code{\e Z}]Matches only at the end of the string.
-\end{list}
+\end{description}
Most of the standard escapes supported by Python string literals are
also accepted by the regular expression parser:
More information about the Python-checkins
mailing list