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.
This commit is contained in:
Fred Drake 1999-01-29 16:42:37 +00:00
parent fdfd50f815
commit f339632da0
3 changed files with 10 additions and 0 deletions

View File

@ -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"

View File

@ -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;

2
Doc/sgml/version.ent Normal file
View File

@ -0,0 +1,2 @@
<!-- Version number for the Python interpreter -->
<!ENTITY version CDATA "1.5">