Difference between revisions of "DocBook XSL Stylesheets"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.71.0.tar.bz2
+
| http://prdownloads.sourceforge.net/docbook/docbook-xsl-{{DocBook XSL Stylesheets-Version}}.tar.bz2
 
|-
 
|-
 
!Optional Documentation:
 
!Optional Documentation:
| http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-1.71.0.tar.bz2
+
| http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-{{DocBook XSL Stylesheets-Version}}.tar.bz2
 
|}
 
|}
  
Line 25: Line 25:
 
Install DocBook XSL Stylesheets by running the following commands:
 
Install DocBook XSL Stylesheets by running the following commands:
  
  install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.71.0 &&
+
  install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-{{DocBook XSL Stylesheets-Version}} &&
 
  cp -v -R VERSION common eclipse extensions fo highlighting html \
 
  cp -v -R VERSION common eclipse extensions fo highlighting html \
 
           htmlhelp images javahelp lib manpages params \
 
           htmlhelp images javahelp lib manpages params \
 
           profiling slides template website xhtml \
 
           profiling slides template website xhtml \
     /usr/share/xml/docbook/xsl-stylesheets-1.71.0
+
     /usr/share/xml/docbook/xsl-stylesheets-{{DocBook XSL Stylesheets-Version}}
  
 
If you downloaded the optional documentation tarball, install the documentation by issuing the following commands
 
If you downloaded the optional documentation tarball, install the documentation by issuing the following commands
  
  install -v -m755 -d /usr/share/doc/docbook-xsl-1.71.0 &&
+
  install -v -m755 -d /usr/share/doc/docbook-xsl-{{DocBook XSL Stylesheets-Version}} &&
  cp -v -R doc/* /usr/share/doc/docbook-xsl-1.71.0
+
  cp -v -R doc/* /usr/share/doc/docbook-xsl-{{DocBook XSL Stylesheets-Version}}
  
 
Create (or append) and populate the XML catalog file using the following commands:
 
Create (or append) and populate the XML catalog file using the following commands:
Line 43: Line 43:
 
  fi &&
 
  fi &&
 
  xmlcatalog --noout --add "rewriteSystem" \
 
  xmlcatalog --noout --add "rewriteSystem" \
             "http://docbook.sourceforge.net/release/xsl/1.71.0" \
+
             "http://docbook.sourceforge.net/release/xsl/{{DocBook XSL Stylesheets-Version}}" \
             "/usr/share/xml/docbook/xsl-stylesheets-1.71.0" \
+
             "/usr/share/xml/docbook/xsl-stylesheets-{{DocBook XSL Stylesheets-Version}}" \
 
     /etc/xml/catalog &&
 
     /etc/xml/catalog &&
 
  xmlcatalog --noout --add "rewriteURI" \
 
  xmlcatalog --noout --add "rewriteURI" \
             "http://docbook.sourceforge.net/release/xsl/1.71.0" \
+
             "http://docbook.sourceforge.net/release/xsl/{{DocBook XSL Stylesheets-Version}}" \
             "/usr/share/xml/docbook/xsl-stylesheets-1.71.0" \
+
             "/usr/share/xml/docbook/xsl-stylesheets-{{DocBook XSL Stylesheets-Version}}" \
 
     /etc/xml/catalog &&
 
     /etc/xml/catalog &&
 
  xmlcatalog --noout --add "rewriteSystem" \
 
  xmlcatalog --noout --add "rewriteSystem" \
 
             "http://docbook.sourceforge.net/release/xsl/current" \
 
             "http://docbook.sourceforge.net/release/xsl/current" \
             "/usr/share/xml/docbook/xsl-stylesheets-1.71.0" \
+
             "/usr/share/xml/docbook/xsl-stylesheets-{{DocBook XSL Stylesheets-Version}}" \
 
     /etc/xml/catalog &&
 
     /etc/xml/catalog &&
 
  xmlcatalog --noout --add "rewriteURI" \
 
  xmlcatalog --noout --add "rewriteURI" \
 
             "http://docbook.sourceforge.net/release/xsl/current" \
 
             "http://docbook.sourceforge.net/release/xsl/current" \
             "/usr/share/xml/docbook/xsl-stylesheets-1.71.0" \
+
             "/usr/share/xml/docbook/xsl-stylesheets-{{DocBook XSL Stylesheets-Version}}" \
 
     /etc/xml/catalog
 
     /etc/xml/catalog

Revision as of 13:32, 17 December 2006

Download Source: http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.78.1.tar.bz2
Optional Documentation: http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-1.78.1.tar.bz2

Introduction to DocBook XSL Stylesheets

The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.

Dependencies

Required

Non-Multilib or Multilib

If you downloaded the optional documentation tarball, unpack it when you unpack the source tarball. The documentation tarball unpacks into subdirectories of the source tree.

Install DocBook XSL Stylesheets by running the following commands:

install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.78.1 &&
cp -v -R VERSION common eclipse extensions fo highlighting html \
         htmlhelp images javahelp lib manpages params \
         profiling slides template website xhtml \
    /usr/share/xml/docbook/xsl-stylesheets-1.78.1

If you downloaded the optional documentation tarball, install the documentation by issuing the following commands

install -v -m755 -d /usr/share/doc/docbook-xsl-1.78.1 &&
cp -v -R doc/* /usr/share/doc/docbook-xsl-1.78.1

Create (or append) and populate the XML catalog file using the following commands:

if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
    xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \
           "http://docbook.sourceforge.net/release/xsl/1.78.1" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
           "http://docbook.sourceforge.net/release/xsl/1.78.1" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
           "http://docbook.sourceforge.net/release/xsl/current" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
           "http://docbook.sourceforge.net/release/xsl/current" \
           "/usr/share/xml/docbook/xsl-stylesheets-1.78.1" \
    /etc/xml/catalog