summaryrefslogtreecommitdiffstats
path: root/Doc/doc/doc.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-13 02:48:24 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-13 02:48:24 (GMT)
commite789ea19c1e528f3d62b2f62c0ae643de9705909 (patch)
tree454af6bb9deca27904933b27af37226384527c70 /Doc/doc/doc.tex
parentf171ad9d994c87441a7a9c7f458b38ad38a7bc79 (diff)
downloadcpython-e789ea19c1e528f3d62b2f62c0ae643de9705909.zip
cpython-e789ea19c1e528f3d62b2f62c0ae643de9705909.tar.gz
cpython-e789ea19c1e528f3d62b2f62c0ae643de9705909.tar.bz2
Extend the list of special characters and magic markup used to produce them
to include various characters used in code samples, URLs, and other special contexts. This closes SF bug #525684.
Diffstat (limited to 'Doc/doc/doc.tex')
-rw-r--r--Doc/doc/doc.tex16
1 files changed, 10 insertions, 6 deletions
diff --git a/Doc/doc/doc.tex b/Doc/doc/doc.tex
index 8e8979d..15f8971 100644
--- a/Doc/doc/doc.tex
+++ b/Doc/doc/doc.tex
@@ -391,14 +391,18 @@ This \UNIX\ is also followed by a space.
\end{verbatim}
There are a number of less-used marks in \LaTeX{} which are used
- to enter non-\ASCII{} characters, especially those used in
- European names. Given that these are often used adjacent to other
- characters, the markup required to produce the proper character
- may need to be followed by a space or an empty group, or the
- markup can be enclosed in a group. Some which are found in Python
- documentation are:
+ to enter characters which are not found in \ASCII{} or which a
+ considered special, or \emph{active} in \TeX{} or \LaTeX. Given
+ that these are often used adjacent to other characters, the markup
+ required to produce the proper character may need to be followed
+ by a space or an empty group, or the markup can be enclosed in a
+ group. Some which are found in Python documentation are:
\begin{tableii}{c|l}{textrm}{Character}{Markup}
+ \lineii{\textasciicircum}{\code{\e textasciicircum}}
+ \lineii{\textasciitilde}{\code{\e textasciitilde}}
+ \lineii{\textgreater}{\code{\e textgreater}}
+ \lineii{\textless}{\code{\e textless}}
\lineii{\c c}{\code{\e c c}}
\lineii{\"o}{\code{\e"o}}
\lineii{\o}{\code{\e o}}