summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-07-28 21:52:17 (GMT)
committerFred Drake <fdrake@acm.org>1998-07-28 21:52:17 (GMT)
commit1e4973be731074b2eeaf194bafb225479153d91b (patch)
tree4ad04ba4f4d25c6e4d2a896f37e23812e8953c50 /Doc
parentefc17bd96820c513007a63f5a014a40048027837 (diff)
downloadcpython-1e4973be731074b2eeaf194bafb225479153d91b.zip
cpython-1e4973be731074b2eeaf194bafb225479153d91b.tar.gz
cpython-1e4973be731074b2eeaf194bafb225479153d91b.tar.bz2
Define stuff to allow simple HTML-only selection using TeX's \if<foo>...\fi
stuff. \ifhtml ...\fi for HTML only.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/texinputs/python.sty5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 2e0a7d2..d94176a 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -646,6 +646,11 @@
% I'd really like to get rid of this!
\newif\iftexi\texifalse
+% This is used to get l2h to put the copyright and abstract on
+% a separate HTML page.
+\newif\ifhtml\htmlfalse
+
+
% These should be used for all references to identifiers which are
% used to refer to instances of specific language constructs. See the
% names for specific semantic assignments.