DocBook-XML-4.1.2

From CBLFS
Revision as of 16:06, 16 May 2010 by Jciccone (talk | contribs) (Created page with '{{#if:| This package does not use a version template because it should never be upgraded. Different versions should install side-by-side - Joe Ciccone }} {| style="text-align…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://www.docbook.org/xml/4.1.2/docbkx412.zip

Introduction to DocBook-XML-4.1.2

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 docbkx412
cd docbkx412
unzip ../docbkx412.zip

Non-Multilib or Multilib

Package Installation

Install the Schema with the following commands:

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

Install the documentation with the following commands:

install -dv -m755 /usr/share/doc/docbook-xml-4.1.2
install -v -m644 readme.txt ChangeLog 40chg.txt 41chg.txt /usr/share/doc/docbook-xml-4.1.2/

Local Catalog

Create a local catalog for this package:

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