DocBook-XML-4.5
From CBLFS
Jump to navigationJump to searchDownload Source: | http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip |
---|
Contents
Introduction to DocBook-XML-4.5
DocBook is general purpose XML and SGML document type particularly well suited to books and papers about computer hardware and software
Project Homepage: http://www.docbook.org/
Dependencies
Required
This package is distributed as a Zip, you will need Unzip or similar to extract it.
This package does not extract into its own directory, please create a directory before extracting the package:
mkdir docbook-xml-4.5 cd docbook-xml-4.5 unzip ../docbook-xml-4.5.zip
Non-Multilib or Multilib
Package Installation
Install the Schema with the following commands:
install -v -d -m755 /usr/share/xml/docbook/schema/4.5/dtd/ && cp -v -af *.cat *.dtd *.mod \ /usr/share/xml/docbook/schema/4.5/dtd/
Install the documentation with the following commands:
install -dv -m755 /usr/share/doc/docbook-xml-4.5 install -v -m644 README ChangeLog /usr/share/doc/docbook-xml-4.5/
Local Catalog
Create a local catalog for this package:
xmlcatalog --noout --create /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook XML V4.5//EN" \ "./dtd/docbookx.dtd" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "system" \ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ "./dtd/docbookx.dtd" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "system" \ "http://docbook.org/xml/4.5/docbookx.dtd" \ "./dtd/docbookx.dtd" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" \ "./dtd/calstblx.dtd" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ "./dtd/htmltblx.mod" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ "./dtd/soextblx.dtd" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" \ "./dtd/dbpoolx.mod" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" \ "./dtd/dbhierx.mod" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" \ "./dtd/dbgenent.mod" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook Notations V4.5//EN" \ "./dtd/dbnotnx.mod" \ /usr/share/xml/docbook/schema/4.5/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" \ "./dtd/dbcentx.mod" \ /usr/share/xml/docbook/schema/4.5/catalog.xml
Global Catalog
Create the global catalog if it doesn't exist:
install -dv -m755 /etc/xml [ ! -f /etc/xml/catalog ] && xmlcatalog --noout --create /etc/xml/catalog
Add entries into the global catalog for this package:
xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook XML V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegateSystem" \ "http://www.oasis-open.org/docbook/xml/4.5" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegateSystem" \ "http://docbook.org/xml/4.5" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook Notations V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" \ "file:///usr/share/xml/docbook/schema/4.5/catalog.xml" \ /etc/xml/catalog