]> granicus.if.org Git - python/commitdiff
Markup adjustment: \[...\] is math markup and does not translate well when
authorFred Drake <fdrake@acm.org>
Thu, 27 Sep 2001 04:16:27 +0000 (04:16 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 27 Sep 2001 04:16:27 +0000 (04:16 +0000)
used with text as was done here.  Fixed so that the typeset version wraps
the warning text and the HTML version does not create images of the warning
text.

Doc/lib/liblocale.tex

index cf3996c849391d8c0f290996286a7a83044174a0..28e9e3fd87f181813bab5d6b2c694ce08e7fe2f0 100644 (file)
@@ -298,9 +298,10 @@ represent time in the am/pm format.
 \end{datadesc}
 
 \begin{datadesc}{DAY_1 ... DAY_7}
-Return name of the n-th day of the week. \[Warning: this follows the US
-convention DAY_1 = Sunday, not the international convention (ISO 8601)
-that Monday is the first day of the week.\]
+Return name of the n-th day of the week. \strong{Warning:} this
+follows the US convention of \constant{DAY_1} being Sunday, not the
+international convention (ISO 8601) that Monday is the first day of
+the week.
 \end{datadesc}
 
 \begin{datadesc}{ABDAY_1 ... ABDAY_7}
@@ -326,9 +327,9 @@ Return separator character for thousands (groups of three digits).
 \begin{datadesc}{YESEXPR}
 Return a regular expression that can be used with the regex
 function to recognize a positive response to a yes/no question.
-\[Warning: the expression is in the syntax suitable for the
-  regex C library function, which might differ from the syntax
-  used in \module{re}\]
+\strong{Warning:} the expression is in the syntax suitable for the
+\cfunction{regex()} function from the C library, which might differ
+from the syntax used in \refmodule{re}.
 \end{datadesc}
 
 \begin{datadesc}{NOEXPR}