]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Changes to some math using underscore as subscript, necessary since
authorGuido van Rossum <guido@python.org>
Thu, 17 Dec 1992 15:31:02 +0000 (15:31 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 17 Dec 1992 15:31:02 +0000 (15:31 +0000)
the new style file defines underscore as an underscore in tt font.

Doc/Makefile
Doc/ref/ref5.tex
Doc/ref5.tex

index bcc1afe7d657114c54c4686da40fee83f4e6cddc..8559f6fa13712dcf54fe15e5a99785fbc6b61caf 100644 (file)
@@ -13,6 +13,7 @@ tut:
 ref:
        touch ref.ind
        latex ref
+       ./fix_hack ref.idx
        makeindex ref
        latex ref
        dvips ref >ref.ps
@@ -38,7 +39,7 @@ libinfo:
        sh fix.sh
 
 clean:
-       rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl
+       rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
        # Sources: .tex, .bib, .sty
        # Useful results: .dvi, .ps
 
index 34dfeb1de43da818bd9e1f2f72d1e88062eab3ef..7857e95dd955e7beb1c42adc05cb671c4d9f1c4b 100644 (file)
@@ -523,12 +523,14 @@ evaluated only once (but in both cases $z$ is not evaluated at all
 when $x < y$ is found to be false).
 \indexii{chaining}{comparisons}
 
+\catcode`\_=8
 Formally, $e_0 op_1 e_1 op_2 e_2 ...e_{n-1} op_n e_n$ is equivalent to
 $e_0 op_1 e_1$ \verb\and\ $e_1 op_2 e_2$ \verb\and\ ... \verb\and\
 $e_{n-1} op_n e_n$, except that each expression is evaluated at most once.
 
 Note that $e_0 op_1 e_1 op_2 e_2$ does not imply any kind of comparison
 between $e_0$ and $e_2$, e.g. $x < y > z$ is perfectly legal.
+\catcode`\_=12
 
 The forms \verb\<>\ and \verb\!=\ are equivalent; for consistency with
 C, \verb\!=\ is preferred; where \verb\!=\ is mentioned below
index 34dfeb1de43da818bd9e1f2f72d1e88062eab3ef..7857e95dd955e7beb1c42adc05cb671c4d9f1c4b 100644 (file)
@@ -523,12 +523,14 @@ evaluated only once (but in both cases $z$ is not evaluated at all
 when $x < y$ is found to be false).
 \indexii{chaining}{comparisons}
 
+\catcode`\_=8
 Formally, $e_0 op_1 e_1 op_2 e_2 ...e_{n-1} op_n e_n$ is equivalent to
 $e_0 op_1 e_1$ \verb\and\ $e_1 op_2 e_2$ \verb\and\ ... \verb\and\
 $e_{n-1} op_n e_n$, except that each expression is evaluated at most once.
 
 Note that $e_0 op_1 e_1 op_2 e_2$ does not imply any kind of comparison
 between $e_0$ and $e_2$, e.g. $x < y > z$ is perfectly legal.
+\catcode`\_=12
 
 The forms \verb\<>\ and \verb\!=\ are equivalent; for consistency with
 C, \verb\!=\ is preferred; where \verb\!=\ is mentioned below