first commit
This commit is contained in:
commit
b833747b9e
63
CATALOG.db41xml
Normal file
63
CATALOG.db41xml
Normal file
@ -0,0 +1,63 @@
|
||||
OVERRIDE YES
|
||||
DTDDECL "-//OASIS//DTD DocBook XML V4.1.2//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
-- ...................................................................... --
|
||||
-- Catalog data for DocBook XML V4.1.2 .................................... --
|
||||
-- File docbook.cat ..................................................... --
|
||||
|
||||
-- Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/.
|
||||
--
|
||||
|
||||
-- This is the catalog data file for DocBook XML V4.1.2. It is provided as
|
||||
a convenience in building your own catalog files. You need not use
|
||||
the filenames listed here, and need not use the filename method of
|
||||
identifying storage objects at all. See the documentation for
|
||||
detailed information on the files associated with the DocBook DTD.
|
||||
See SGML Open Technical Resolution 9401 for detailed information
|
||||
on supplying and using catalog data.
|
||||
--
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/docbookx.dtd"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook modules ...................................................... --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/calstblx.dtd"
|
||||
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "/usr/share/sgml/docbook/dtd/4.1xml/soextblx.dtd"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbpoolx.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbhierx.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbnotnx.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/dbcentx.mod"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- ISO entity sets ...................................................... --
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-dia.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-num.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-pub.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-tech.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-lat1.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-lat2.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk1.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk2.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk3.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-grk4.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsa.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsb.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsc.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsn.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amso.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-amsr.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-box.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-cyr1.ent"
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "/usr/share/sgml/docbook/dtd/4.1xml/ent/iso-cyr2.ent"
|
||||
|
||||
-- End of catalog data for DocBook XML V4.1.2 ............................. --
|
||||
-- ...................................................................... --
|
||||
114
CATALOG.db42xml
Normal file
114
CATALOG.db42xml
Normal file
@ -0,0 +1,114 @@
|
||||
OVERRIDE YES
|
||||
DTDDECL "-//OASIS//DTD DocBook XML V4.2//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
-- ...................................................................... --
|
||||
-- Catalog data for DocBook XML V4.2 .................................... --
|
||||
-- File docbook.cat ..................................................... --
|
||||
|
||||
-- Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/.
|
||||
--
|
||||
|
||||
-- This is the catalog data file for DocBook XML V4.2. It is provided as
|
||||
a convenience in building your own catalog files. You need not use
|
||||
the filenames listed here, and need not use the filename method of
|
||||
identifying storage objects at all. See the documentation for
|
||||
detailed information on the files associated with the DocBook DTD.
|
||||
See SGML Open Technical Resolution 9401 for detailed information
|
||||
on supplying and using catalog data.
|
||||
--
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/docbookx.dtd"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook modules ...................................................... --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/calstblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/soextblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/dbpoolx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/dbhierx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/dbgenent.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/dbnotnx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/dbcentx.mod"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- ISO entity sets ...................................................... --
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-dia.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-num.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-pub.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-tech.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-lat1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-lat2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk3.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-grk4.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsa.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsb.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsc.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsn.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amso.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-amsr.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-box.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-cyr1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.2xml/ent/iso-cyr2.ent"
|
||||
|
||||
-- End of catalog data for DocBook XML V4.2 ............................. --
|
||||
-- ...................................................................... --
|
||||
119
CATALOG.db43xml
Normal file
119
CATALOG.db43xml
Normal file
@ -0,0 +1,119 @@
|
||||
OVERRIDE YES
|
||||
DTDDECL "-//OASIS//DTD DocBook XML V4.3//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
|
||||
-- ...................................................................... --
|
||||
-- Catalog data for DocBook XML V4.3 .................................... --
|
||||
-- File docbook.cat ..................................................... --
|
||||
|
||||
-- Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/.
|
||||
--
|
||||
|
||||
-- This is the catalog data file for DocBook XML V4.3. It is provided as
|
||||
a convenience in building your own catalog files. You need not use
|
||||
the filenames listed here, and need not use the filename method of
|
||||
identifying storage objects at all. See the documentation for
|
||||
detailed information on the files associated with the DocBook DTD.
|
||||
See SGML Open Technical Resolution 9401 for detailed information
|
||||
on supplying and using catalog data.
|
||||
--
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/docbookx.dtd"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook modules ...................................................... --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/calstblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/soextblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/htmltblx.mod">
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/dbpoolx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/dbhierx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/dbgenent.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/dbnotnx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/dbcentx.mod"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- ISO entity sets ...................................................... --
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-dia.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-num.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-pub.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-tech.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-lat1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-lat2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk3.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-grk4.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsa.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsb.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsc.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsn.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amso.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-amsr.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-box.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-cyr1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.3xml/ent/iso-cyr2.ent"
|
||||
|
||||
-- End of catalog data for DocBook XML V4.3 ............................. --
|
||||
-- ...................................................................... --
|
||||
119
CATALOG.db44xml
Normal file
119
CATALOG.db44xml
Normal file
@ -0,0 +1,119 @@
|
||||
OVERRIDE YES
|
||||
DTDDECL "-//OASIS//DTD DocBook XML V4.4//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
|
||||
-- ...................................................................... --
|
||||
-- Catalog data for DocBook XML V4.4 .................................... --
|
||||
-- File docbook.cat ..................................................... --
|
||||
|
||||
-- Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/.
|
||||
--
|
||||
|
||||
-- This is the catalog data file for DocBook XML V4.4. It is provided as
|
||||
a convenience in building your own catalog files. You need not use
|
||||
the filenames listed here, and need not use the filename method of
|
||||
identifying storage objects at all. See the documentation for
|
||||
detailed information on the files associated with the DocBook DTD.
|
||||
See SGML Open Technical Resolution 9401 for detailed information
|
||||
on supplying and using catalog data.
|
||||
--
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/docbookx.dtd"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook modules ...................................................... --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/calstblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/soextblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/htmltblx.mod">
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/dbpoolx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/dbhierx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/dbgenent.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/dbnotnx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/dbcentx.mod"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- ISO entity sets ...................................................... --
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isodia.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isonum.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isopub.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isotech.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isolat1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isolat2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk3.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isogrk4.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsa.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsb.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsc.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsn.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamso.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isoamsr.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isobox.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isocyr1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.4xml/ent/isocyr2.ent"
|
||||
|
||||
-- End of catalog data for DocBook XML V4.4 ............................. --
|
||||
-- ...................................................................... --
|
||||
119
CATALOG.db45xml
Normal file
119
CATALOG.db45xml
Normal file
@ -0,0 +1,119 @@
|
||||
OVERRIDE YES
|
||||
DTDDECL "-//OASIS//DTD DocBook XML V4.5//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
DTDDECL "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" /usr/share/sgml/opensp/xml.dcl
|
||||
|
||||
-- ...................................................................... --
|
||||
-- Catalog data for DocBook XML V4.5 .................................... --
|
||||
-- File docbook.cat ..................................................... --
|
||||
|
||||
-- Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/.
|
||||
--
|
||||
|
||||
-- This is the catalog data file for DocBook XML V4.5. It is provided as
|
||||
a convenience in building your own catalog files. You need not use
|
||||
the filenames listed here, and need not use the filename method of
|
||||
identifying storage objects at all. See the documentation for
|
||||
detailed information on the files associated with the DocBook DTD.
|
||||
See SGML Open Technical Resolution 9401 for detailed information
|
||||
on supplying and using catalog data.
|
||||
--
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook driver file .................................................. --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/docbookx.dtd"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- DocBook modules ...................................................... --
|
||||
|
||||
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/calstblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/soextblx.dtd"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/htmltblx.mod">
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/dbpoolx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/dbhierx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/dbgenent.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/dbnotnx.mod"
|
||||
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/dbcentx.mod"
|
||||
|
||||
-- ...................................................................... --
|
||||
-- ISO entity sets ...................................................... --
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isodia.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isonum.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isopub.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isotech.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isolat1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isolat2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk2.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk3.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isogrk4.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsa.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsb.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsc.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsn.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamso.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isoamsr.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isobox.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isocyr1.ent"
|
||||
|
||||
PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
|
||||
"/usr/share/sgml/docbook/dtd/4.5xml/ent/isocyr2.ent"
|
||||
|
||||
-- End of catalog data for DocBook XML V4.5 ............................. --
|
||||
-- ...................................................................... --
|
||||
60
CATALOG.docbook_4
Normal file
60
CATALOG.docbook_4
Normal file
@ -0,0 +1,60 @@
|
||||
OVERRIDE YES
|
||||
-- Load iso_ent early to prevent docbook.cat from biting --
|
||||
CATALOG "/var/lib/sgml/CATALOG.iso_ent"
|
||||
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" /usr/share/sgml/docbook/dtd/4.5/docbook.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook V4.5//EN" "/usr/share/sgml/docbook/dtd/4.5/docbook.dcl"
|
||||
CATALOG "/usr/share/sgml/docbook/dtd/4.5/docbook.cat"
|
||||
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" /usr/share/sgml/docbook/dtd/4.4/docbook.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/docbook.dcl"
|
||||
CATALOG "/usr/share/sgml/docbook/dtd/4.4/docbook.cat"
|
||||
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" /usr/share/sgml/docbook/dtd/4.3/docbook.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook V4.3//EN" "/usr/share/sgml/docbook/dtd/4.3/docbook.dcl"
|
||||
CATALOG "/usr/share/sgml/docbook/dtd/4.3/docbook.cat"
|
||||
|
||||
PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "/usr/share/sgml/docbook/dtd/4.1/cals-tbl.dtd"
|
||||
-- PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbnotnx.mod" --
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbnotnx.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbnotn.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbnotn.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbnotn.mod"
|
||||
-- PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbcentx.mod" --
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbcentx.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbcent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbcent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbcent.mod"
|
||||
-- PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbgenent.mod" --
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbgenent.mod"
|
||||
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbgenent.mod"
|
||||
-- PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbpoolx.mod" --
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbpoolx.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbpool.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbpool.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbpool.mod"
|
||||
-- PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/dbhierx.mod" --
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/dbhierx.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/dbhier.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/dbhier.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/dbhier.mod"
|
||||
PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "/usr/share/sgml/docbook/dtd/4.2/soextblx.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "/usr/share/sgml/docbook/dtd/4.5/docbookx.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/docbookx.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/docbookx.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/docbook.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd"
|
||||
PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" "/usr/share/sgml/docbook/dtd/4.5/htmltblx.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/htmltblx.mod"
|
||||
PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" "/usr/share/sgml/docbook/dtd/4.3/htmltblx.mod"
|
||||
-- PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/calstblx.dtd" --
|
||||
PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "/usr/share/sgml/docbook/dtd/4.2/calstblx.dtd"
|
||||
DTDDECL "-//OASIS//DTD XML Exchange Table Model 19990315//EN" /usr/share/sgml/docbook/dtd/4.2/docbook.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook XML V4.2//EN" /usr/share/sgml/docbook/dtd/4.2/docbook.dcl
|
||||
DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dcl"
|
||||
DTDDECL "-//OASIS//DTD DocBook V4.1.2//EN" "/usr/share/sgml/docbook/dtd/4.1/docbook.dcl"
|
||||
DTDDECL "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" /usr/share/sgml/docbook/dtd/4.2/docbook.dcl
|
||||
148
Makefile
Normal file
148
Makefile
Normal file
@ -0,0 +1,148 @@
|
||||
#
|
||||
# Makefile to install DocBook 4.x
|
||||
#
|
||||
# Author:
|
||||
# Thomas Schraitle <toms@opensuse.org>
|
||||
#
|
||||
|
||||
ifndef PREFIX
|
||||
PREFIX := /usr
|
||||
endif
|
||||
|
||||
# ifdef DESTDIR
|
||||
# DESTDIR := $(dir $(patsubst %/,%,$(dir $(DESTDIR))))
|
||||
# endif
|
||||
|
||||
SHELL := /bin/bash
|
||||
PACKAGE := docbook_4
|
||||
VERSION := 4.5
|
||||
CDIR := $(shell pwd)
|
||||
#
|
||||
DATADIR := $(DESTDIR)$(PREFIX)/share
|
||||
#
|
||||
SGML_DIR := $(DATADIR)/sgml
|
||||
XML_DIR := $(DATADIR)/xml
|
||||
|
||||
# Catalog stuff
|
||||
DB_CATALOG_SRC := $(PACKAGE).xml
|
||||
XML_CATALOG_DIR := $(DESTDIR)/etc/xml/catalog.d
|
||||
XML_CATALOG := $(XML_CATALOG_DIR)/$(DB_CATALOG_SRC)
|
||||
SGML_CATALOGS := $(wildcard CATALOG*)
|
||||
SGML_CATALOG_DIR := $(SGML_DIR)
|
||||
#
|
||||
SGML_CONFIG_DIR := $(DESTDIR)/var/lib/sgml
|
||||
SGML_CATALOG_FILES := $(addprefix $(SGML_CONFIG_DIR)/,$(SGML_CATALOGS))
|
||||
#
|
||||
DB_XML_DIR := $(XML_DIR)/docbook
|
||||
DB_SGML_DIR := $(SGML_DIR)/docbook
|
||||
XML_SCHEMA_DIR := $(DB_XML_DIR)/schema
|
||||
#
|
||||
DTD_SGML_DIR := $(DB_SGML_DIR)/dtd
|
||||
#
|
||||
DB_VERSIONS := 4.2 4.3 4.4 4.5
|
||||
DB_XML_VERSIONS := 4.1.2 $(DB_VERSIONS)
|
||||
DB_SGML_VERSIONS := 4.1 $(DB_VERSIONS)
|
||||
|
||||
SGML_DB_PATHS := $(foreach p,$(DB_SGML_VERSIONS),$(DTD_SGML_DIR)/$(p))
|
||||
XML_IN_SGML_DIRS := $(addsuffix xml,$(foreach p,$(DB_XML_VERSIONS),$(DTD_SGML_DIR)/$(p)))
|
||||
|
||||
## All DTD paths and files (restricted to docbookx.dtd)
|
||||
DTD_DEST_DIRS := $(sort docbook-xml-4.1.2 $(wildcard docbook-xml-4.?))
|
||||
DTD_DEST_DIRS := $(subst -,/,$(patsubst docbook-%, %,$(DTD_DEST_DIRS)))
|
||||
DTD_DEST_DIRS := $(subst xml,dtd,$(DTD_DEST_DIRS))
|
||||
DTD_DEST_DIRS := $(addprefix $(XML_SCHEMA_DIR)/,$(DTD_DEST_DIRS))
|
||||
|
||||
DTD_DEST_FILES := $(addsuffix /docbookx.dtd,$(DTD_DEST_DIRS))
|
||||
|
||||
# Add the DocBook SGML files too (HINT: SGML has docbook.dtd, without "x"!)
|
||||
DTD_DEST_FILES += $(addsuffix /docbook.dtd,$(SGML_DB_PATHS))
|
||||
|
||||
## All RNG paths and files (restricted to docbook.rng)
|
||||
RNG_DEST_DIRS := $(sort $(wildcard docbook-rng-4.?))
|
||||
RNG_DEST_DIRS := $(subst -,/,$(patsubst docbook-%, %,$(RNG_DEST_DIRS)))
|
||||
RNG_DEST_DIRS := $(addprefix $(XML_SCHEMA_DIR)/,$(RNG_DEST_DIRS))
|
||||
|
||||
RNG_DEST_FILES := $(addsuffix /docbook.rng,$(RNG_DEST_DIRS))
|
||||
|
||||
## All XSD paths and files (restricted to docbook.xsd)
|
||||
XSD_DEST_DIRS := $(sort $(wildcard docbook-xsd-4.?))
|
||||
XSD_DEST_DIRS := $(subst -,/,$(patsubst docbook-%, %,$(XSD_DEST_DIRS)))
|
||||
XSD_DEST_DIRS := $(addprefix $(XML_SCHEMA_DIR)/,$(XSD_DEST_DIRS))
|
||||
|
||||
XSD_DEST_FILES := $(addsuffix /docbook.xsd,$(XSD_DEST_DIRS))
|
||||
|
||||
# All destination files to be unpacked
|
||||
ALL_DEST_FILES := $(DTD_DEST_FILES) $(RNG_DEST_FILES) $(XSD_DEST_FILES)
|
||||
XML_DB_PATHS := $(DTD_DEST_DIRS) $(RNG_DEST_DIRS) $(XSD_DEST_DIRS)
|
||||
|
||||
# All installation directories that needs to be created before
|
||||
INST_DIRECTORIES := $(XML_DB_PATHS) $(SGML_DB_PATHS) $(SGML_CONFIG_DIR) \
|
||||
$(XML_CATALOG_DIR) $(SGML_CATALOG_DIR)
|
||||
|
||||
|
||||
#-----------------------------
|
||||
.PHONY: install
|
||||
install: $(XML_CATALOG) $(SGML_CATALOG_FILES) $(ALL_DEST_FILES)
|
||||
install: | $(XML_IN_SGML_DIRS)
|
||||
@echo "# Installed in $(DESTDIR)$(PREFIX)..."
|
||||
# @echo "DTD_DEST_DIRS=$(DTD_DEST_DIRS)"
|
||||
# @echo "SGML_CATALOGS=$(SGML_CATALOGS)"
|
||||
# @echo "SGML_CATALOG_FILES=$(SGML_CATALOG_FILES)"
|
||||
@echo "INST_DIRECTORIES=$(INST_DIRECTORIES)"
|
||||
@echo "DESTDIR=$(DESTDIR)"
|
||||
@echo "Finished."
|
||||
|
||||
$(SGML_CONFIG_DIR)/CATALOG.%: CATALOG.% | $(SGML_CONFIG_DIR) $(SGML_CATALOG_DIR)
|
||||
@echo "# Installing SGML catalog $<..."
|
||||
# No longer wanted in /var hierarchy; see bsc#1093345
|
||||
# cp $< $(dir $@)
|
||||
cp $< $(SGML_CATALOG_DIR)
|
||||
|
||||
$(XML_IN_SGML_DIRS): | $(INST_DIRECTORIES)
|
||||
@echo "Creating link $@..."
|
||||
ln -s ../../../xml/docbook/schema/dtd/$(patsubst %xml,%,$(subst $(DTD_SGML_DIR)/,,$@)) $@
|
||||
|
||||
$(DTD_SGML_DIR)/%/docbook.dtd: docbook-sgml-%
|
||||
@echo "# Copying $<"
|
||||
@cp -a $</* $(dir $@)
|
||||
|
||||
$(XML_SCHEMA_DIR)/dtd/%/docbookx.dtd: docbook-xml-%
|
||||
@echo "# Copying $<"
|
||||
@cp -a $</* $(dir $@)
|
||||
|
||||
$(XML_SCHEMA_DIR)/rng/%/docbook.rng: docbook-rng-%
|
||||
@echo "# Copying $<"
|
||||
@cp -a $</* $(dir $@)
|
||||
|
||||
$(XML_SCHEMA_DIR)/xsd/%/docbook.xsd: docbook-xsd-%
|
||||
@echo "# Copying $<"
|
||||
@cp -a $</* $(dir $@)
|
||||
|
||||
$(XML_CATALOG): $(DB_CATALOG_SRC) | $(XML_CATALOG_DIR)
|
||||
@echo "# Installing XML Catalog..."
|
||||
install -m644 $< $@
|
||||
|
||||
# create needed directories
|
||||
#
|
||||
$(INST_DIRECTORIES):
|
||||
@mkdir -p $@
|
||||
|
||||
#-----------------------------
|
||||
.PHONY: check
|
||||
check:
|
||||
@echo "Checking DocBook4 Catalogs..."
|
||||
|
||||
@for v in $(DB_XML_VERSIONS); do \
|
||||
echo "*** Checking version $$v..."; \
|
||||
xmlcatalog $(XML_CATALOG) "-//OASIS//DTD DocBook XML V$$v//EN" \
|
||||
"http://www.oasis-open.org/docbook/xml/$$v/docbookx.dtd" \
|
||||
"http://www.docbook.org/xml/$$v/docbookx.dtd" \
|
||||
"-//OASIS//DTD DocBook CALS Table Model V$$v//EN" \
|
||||
"-//OASIS//ELEMENTS DocBook Information Pool V$$v//EN" \
|
||||
"-//OASIS//ELEMENTS DocBook Document Hierarchy V$$v//EN" \
|
||||
"-//OASIS//ENTITIES DocBook Additional General Entities V$$v//EN" \
|
||||
"-//OASIS//ENTITIES DocBook Notations V$$v//EN" \
|
||||
"-//OASIS//ENTITIES DocBook Character Entities V$$v//EN" \
|
||||
"-//OASIS//ENTITIES DocBook Additional General Entities V$$v//EN" \
|
||||
; \
|
||||
done
|
||||
BIN
docbk41.zip
Normal file
BIN
docbk41.zip
Normal file
Binary file not shown.
BIN
docbkx412.zip
Normal file
BIN
docbkx412.zip
Normal file
Binary file not shown.
27
docbook-4-3-xml-cat.diff
Normal file
27
docbook-4-3-xml-cat.diff
Normal file
@ -0,0 +1,27 @@
|
||||
--- docbook_4/docbook-xml-4.3/catalog.xml.~1~ 2004-03-31 13:22:12.000000000 +0200
|
||||
+++ docbook_4/docbook-xml-4.3/catalog.xml 2005-05-17 15:28:06.000000000 +0200
|
||||
@@ -34,6 +34,9 @@
|
||||
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
uri="soextblx.dtd"/>
|
||||
|
||||
+<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
|
||||
+ uri="htmltblx.mod"/>
|
||||
+
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
|
||||
uri="dbpoolx.mod"/>
|
||||
|
||||
|
||||
--- docbook_4/docbook-sgml-4.3/catalog.xml.~1~ 2004-03-31 13:45:14.000000000 +0200
|
||||
+++ docbook_4/docbook-sgml-4.3/catalog.xml 2005-05-17 15:27:35.000000000 +0200
|
||||
@@ -34,6 +34,9 @@
|
||||
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
uri="soextblx.dtd"/>
|
||||
|
||||
+<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN"
|
||||
+ uri="htmltblx.mod"/>
|
||||
+
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN"
|
||||
uri="dbpoolx.mod"/>
|
||||
|
||||
|
||||
Diff finished. Tue May 17 15:28:24 2005
|
||||
28
docbook-4-3.diff
Normal file
28
docbook-4-3.diff
Normal file
@ -0,0 +1,28 @@
|
||||
--- docbook-sgml-4.3/docbook.dcl.~1~ 2004-03-31 13:44:16.000000000 +0200
|
||||
+++ docbook-sgml-4.3/docbook.dcl 2004-06-06 09:07:41.722095720 +0200
|
||||
@@ -61,8 +61,8 @@
|
||||
NAMING
|
||||
LCNMSTRT ""
|
||||
UCNMSTRT ""
|
||||
- LCNMCHAR ".-_"
|
||||
- UCNMCHAR ".-_"
|
||||
+ LCNMCHAR ".-_:"
|
||||
+ UCNMCHAR ".-_:"
|
||||
NAMECASE
|
||||
GENERAL YES
|
||||
ENTITY NO
|
||||
|
||||
--- docbook-sgml-4.3/htmltblx.mod.~1~ 2004-03-31 13:43:24.000000000 +0200
|
||||
+++ docbook-sgml-4.3/htmltblx.mod 2004-06-06 09:45:55.033459400 +0200
|
||||
@@ -213,8 +213,10 @@
|
||||
bgcolor CDATA #IMPLIED
|
||||
'>
|
||||
|
||||
+<!-- HTML 4.01 defines TFrame as
|
||||
+ "(void|above|below|hsides|lhs|rhs|vsides|box|border)" -->
|
||||
<!ENTITY % tbl.frame.attval "void|above|below|hsides|lhs|rhs|vsides|box|border|
|
||||
-top|bottom|topbot|all|sides|none">
|
||||
+top|bottom|topbot|sides">
|
||||
|
||||
<!-- Allow either objects or inlines; beware of REs between elements. -->
|
||||
<!ENTITY % tbl.entry.mdl "%para.char.mix; | %tabentry.mix;">
|
||||
BIN
docbook-4.2.zip
Normal file
BIN
docbook-4.2.zip
Normal file
Binary file not shown.
BIN
docbook-4.3.zip
Normal file
BIN
docbook-4.3.zip
Normal file
Binary file not shown.
BIN
docbook-4.4.zip
Normal file
BIN
docbook-4.4.zip
Normal file
Binary file not shown.
BIN
docbook-4.5.zip
Normal file
BIN
docbook-4.5.zip
Normal file
Binary file not shown.
BIN
docbook-rng-4.2.zip
Normal file
BIN
docbook-rng-4.2.zip
Normal file
Binary file not shown.
BIN
docbook-rng-4.3.zip
Normal file
BIN
docbook-rng-4.3.zip
Normal file
Binary file not shown.
BIN
docbook-rng-4.4.zip
Normal file
BIN
docbook-rng-4.4.zip
Normal file
Binary file not shown.
BIN
docbook-rng-4.5.zip
Normal file
BIN
docbook-rng-4.5.zip
Normal file
Binary file not shown.
115
docbook-xml-4.1.2-catalog.xml
Normal file
115
docbook-xml-4.1.2-catalog.xml
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version='1.0'?>
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
|
||||
|
||||
<!-- ...................................................................... -->
|
||||
<!-- XML Catalog data for DocBook XML V4.1.2 .............................. -->
|
||||
<!-- File catalog.xml ..................................................... -->
|
||||
|
||||
<!-- Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/.
|
||||
-->
|
||||
|
||||
<!-- This is the catalog data file for DocBook V4.1.2. It is provided as
|
||||
a convenience in building your own catalog files. You need not use
|
||||
the filenames listed here, and need not use the filename method of
|
||||
identifying storage objects at all. See the documentation for
|
||||
detailed information on the files associated with the DocBook DTD.
|
||||
See XML Catalogs at http://www.oasis-open.org/committees/entity/ for
|
||||
detailed information on supplying and using catalog data.
|
||||
-->
|
||||
|
||||
<!-- ...................................................................... -->
|
||||
<!-- DocBook driver file .................................................. -->
|
||||
|
||||
<public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
uri="docbookx.dtd"/>
|
||||
|
||||
<!-- ...................................................................... -->
|
||||
<!-- DocBook modules ...................................................... -->
|
||||
|
||||
<public publicId="-//OASIS//DTD DocBook CALS Table Model V4.1.2//EN"
|
||||
uri="calstblx.dtd"/>
|
||||
|
||||
<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
|
||||
uri="soextblx.dtd"/>
|
||||
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Information Pool V4.1.2//EN"
|
||||
uri="dbpoolx.mod"/>
|
||||
|
||||
<public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1.2//EN"
|
||||
uri="dbhierx.mod"/>
|
||||
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN"
|
||||
uri="dbgenent.mod"/>
|
||||
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Notations V4.1.2//EN"
|
||||
uri="dbnotnx.mod"/>
|
||||
|
||||
<public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.1.2//EN"
|
||||
uri="dbcentx.mod"/>
|
||||
|
||||
<!-- ...................................................................... -->
|
||||
<!-- ISO entity sets ...................................................... -->
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"
|
||||
uri="ent/iso-dia.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
|
||||
uri="ent/iso-num.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML"
|
||||
uri="ent/iso-pub.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML"
|
||||
uri="ent/iso-tech.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
|
||||
uri="ent/iso-lat1.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"
|
||||
uri="ent/iso-lat2.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML"
|
||||
uri="ent/iso-grk1.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"
|
||||
uri="ent/iso-grk2.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"
|
||||
uri="ent/iso-grk3.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"
|
||||
uri="ent/iso-grk4.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"
|
||||
uri="ent/iso-amsa.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"
|
||||
uri="ent/iso-amsb.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"
|
||||
uri="ent/iso-amsc.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"
|
||||
uri="ent/iso-amsn.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"
|
||||
uri="ent/iso-amso.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"
|
||||
uri="ent/iso-amsr.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"
|
||||
uri="ent/iso-box.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
|
||||
uri="ent/iso-cyr1.ent"/>
|
||||
|
||||
<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"
|
||||
uri="ent/iso-cyr2.ent"/>
|
||||
|
||||
<!-- End of catalog data for DocBook XML V4.1.2 ........................... -->
|
||||
<!-- ...................................................................... -->
|
||||
|
||||
</catalog>
|
||||
BIN
docbook-xml-4.2.zip
Normal file
BIN
docbook-xml-4.2.zip
Normal file
Binary file not shown.
BIN
docbook-xml-4.3.zip
Normal file
BIN
docbook-xml-4.3.zip
Normal file
Binary file not shown.
BIN
docbook-xml-4.4.zip
Normal file
BIN
docbook-xml-4.4.zip
Normal file
Binary file not shown.
BIN
docbook-xml-4.5.zip
Normal file
BIN
docbook-xml-4.5.zip
Normal file
Binary file not shown.
BIN
docbook-xsd-4.2.zip
Normal file
BIN
docbook-xsd-4.2.zip
Normal file
Binary file not shown.
BIN
docbook-xsd-4.3.zip
Normal file
BIN
docbook-xsd-4.3.zip
Normal file
Binary file not shown.
BIN
docbook-xsd-4.4.zip
Normal file
BIN
docbook-xsd-4.4.zip
Normal file
Binary file not shown.
BIN
docbook-xsd-4.5.zip
Normal file
BIN
docbook-xsd-4.5.zip
Normal file
Binary file not shown.
13
docbook.4.4.dcl.diff
Normal file
13
docbook.4.4.dcl.diff
Normal file
@ -0,0 +1,13 @@
|
||||
--- docbook_4/docbook-sgml-4.4/docbook.dcl.~1~ 2017-10-17 08:26:00.675876558 +0200
|
||||
+++ docbook_4/docbook-sgml-4.4/docbook.dcl 2017-10-17 08:26:30.895997614 +0200
|
||||
@@ -61,8 +61,8 @@
|
||||
NAMING
|
||||
LCNMSTRT ""
|
||||
UCNMSTRT ""
|
||||
- LCNMCHAR ".-_"
|
||||
- UCNMCHAR ".-_"
|
||||
+ LCNMCHAR ".-_:"
|
||||
+ UCNMCHAR ".-_:"
|
||||
NAMECASE
|
||||
GENERAL YES
|
||||
ENTITY NO
|
||||
31
docbook_4-README.SUSE
Normal file
31
docbook_4-README.SUSE
Normal file
@ -0,0 +1,31 @@
|
||||
README.SuSE (2005-02-02 13:52:09 CET)
|
||||
=====================================
|
||||
|
||||
|
||||
SGML CATALOG Files
|
||||
------------------
|
||||
|
||||
SGML
|
||||
....
|
||||
|
||||
The default CATALOG file for DocBook 4 is
|
||||
/usr/share/sgml/CATALOG.docbook_4; it is valid for DocBook DTD 4.1, 4.2,
|
||||
4.3, and 4.4.
|
||||
|
||||
|
||||
XML
|
||||
...
|
||||
|
||||
The name of the SGML CATALOG file for the XML versions are:
|
||||
|
||||
/usr/share/sgml/CATALOG.db41xml
|
||||
/usr/share/sgml/CATALOG.db42xml
|
||||
/usr/share/sgml/CATALOG.db43xml
|
||||
/usr/share/sgml/CATALOG.db44xml
|
||||
|
||||
|
||||
XML CATALOG Files
|
||||
------------------
|
||||
|
||||
XML catalogs are available through /etc/xml/catalog which points to
|
||||
/etc/xml/suse-catalog.xml.
|
||||
365
docbook_4.changes
Normal file
365
docbook_4.changes
Normal file
@ -0,0 +1,365 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 08:03:11 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 08:12:37 UTC 2019 - Karl Eichwalder <ke@suse.de>
|
||||
|
||||
- Enable 4.5 SGML and XML DTD for processing with SGML tools;
|
||||
bsc#1072957.
|
||||
- Do not install catalogs in /var/lib/sgml; bsc#1093345.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 13 15:56:39 UTC 2017 - thomas.schraitle@suse.com
|
||||
|
||||
- Fix XML catalog problems (missing or mistyped identifiers)
|
||||
- Fix version 4.1.2 link in SGML (yes!) directory
|
||||
- Add missing docbook-xml-4.1.2-catalog.xml
|
||||
-
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 17 09:05:19 UTC 2017 - thomas.schraitle@suse.com
|
||||
|
||||
- Spec file changes:
|
||||
* Adapted patches (only directory)
|
||||
* Used spec-cleaner
|
||||
* Removed obsolete stuff
|
||||
* Installed files through Makefile
|
||||
* Used/require sgml-skel >= 0.7
|
||||
* Used update-xml-catalog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 19 09:42:19 UTC 2015 - toms@opensuse.org
|
||||
|
||||
- Fixed subtle XML catalog bug (bsc#918565)
|
||||
- Renamed docbook_4-README.SuSE -> docbook_4-README.SUSE to
|
||||
avoid rpmlint warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 06:02:47 UTC 2013 - toms@opensuse.org
|
||||
|
||||
- Fixed bnc#828872:
|
||||
Missing system identifier http://www.docbook.org/xml/$VER/ added
|
||||
|
||||
- Spec file:
|
||||
Removed docbook-4-3-cat.diff patch as it is obsolete now
|
||||
Removed obsoletes and provides of docbk_4; don't use it anymore!
|
||||
Removed libxml2 dependency; this is already covered with xml-catalog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 18:52:07 UTC 2013 - coolo@suse.com
|
||||
|
||||
- update license to new format
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 11:24:50 UTC 2012 - coolo@suse.com
|
||||
|
||||
- iso_ent is required for SGML, so readd it as long as it's supported
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 12:58:29 UTC 2012 - ke@suse.de
|
||||
|
||||
- spec: No longer Requires iso_ent (now Recommends) and xmlcharent
|
||||
(xml entities are shipped together with the DTD).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 09:14:27 CEST 2011 - ke@suse.de
|
||||
|
||||
- Also provide docbook-dtds; bnc#674044.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 17 09:51:51 CEST 2009 - aj@suse.de
|
||||
|
||||
- Only remove file from catalog if it disappeared.
|
||||
- Do not use release numbers, they're not needed anymore.
|
||||
- Fix some rpmlint warnings: do not remove buildroot, use fdupes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 18:42:27 CEST 2007 - aj@suse.de
|
||||
|
||||
- Really add unzip as build requirement.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 11:01:56 CEST 2007 - toms@suse.de
|
||||
|
||||
- Added unzip as build requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 16 14:15:29 CET 2007 - toms@suse.de
|
||||
|
||||
- Added RELAX NG and W3C schema for 4.5
|
||||
- Completed DocBook 4.2 with RELAX NG and W3C
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 11:11:01 CET 2007 - toms@suse.de
|
||||
|
||||
- Added DocBook v4.5 XML and SGML DTD
|
||||
- Added RELAX NG and W3C schema for 4.3 and 4.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 13:14:08 CET 2007 - ke@suse.de
|
||||
|
||||
- PreReq sgml-skel instead of file name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 21:05:45 CET 2007 - dmueller@suse.de
|
||||
|
||||
- fix build of depending packages once again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 15:44:39 CET 2007 - ke@suse.de
|
||||
|
||||
- Remove 'exit 0' from %post and %postun; reported by Klaus Kaempf
|
||||
[# 216944].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 14:40:42 CET 2007 - ke@suse.de
|
||||
|
||||
- Remove /usr/share/xml from the files list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 14 13:17:37 CEST 2006 - ke@suse.de
|
||||
|
||||
- Remove obsolete compatibility link for <= SL 9.0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 19 20:39:41 CET 2006 - ro@suse.de
|
||||
|
||||
- modify setup line in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:46:11 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 21 07:47:22 CET 2005 - aj@suse.de
|
||||
|
||||
- Package symlink.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 16 14:27:07 CEST 2005 - ke@suse.de
|
||||
|
||||
- Add catalog entries for version 4.3 and 4.4 (SGML flavor); reported by
|
||||
Ulrich Windl [# 104872].
|
||||
- Allow ":" in attribute names for version 4.4, too (SGML flavor).
|
||||
- Cleanup CATALOG.docbook_4: Remove commented entries, comment obsolete
|
||||
4.4 references (SGML flavor).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 18 11:10:19 CEST 2005 - ke@suse.de
|
||||
|
||||
- docbook-4-3-xml-cat.diff: add catalog entries for HTML tables;
|
||||
reported by Thomas Schraitle [# 84023].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 10:54:20 CET 2005 - ke@suse.de
|
||||
|
||||
- Add docbook version 4.4 (SGML and XML).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 2 17:14:00 CEST 2004 - ke@suse.de
|
||||
|
||||
- Disable support for catalog support for 4.3 (SGML) for the moment;
|
||||
reported by Takashi Iwai.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 09:58:10 CEST 2004 - ke@suse.de
|
||||
|
||||
- Add docbook version 4.3 (SGML, XML, and experimental RNG flavor).
|
||||
- Cleanup .spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 13:51:59 CET 2004 - ke@suse.de
|
||||
|
||||
- In %postun check for the update case.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 13:05:32 CET 2004 - hmacht@suse.de
|
||||
|
||||
- building as non-root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 10 11:56:26 CET 2004 - ke@suse.de
|
||||
|
||||
- Move XML DTDs to /usr/share/xml/docbook/schema/dtd.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 30 16:38:32 CET 2004 - ke@suse.de
|
||||
|
||||
- Add links pointing from the SGML hierarchy to the XML files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 22 16:45:22 CET 2004 - ke@suse.de
|
||||
|
||||
- Adjust directories according to FHS 2.3:
|
||||
* Move XML DTDs to /usr/share/xml/docbook.
|
||||
* Move SGML DTDs to /usr/share/sgml/docbook.
|
||||
* Keep CATALOG.* files in /usr/share/sgml for the time being.
|
||||
* Provide compatibility links for SL =< 9.0 (log this info in
|
||||
/var/adm/SuSEconfig/run-sgmldir-links for later processing).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 17:58:59 CEST 2003 - ke@suse.de
|
||||
|
||||
- Remove disturbing link %{_datadir}/sgml/db42xml via %pre.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 11:35:11 CEST 2003 - ke@suse.de
|
||||
|
||||
- Use the "//XML" suffix for Formal Public Identifiers of XML ISO
|
||||
entity sets.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 16:26:02 CEST 2003 - ke@suse.de
|
||||
|
||||
- Use /etc/xml/suse-catalog.xml instead of /etc/xml/catalog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 09:50:34 CEST 2003 - ke@suse.de
|
||||
|
||||
- Use <group> sectioning in /etc/xml/catalog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 14:35:01 CEST 2003 - ke@suse.de
|
||||
|
||||
- Use edit-xml-catalog in %post/%postun for managing /etc/xml/catalog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 17:22:53 CEST 2003 - ke@suse.de
|
||||
|
||||
- Fix %preun/%postun scripts: Use %postun only to avoid nuking catalog
|
||||
entries during update; add rewriteSystem statement.
|
||||
Reported by Gernot Hillier [# 26270].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 15:00:25 CET 2002 - ke@suse.de
|
||||
|
||||
- Use sgml-register-catalog to populate /etc/sgml/catalog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 14:39:41 CET 2002 - ke@suse.de
|
||||
|
||||
- Also for the 4.2 DTD provide convenience links for psgml.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 15:34:16 CET 2002 - ke@suse.de
|
||||
|
||||
- Map DocBook 4.0 system identifiers to 4.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 11:36:36 CEST 2002 - ke@suse.de
|
||||
|
||||
- Add delegatePublic and delegateSystem for DocBook DTD 4.1 to the XML
|
||||
catalog. Thus scrollkeeper-update can make use of local resources.
|
||||
Reported by Thorsten Kukuk and Olaf Hering [# 17646].
|
||||
- Add more files to the uninstall cleanup scripts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 16:10:38 CEST 2002 - ke@suse.de
|
||||
|
||||
- Don't use hardcoded version number ("41") when building the the 42
|
||||
SGML Open Catalog for the XML DTD.
|
||||
Reported by Norbert Eicker.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 09:54:59 CEST 2002 - ke@suse.de
|
||||
|
||||
- Add the third slash for "file:///' again (necessary because I removed
|
||||
one from the variable assignemnt).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 7 20:15:26 MEST 2002 - mls@suse.de
|
||||
|
||||
- Fixed exit status of postinstall script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 7 15:57:41 CEST 2002 - ke@suse.de
|
||||
|
||||
- Drop the SuSEconfig script; reported by Thorsten Kukuk [# 17448].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 10:55:53 CEST 2002 - ke@suse.de
|
||||
|
||||
- Add missing PreReq (libxml2, zlib); reported by Thorsten Kukuk [#
|
||||
17435].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 14:55:09 CEST 2002 - ke@suse.de
|
||||
|
||||
- SuSEconfig.docbook_4: Remove CATALOG file with length of zero.
|
||||
- Add "DTD DocBook XML V4.1" to /etc/xml/docbook_41.xml.
|
||||
- Drop superfluous slashes ("file:///", not "file:////").
|
||||
- Fix FPI names in /etc/xml/docbook_41.xml.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 11:56:52 CEST 2002 - ke@suse.de
|
||||
|
||||
- Actually install the catalogs and make sure applications will find
|
||||
more DTD.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 09:46:06 CEST 2002 - ke@suse.de
|
||||
|
||||
- Add SGML and XML DTD version 4.2.
|
||||
- Simplify catalog creation and management.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 15:09:41 CEST 2002 - ke@suse.de
|
||||
|
||||
- Don't install XML ISO entity links; instead require xmlcharent.
|
||||
- Start to prepare for release 4.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 10:40:29 CEST 2002 - ke@suse.de
|
||||
|
||||
- Don't try to call the SuSEconfig script as long as the system isn't
|
||||
mounted on "/".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 11:38:53 CEST 2002 - ke@suse.de
|
||||
|
||||
- Provide /sbin/conf.d/SuSEconfig.%{name} to initialize catalogs
|
||||
later if xmlcatalog isn't available at installation time.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 2 11:08:42 CEST 2002 - ke@suse.de
|
||||
|
||||
- Require libxml2 to install proper /etc/xml catalog files.
|
||||
- Maintain /etc/xml catalog files via %post/%postun.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 09:35:57 CEST 2001 - ke@suse.de
|
||||
|
||||
- Rename README.SuSE to docbook_4-README.SuSE.
|
||||
- Install DTD and ENTITY links using install-dtd.sh to support
|
||||
Emacs/PSGML.
|
||||
- Cleanup spec file.
|
||||
- Add sgml-skel to 'neededforbuild'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 09:56:25 CET 2001 - ke@suse.de
|
||||
|
||||
- Rename package: docbk_4 -> docbook_4 (cf. docbook_3).
|
||||
- Update XML DTD (version 4.1.2).
|
||||
- Add 'OVERRIDE YES' to XML catalog.
|
||||
- Add README.SuSE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 20:16:04 CEST 2000 - ke@suse.de
|
||||
|
||||
- Correct CATALOG entries for entities.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 11:35:41 CEST 2000 - ke@suse.de
|
||||
|
||||
- Initial package: version 4.1.
|
||||
|
||||
|
||||
239
docbook_4.spec
Normal file
239
docbook_4.spec
Normal file
@ -0,0 +1,239 @@
|
||||
#
|
||||
# spec file for package docbook_4
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define regcat %{_bindir}/sgml-register-catalog
|
||||
Name: docbook_4
|
||||
Version: 4.5
|
||||
Release: 0
|
||||
Summary: DocBook DTD Version 4.x
|
||||
License: BSD-3-Clause AND MIT
|
||||
Group: Productivity/Publishing/DocBook
|
||||
Url: http://www.oasis-open.org/docbook/
|
||||
Source2: docbook_4-README.SUSE
|
||||
Source3: %{name}.xml
|
||||
Source7: CATALOG.docbook_4
|
||||
Source8: Makefile
|
||||
# Only needed to regenerate docbook_4.xml
|
||||
Source9: generate-docbook_4-xmlcat.py
|
||||
|
||||
# DocBook 4.1
|
||||
Source410: http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
|
||||
Source411: docbook-xml-4.1.2-catalog.xml
|
||||
Source412: http://www.oasis-open.org/docbook/xml/4.1/docbkx412.zip
|
||||
# No RNG and XSD files for DB4.1
|
||||
Source414: CATALOG.db41xml
|
||||
# DocBook 4.2
|
||||
Source420: http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip
|
||||
Source421: http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
|
||||
Source422: http://www.oasis-open.org/docbook/rng/4.2/docbook-rng-4.2.zip
|
||||
Source423: http://www.oasis-open.org/docbook/xsd/4.2/docbook-xsd-4.2.zip
|
||||
Source424: CATALOG.db42xml
|
||||
# DocBook 4.3
|
||||
Source430: http://www.docbook.org/sgml/4.3/docbook-4.3.zip
|
||||
Source431: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
|
||||
Source432: http://www.docbook.org/rng/4.3/docbook-rng-4.3.zip
|
||||
Source433: http://www.docbook.org/xsd/4.3/docbook-xsd-4.3.zip
|
||||
Source434: CATALOG.db43xml
|
||||
# DocBook 4.4
|
||||
Source440: http://www.oasis-open.org/docbook/sgml/4.4/docbook-4.4.zip
|
||||
Source441: http://www.oasis-open.org/docbook/xml/4.4/docbook-xml-4.4.zip
|
||||
Source442: http://www.docbook.org/rng/4.4/docbook-rng-4.4.zip
|
||||
Source443: http://www.docbook.org/xsd/4.4/docbook-xsd-4.4.zip
|
||||
Source444: CATALOG.db44xml
|
||||
# DocBook 4.5
|
||||
Source450: http://www.oasis-open.org/docbook/sgml/4.5/docbook-4.5.zip
|
||||
Source451: http://www.oasis-open.org/docbook/xml/4.5/docbook-xml-4.5.zip
|
||||
Source452: http://www.docbook.org/rng/4.5/docbook-rng-4.5.zip
|
||||
Source453: http://www.docbook.org/xsd/4.5/docbook-xsd-4.5.zip
|
||||
Source454: CATALOG.db45xml
|
||||
# Patches
|
||||
Patch1: docbook-4-3.diff
|
||||
Patch2: docbook-4-3-xml-cat.diff
|
||||
Patch3: docbook.4.4.dcl.diff
|
||||
#
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: sgml-skel >= 0.7
|
||||
BuildRequires: unzip
|
||||
Requires: iso_ent
|
||||
PreReq: %{_bindir}/xmlcatalog
|
||||
PreReq: awk
|
||||
PreReq: grep
|
||||
PreReq: sed
|
||||
PreReq: sgml-skel
|
||||
Requires(post): sgml-skel >= 0.7
|
||||
Requires(postun): sgml-skel >= 0.7
|
||||
Provides: docbook
|
||||
Provides: docbook-dtd
|
||||
Provides: docbook-dtds
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
DocBook is a schema. It is particularly well-suited to books and papers
|
||||
about computer hardware and software (though it is not limited to these
|
||||
applications at all). This package has SGML- and XML-DTD versions
|
||||
included. Some versions of DocBook contain also a RELAX NG and W3C
|
||||
Schema.
|
||||
|
||||
%define INSTALL install -m755 -s
|
||||
%define INSTALL_DIR install -d -m755
|
||||
%define INSTALL_DATA install -m644
|
||||
%define INSTALL_SCRIPT install -m755
|
||||
%define sgml_dir %{_datadir}/sgml
|
||||
%define sgml_docbook_dir %{sgml_dir}/docbook
|
||||
%define sgml_docbook_dtd_dir %{sgml_docbook_dir}/dtd
|
||||
%define sgml_docbook_custom_dir %{sgml_docbook_dir}/custom
|
||||
%define sgml_docbook_style_dir %{sgml_docbook_dir}/stylesheet
|
||||
%define xml_dir %{_datadir}/xml
|
||||
%define xml_docbook_dir %{xml_dir}/docbook
|
||||
%define xml_docbook_dtd_dir %{xml_docbook_dir}/schema/dtd
|
||||
%define xml_docbook_rng_dir %{xml_docbook_dir}/schema/rng
|
||||
%define xml_docbook_xsd_dir %{xml_docbook_dir}/schema/xsd
|
||||
%define xml_docbook_custom_dir %{xml_docbook_dir}/custom
|
||||
%define xml_docbook_style_dir %{xml_docbook_dir}/stylesheet
|
||||
%define sgml_config_dir %{_localstatedir}/lib/sgml
|
||||
%define sgml_sysconf_dir %{_sysconfdir}/sgml
|
||||
%define xml_config_dir %{_localstatedir}/lib/xml
|
||||
%define xml_sysconf_dir %{_sysconfdir}/xml
|
||||
%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
|
||||
%define my_all_cat docbook_4 db41xml db42xml db43xml db44xml db45xml
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name} -c -T
|
||||
cp -p $RPM_SOURCE_DIR/%{name}-README.SUSE README.SUSE
|
||||
|
||||
# DocBook 4.1
|
||||
unzip -q -a %{SOURCE410} -d docbook-sgml-4.1
|
||||
unzip -q -a %{SOURCE412} -d docbook-xml-4.1.2
|
||||
cp -vi %{SOURCE411} docbook-xml-4.1.2/catalog.xml
|
||||
# DocBook 4.2
|
||||
unzip -q -a %{SOURCE420} -d docbook-sgml-4.2
|
||||
unzip -q -a %{SOURCE421} -d docbook-xml-4.2
|
||||
unzip -q -a %{SOURCE422} -d docbook-rng-4.2
|
||||
unzip -q -a %{SOURCE423} -d docbook-xsd-4.2
|
||||
# DocBook 4.3
|
||||
unzip -q -a %{SOURCE430} -d docbook-sgml-4.3
|
||||
unzip -q -a %{SOURCE431} -d docbook-xml-4.3
|
||||
unzip -q -a %{SOURCE432} -d docbook-rng-4.3
|
||||
unzip -q -a %{SOURCE433} -d docbook-xsd-4.3
|
||||
# DocBook 4.4
|
||||
unzip -q -a %{SOURCE440} -d docbook-sgml-4.4
|
||||
unzip -q -a %{SOURCE441} -d docbook-xml-4.4
|
||||
unzip -q -a %{SOURCE442} -d docbook-rng-4.4
|
||||
unzip -q -a %{SOURCE443} -d docbook-xsd-4.4
|
||||
# DocBook 4.5
|
||||
unzip -q -a %{SOURCE450} -d docbook-sgml-4.5
|
||||
unzip -q -a %{SOURCE451} -d docbook-xml-4.5
|
||||
unzip -q -a %{SOURCE452} -d docbook-rng-4.5
|
||||
unzip -q -a %{SOURCE453} -d docbook-xsd-4.5
|
||||
|
||||
%patch -P 1 -p 1 -p 0
|
||||
%patch -P 2 -p 1
|
||||
%patch -P 3 -p 1
|
||||
|
||||
# CATALOG.* files
|
||||
cp %{SOURCE3} %{SOURCE7} %{SOURCE8} %{SOURCE414} %{SOURCE424} %{SOURCE434} %{SOURCE444} %{SOURCE454} .
|
||||
chmod -R a+rX,g-w,o-w .
|
||||
# Remove executable bit from files
|
||||
find . -type f | xargs chmod a-x
|
||||
|
||||
%build
|
||||
# Nothing to build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
# cleanup
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%post
|
||||
if [ -x %{regcat} ]; then
|
||||
for c in %{my_all_cat}; do
|
||||
%{regcat} -a %{sgml_dir}/CATALOG.$c \
|
||||
>/dev/null 2>&1 || true
|
||||
done
|
||||
fi
|
||||
|
||||
# in case of an update, remove old
|
||||
if [ "2" = "$1" ]; then
|
||||
%{_bindir}/edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
|
||||
--del %{name}-%{version} || true
|
||||
fi
|
||||
if [ ! -f %{_sysconfdir}/xml/suse-catalog.xml -a -x %{_bindir}/edit-xml-catalog ]; then
|
||||
%{_bindir}/edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
|
||||
--add %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
|
||||
fi
|
||||
|
||||
update-xml-catalog
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
update-xml-catalog
|
||||
if [ "$1" = "0" -a -x %{regcat} ]; then
|
||||
for c in %{my_all_cat}; do
|
||||
%{regcat} -r %{sgml_dir}/CATALOG.$c \
|
||||
>/dev/null 2>&1 || true
|
||||
done
|
||||
fi
|
||||
# remove entries only on removal of file
|
||||
if [ "0" = "$1" -a ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} ] ; then
|
||||
%{_bindir}/edit-xml-catalog --group --catalog %{_sysconfdir}/xml/suse-catalog.xml \
|
||||
--del %{name}-%{version}
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
# %%config %%{sgml_config_dir}/CATALOG.*
|
||||
%config %{_sysconfdir}/xml/catalog.d/%{name}.xml
|
||||
|
||||
%doc README.SUSE
|
||||
%{sgml_dir}/CATALOG.*
|
||||
%{sgml_docbook_dtd_dir}/4.1
|
||||
%{sgml_docbook_dtd_dir}/4.2
|
||||
%{sgml_docbook_dtd_dir}/4.3
|
||||
%{sgml_docbook_dtd_dir}/4.4
|
||||
%{sgml_docbook_dtd_dir}/4.5
|
||||
#
|
||||
%{sgml_docbook_dtd_dir}/4.1.2xml
|
||||
%{sgml_docbook_dtd_dir}/4.2xml
|
||||
%{sgml_docbook_dtd_dir}/4.3xml
|
||||
%{sgml_docbook_dtd_dir}/4.4xml
|
||||
%{sgml_docbook_dtd_dir}/4.5xml
|
||||
#
|
||||
%{xml_docbook_dtd_dir}/4.1.2
|
||||
%{xml_docbook_dtd_dir}/4.2
|
||||
%{xml_docbook_dtd_dir}/4.3
|
||||
%{xml_docbook_dtd_dir}/4.4
|
||||
%{xml_docbook_dtd_dir}/4.5
|
||||
#
|
||||
%{xml_docbook_rng_dir}/4.2
|
||||
%{xml_docbook_rng_dir}/4.3
|
||||
%{xml_docbook_rng_dir}/4.4
|
||||
%{xml_docbook_rng_dir}/4.5
|
||||
#
|
||||
%{xml_docbook_xsd_dir}/4.2
|
||||
%{xml_docbook_xsd_dir}/4.3
|
||||
%{xml_docbook_xsd_dir}/4.4
|
||||
%{xml_docbook_xsd_dir}/4.5
|
||||
#
|
||||
%dir %{sgml_dir}/docbook/dtd
|
||||
%dir %{xml_docbook_dir}/schema
|
||||
%dir %{xml_docbook_dtd_dir}
|
||||
%dir %{xml_docbook_rng_dir}
|
||||
%dir %{xml_docbook_xsd_dir}
|
||||
|
||||
%changelog
|
||||
106
docbook_4.xml
Normal file
106
docbook_4.xml
Normal file
@ -0,0 +1,106 @@
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
|
||||
<group id="docbook_4">
|
||||
<!-- === Version 4.1.2 === -->
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.1.2" systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.1.2" systemIdStartString="http://www.docbook.org/xml/4.1.2"/>
|
||||
<!-- === Version 4.2 === -->
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.2" systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.2" systemIdStartString="http://www.docbook.org/xml/4.2"/>
|
||||
<!-- === Version 4.3 === -->
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.3" systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.3" systemIdStartString="http://www.docbook.org/xml/4.3"/>
|
||||
<!-- === Version 4.4 === -->
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.4" systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.4" systemIdStartString="http://www.docbook.org/xml/4.4"/>
|
||||
<!-- === Version 4.5 === -->
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.5" systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5"/>
|
||||
<rewriteSystem rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.5" systemIdStartString="http://www.docbook.org/xml/4.5"/>
|
||||
<!-- === Miscellenous === -->
|
||||
<delegatePublic publicIdStartString="-//OASIS//DTD XML Exchange Table Model 19990315//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/>
|
||||
</group>
|
||||
<!-- === XML Entities === -->
|
||||
<group id="docbook_4_xmlentities">
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsa.ent" publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsa.ent" systemId="http://www.w3.org/2003/entities/iso8879/isoamsa.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsb.ent" publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsb.ent" systemId="http://www.w3.org/2003/entities/iso8879/isoamsb.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsc.ent" publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsc.ent" systemId="http://www.w3.org/2003/entities/iso8879/isoamsc.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsn.ent" publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsn.ent" systemId="http://www.w3.org/2003/entities/iso8879/isoamsn.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamso.ent" publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamso.ent" systemId="http://www.w3.org/2003/entities/iso8879/isoamso.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsr.ent" publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isoamsr.ent" systemId="http://www.w3.org/2003/entities/iso8879/isoamsr.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isobox.ent" publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isobox.ent" systemId="http://www.w3.org/2003/entities/iso8879/isobox.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isocyr1.ent" publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isocyr1.ent" systemId="http://www.w3.org/2003/entities/iso8879/isocyr1.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isocyr2.ent" publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isocyr2.ent" systemId="http://www.w3.org/2003/entities/iso8879/isocyr2.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isodia.ent" publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isodia.ent" systemId="http://www.w3.org/2003/entities/iso8879/isodia.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk1.ent" publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk1.ent" systemId="http://www.w3.org/2003/entities/iso8879/isogrk1.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk2.ent" publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk2.ent" systemId="http://www.w3.org/2003/entities/iso8879/isogrk2.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk3.ent" publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk3.ent" systemId="http://www.w3.org/2003/entities/iso8879/isogrk3.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk4.ent" publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isogrk4.ent" systemId="http://www.w3.org/2003/entities/iso8879/isogrk4.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isolat1.ent" publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isolat1.ent" systemId="http://www.w3.org/2003/entities/iso8879/isolat1.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isolat2.ent" publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isolat2.ent" systemId="http://www.w3.org/2003/entities/iso8879/isolat2.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isonum.ent" publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isonum.ent" systemId="http://www.w3.org/2003/entities/iso8879/isonum.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isopub.ent" publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isopub.ent" systemId="http://www.w3.org/200osc 3/entities/iso8879/isopub.ent"/>
|
||||
<public uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isotech.ent" publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML"/>
|
||||
<system uri="file:///usr/share/xml/docbook/schema/dtd/4.5/ent/isotech.ent" systemId="http://www.w3.org/2003/entities/iso8879/isotech.ent"/>
|
||||
</group>
|
||||
</catalog>
|
||||
|
||||
155
generate-docbook_4-xmlcat.py
Normal file
155
generate-docbook_4-xmlcat.py
Normal file
@ -0,0 +1,155 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
#
|
||||
|
||||
from lxml import etree
|
||||
from lxml.builder import ElementMaker
|
||||
|
||||
import os.path
|
||||
|
||||
CATATALOG_NS="urn:oasis:names:tc:entity:xmlns:xml:catalog"
|
||||
CATALOG="file:///usr/share/xml/docbook/schema/dtd/{ver}/catalog.xml"
|
||||
|
||||
DB_VERSIONS=["4.1.2", "4.2", "4.3", "4.4", "4.5"]
|
||||
|
||||
DTD="-//OASIS//DTD DocBook XML V{ver}//EN"
|
||||
CALS="-//OASIS//DTD DocBook CALS Table Model V{ver}//EN"
|
||||
POOL="-//OASIS//ELEMENTS DocBook Information Pool V{ver}//EN"
|
||||
HIER="-//OASIS//ELEMENTS DocBook Document Hierarchy V{ver}//EN"
|
||||
GEN_ENT="-//OASIS//ENTITIES DocBook Additional General Entities V{ver}//EN"
|
||||
NOTA="-//OASIS//ENTITIES DocBook Notations V{ver}//EN"
|
||||
CHAR_ENT="-//OASIS//ENTITIES DocBook Character Entities V{ver}//EN"
|
||||
ADD_CHAR_ENT="-//OASIS//ENTITIES DocBook Additional General Entities V{ver}//EN"
|
||||
HTML="-//OASIS//ELEMENTS DocBook XML grep HTML Tables V{ver}//EN"
|
||||
|
||||
|
||||
SYSTEM_IDENTIFIERS=[
|
||||
"http://www.oasis-open.org/docbook/xml/{ver}",
|
||||
"http://www.docbook.org/xml/{ver}",
|
||||
]
|
||||
|
||||
MISC_IDENTIFIERS=[
|
||||
"-//OASIS//DTD XML Exchange Table Model 19990315//EN",
|
||||
]
|
||||
|
||||
XML_ENTITIES=[
|
||||
("ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isoamsa.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isoamsb.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isoamsc.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isoamsn.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isoamso.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isoamsr.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isobox.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isocyr1.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isocyr2.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isodia.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Greek Letters//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isogrk1.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isogrk2.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Greek Symbols//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isogrk3.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isogrk4.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Latin 1//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isolat1.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Added Latin 2//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isolat2.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isonum.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES Publishing//EN//XML",
|
||||
"http://www.w3.org/200osc 3/entities/iso8879/isopub.ent",),
|
||||
|
||||
("ISO 8879:1986//ENTITIES General Technical//EN//XML",
|
||||
"http://www.w3.org/2003/entities/iso8879/isotech.ent",),
|
||||
]
|
||||
|
||||
DOCBOOK_IDENTIFIERS={
|
||||
"4.1.2": [DTD, CALS, POOL, HIER, GEN_ENT, NOTA, CHAR_ENT, ADD_CHAR_ENT],
|
||||
"4.2": [DTD, CALS, POOL, HIER, GEN_ENT, NOTA, CHAR_ENT, ADD_CHAR_ENT],
|
||||
"4.3": [DTD, CALS, POOL, HIER, HTML, GEN_ENT, NOTA, CHAR_ENT, ADD_CHAR_ENT],
|
||||
"4.4": [DTD, CALS, POOL, HIER, HTML, GEN_ENT, NOTA, CHAR_ENT, ADD_CHAR_ENT],
|
||||
"4.5": [DTD, CALS, POOL, HIER, HTML, GEN_ENT, NOTA, CHAR_ENT, ADD_CHAR_ENT],
|
||||
}
|
||||
|
||||
E = ElementMaker(namespace=CATATALOG_NS, nsmap={None : CATATALOG_NS})
|
||||
|
||||
catalog = E.catalog
|
||||
group = E.group
|
||||
public = E.public
|
||||
system = E.system
|
||||
delpub = E.delegatePublic
|
||||
delsys = E.delegateSystem
|
||||
deluri = E.delegateURI
|
||||
rewsys = E.rewriteSystem
|
||||
|
||||
def create_db_catalog():
|
||||
c = catalog()
|
||||
g = group({'id': 'docbook_4'})
|
||||
for version in DB_VERSIONS:
|
||||
g.append(etree.Comment(' === Version {ver} === '.format(ver=version)))
|
||||
for ident in DOCBOOK_IDENTIFIERS[version]:
|
||||
g.append(delpub({'publicIdStartString': ident.format(ver=version),
|
||||
'catalog': CATALOG.format(ver=version)}))
|
||||
for sysid in SYSTEM_IDENTIFIERS:
|
||||
#g.append(delsys({'systemIdStartString': sysid.format(ver=version),
|
||||
# 'catalog': CATALOG.format(ver=version)}))
|
||||
g.append(rewsys({'systemIdStartString': sysid.format(ver=version),
|
||||
'rewritePrefix': os.path.dirname(CATALOG.format(ver=version))
|
||||
}
|
||||
))
|
||||
|
||||
# We use the latest DocBook version for our misc part:
|
||||
g.append(etree.Comment(' === Miscellenous === '))
|
||||
for misc in MISC_IDENTIFIERS:
|
||||
g.append(delpub(publicIdStartString=misc,
|
||||
catalog=CATALOG.format(ver='4.5')))
|
||||
c.append(g)
|
||||
c.append(etree.Comment(' === XML Entities === '))
|
||||
c.append(create_entities_catalog())
|
||||
return c
|
||||
|
||||
|
||||
def create_entities_catalog():
|
||||
g = group({'id': 'docbook_4_xmlentities'})
|
||||
entfile = "file:///usr/share/xml/docbook/schema/dtd/4.5/ent/{}"
|
||||
for pub, sys in XML_ENTITIES:
|
||||
e = sys.rsplit("/", 1)[-1]
|
||||
entity = entfile.format(e)
|
||||
g.append(public(publicId=pub,
|
||||
uri=entity))
|
||||
g.append(system(systemId=sys,
|
||||
uri=entity))
|
||||
return g
|
||||
|
||||
|
||||
if __name__=="__main__":
|
||||
catalog = create_db_catalog()
|
||||
print(etree.tostring(catalog, encoding="unicode", pretty_print=True))
|
||||
Loading…
Reference in New Issue
Block a user