diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-29 16:42:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-29 16:42:37 (GMT) |
commit | f339632da0afed44e439906e1490e1b671efb4cc (patch) | |
tree | 2b87e3d2a4689939ae65acfaec6c02a124723e2c /Doc/sgml | |
parent | fdfd50f8150354b10cc72f2113537fa7d233a1b2 (diff) | |
download | cpython-f339632da0afed44e439906e1490e1b671efb4cc.zip cpython-f339632da0afed44e439906e1490e1b671efb4cc.tar.gz cpython-f339632da0afed44e439906e1490e1b671efb4cc.tar.bz2 |
Define a general entity "&version;" that can be used as the current major
version of the Python interpreter. This is \version in the LaTeX format
of the documentation.
Diffstat (limited to 'Doc/sgml')
-rw-r--r-- | Doc/sgml/catalog | 3 | ||||
-rw-r--r-- | Doc/sgml/python.dtd | 5 | ||||
-rw-r--r-- | Doc/sgml/version.ent | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/Doc/sgml/catalog b/Doc/sgml/catalog index 7546c22..aeae92c 100644 --- a/Doc/sgml/catalog +++ b/Doc/sgml/catalog @@ -1,4 +1,7 @@ +-- SGML-Open-style catalog for the Python documentation system -- + CATALOG "iso/catalog" CATALOG "oasis/catalog" PUBLIC "+//IDN python.org//DTD Python Documentation 1.0//EN" "python.dtd" +PUBLIC "+//IDN python.org//ENTITIES Python Version//EN" "version.ent" diff --git a/Doc/sgml/python.dtd b/Doc/sgml/python.dtd index e9bf50a..88aace0 100644 --- a/Doc/sgml/python.dtd +++ b/Doc/sgml/python.dtd @@ -7,6 +7,11 @@ PUBLIC "-//OASIS//DTD Exchange Table Model 19960430//EN"> &oasis-tables.mod; +<!-- define the &version; general entity --> +<!ENTITY python-version.ent + PUBLIC "+//IDN python.org//ENTITIES Python Version//EN"> +&python-version.ent; + <!ELEMENT input - - EMPTY> <!ATTLIST input %common.att; diff --git a/Doc/sgml/version.ent b/Doc/sgml/version.ent new file mode 100644 index 0000000..c6259b1 --- /dev/null +++ b/Doc/sgml/version.ent @@ -0,0 +1,2 @@ +<!-- Version number for the Python interpreter --> +<!ENTITY version CDATA "1.5"> |