DocBook-XML-4.3

From CBLFS
Jump to: navigation, search
Download Source: http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip

Contents

Introduction to DocBook-XML-4.3

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

Caution.png

Note

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.3
cd docbook-xml-4.3
unzip ../docbook-xml-4.3.zip

Non-Multilib or Multilib

Package Installation

Install the Schema with the following commands:

install -v -d -m755 /usr/share/xml/docbook/schema/4.3/dtd/ &&
cp -v -af *.cat *.dtd *.mod \
    /usr/share/xml/docbook/schema/4.3/dtd/

Install the documentation with the following commands:

install -dv -m755 /usr/share/doc/docbook-xml-4.3
install -v -m644 README ChangeLog /usr/share/doc/docbook-xml-4.3/

Local Catalog

Create a local catalog for this package:

xmlcatalog --noout --create /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//DTD DocBook XML V4.3//EN" \
           "./dtd/docbookx.dtd" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \
           "./dtd/calstblx.dtd" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
           "./dtd/soextblx.dtd" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \
           "./dtd/dbpoolx.mod" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \
           "./dtd/dbhierx.mod" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \
           "./dtd/dbgenent.mod" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \
           "./dtd/dbnotnx.mod" \
           /usr/share/xml/docbook/schema/4.3/catalog.xml &&
xmlcatalog --noout --add "public" \
           "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \
           "./dtd/dbcentx.mod" \
           /usr/share/xml/docbook/schema/4.3/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.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
           "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \
           "file:///usr/share/xml/docbook/schema/4.3/catalog.xml" \
           /etc/xml/catalog
Personal tools