Difference between revisions of "DocBook-XML-4.2"
From CBLFS
Jump to navigationJump to search (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…') |
|||
Line 37: | Line 37: | ||
install -v -d -m755 /usr/share/xml/docbook/schema/4.2/dtd/ && | install -v -d -m755 /usr/share/xml/docbook/schema/4.2/dtd/ && | ||
− | cp -v -af *.cat *.dtd *.mod | + | cp -v -af *.cat *.dtd *.mod \ |
/usr/share/xml/docbook/schema/4.2/dtd/ | /usr/share/xml/docbook/schema/4.2/dtd/ | ||
Latest revision as of 16:48, 16 May 2010
Download Source: | http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip |
---|
Contents
Introduction to DocBook-XML-4.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
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.2 cd docbook-xml-4.2 unzip ../docbook-xml-4.2.zip
Non-Multilib or Multilib
Package Installation
Install the Schema with the following commands:
install -v -d -m755 /usr/share/xml/docbook/schema/4.2/dtd/ && cp -v -af *.cat *.dtd *.mod \ /usr/share/xml/docbook/schema/4.2/dtd/
Install the documentation with the following commands:
install -dv -m755 /usr/share/doc/docbook-xml-4.2 install -v -m644 README ChangeLog /usr/share/doc/docbook-xml-4.2/
Local Catalog
Create a local catalog for this package:
xmlcatalog --noout --create /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook XML V4.2//EN" \ "./dtd/docbookx.dtd" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \ "./dtd/calstblx.dtd" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ "./dtd/soextblx.dtd" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \ "./dtd/dbpoolx.mod" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \ "./dtd/dbhierx.mod" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \ "./dtd/dbgenent.mod" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \ "./dtd/dbnotnx.mod" \ /usr/share/xml/docbook/schema/4.2/catalog.xml && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \ "./dtd/dbcentx.mod" \ /usr/share/xml/docbook/schema/4.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.2//EN" \ "file:///usr/share/xml/docbook/schema/4.2/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \ "file:///usr/share/xml/docbook/schema/4.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.2/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \ "file:///usr/share/xml/docbook/schema/4.2/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \ "file:///usr/share/xml/docbook/schema/4.2/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \ "file:///usr/share/xml/docbook/schema/4.2/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \ "file:///usr/share/xml/docbook/schema/4.2/catalog.xml" \ /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \ "file:///usr/share/xml/docbook/schema/4.2/catalog.xml" \ /etc/xml/catalog