News:

 
 
2nd Sep 2003  Updated text for Red Hat Linux 9.
 
12th Oct 2002  Updated rawhide links to Red Hat Linux 8.0 (Psyche).
 
 
 
 

 DocBook XML and XSL on Red Hat Linux:

 

The current release of Red Hat Linux, Red Hat Linux 9 (Shrike) has all the packages you need to process DocBook XML documents using XSL. If you are running a release earlier than 7.3, I recommend you upgrade.

If you are running Red Hat Linux 7.2 and prefer not to upgrade yet, you will need some newer RPM packages. First install all the updates (you can use up2date for that), and then fetch and install some more packages.

Note that after you upgrade tetex you may see errors when using pdftex, like "Error: pdfxmltex (file pdftex.cfg): cannot open config file". In this case you will need to do this in order to get xmltex to work:

mv /usr/share/texmf/web2c/texmf.cnf.rpmnew /usr/share/texmf/web2c/texmf.cnf

The extra packages you need are listed here:

sgml-common and xml-common
You need a newer sgml-common for a small fix to the install-catalog program, and the xml-common package will start off an XML Catalog for you.
docbook-dtds, openjade, docbook-style-dsssl, and docbook-utils (and docbook-utils-pdf)
Upgrade all of these at the same time: they require each other (use rpm -Uvh docbook-dtds-* openjade-* docbook-style-dsssl* docbook-utils-*). The docbook-dtds package contains the document type declaration for DocBook XML V4.1.2, among others. This package also populates the XML Catalog with the appropriate entries so that the XSLT processor doesn't need Internet access to resolve DocBook XML DTD URLs (lots of acronyms!). Note that this package obsoletes the older docbook-dtd412-xml package, and other packages of the form docbook-dtd*-{xml,sgml}, and so you will need to upgrade to it rather than install it (use the -U switch to rpm).
docbook-style-xsl
Norman Walsh's XSL stylesheets. This package also populates the XML Catalog with the appropriate entries.
xmltex
A TeX package for handling XML documents.
passivetex
A TeX package for processing XSL FO documents.
xmlto
A shell script that knows what to do with the other packages in order to transform XML documents into a given format.
 
 
 

 Selfdocbook:

 
HTML | PDF | PS | Source : Selfdocbook (2002-01-17)
A self-documenting introduction to DocBook DocBook book.
HTML | PDF | PS | Source : Selfdocbook (XML edition) (2002-08-05)
A self-documenting introduction to DocBook XML DocBook XML book.
 
 
Bytemark HostingValid XHTML 1.0!Valid CSS!Privacy policyProblem viewing this site?