summaryrefslogtreecommitdiffstats
path: root/Doc/doc/doc.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-14 22:50:06 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-14 22:50:06 (GMT)
commit6ca33771f88e5819a2c8880d6f022d9f8d43faf0 (patch)
treef5aeb060d04c0a972f0bb42f07e856bf891d2d8a /Doc/doc/doc.tex
parent615e2505f032df1de66ed97195a99cce8d054cce (diff)
downloadcpython-6ca33771f88e5819a2c8880d6f022d9f8d43faf0.zip
cpython-6ca33771f88e5819a2c8880d6f022d9f8d43faf0.tar.gz
cpython-6ca33771f88e5819a2c8880d6f022d9f8d43faf0.tar.bz2
Add a new environment for whole-paragraph (or longer) notes & warnings.
Diffstat (limited to 'Doc/doc/doc.tex')
-rw-r--r--Doc/doc/doc.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/Doc/doc/doc.tex b/Doc/doc/doc.tex
index 49e8c49..3e608a4 100644
--- a/Doc/doc/doc.tex
+++ b/Doc/doc/doc.tex
@@ -1010,6 +1010,25 @@ This \UNIX\ is also followed by a space.
\end{macrodesc}
+ \subsection{Miscellaneous Text Markup \label{misc-text-markup}}
+
+ In addition to the inline markup, some additional ``block'' markup
+ is defined to make it easier to bring attention to various bits of
+ text. The markup described here serves this purpose, and is
+ intended to be used when marking one or more paragraphs or other
+ block constructs (such as \env{verbatim} environments).
+
+ \begin{envdesc}{notice}{\op{type}}
+ Label some paragraphs as being worthy of additional attention from
+ the reader. What sort of attention is warrented can be indicated
+ by specifying the \var{type} of the notice. The only values
+ defined for \var{type} are \code{note} and \code{warning}; these
+ are equivalent in intent to the inline markup of the same name.
+ If \var{type} is omitted, \code{note} is used. Additional values
+ may be defined in the future.
+ \end{envdesc}
+
+
\subsection{Module-specific Markup \label{module-markup}}
The markup described in this section is used to provide information