source: pst/xml/docbook-xsl.xml@ 38b41c2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 38b41c2 was c2a37a6, checked in by Randy McMurchy <randy@…>, 20 years ago

Added md5sums to Chapter 42-44 package instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3474 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.1 KB
RevLine 
[44b376e7]1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
[dc477899]5
[a750d96f]6 <!ENTITY docbook-xsl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-xsl-&docbook-xsl-version;.tar.bz2">
7 <!ENTITY docbook-xsl-download-ftp " ">
[c2a37a6]8 <!ENTITY docbook-xsl-md5sum "deb1864e3e190465dcc26145d2667a84">
[a750d96f]9 <!ENTITY docbook-xsl-size "975 KB">
[dc477899]10 <!ENTITY docbook-xsl-buildsize "25 MB">
[44b376e7]11 <!ENTITY docbook-xsl-time "0.01 SBU">
12]>
13
[c2a37a6]14<sect1 id="docbook-xsl"
15xreflabel="DocBook XSL Stylesheets-&docbook-xsl-version;">
[a0f03b0]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[a0f03b0]19</sect1info>
[dd3f20f0]20<?dbhtml filename="docbook-xsl.html"?>
[b028890]21<title>DocBook XSL Stylesheets-&docbook-xsl-version;</title>
[59bc4e1]22
[44b376e7]23<sect2>
[93dda11b]24<title>Introduction to <application>DocBook <acronym>XSL</acronym>
25Stylesheets</application></title>
[44b376e7]26
27<para>The <application>DocBook <acronym>XSL</acronym> Stylesheets</application>
[93dda11b]28package contains <acronym>XSL</acronym> stylesheets. These are useful for
29performing transformations on <acronym>XML</acronym> DocBook files.</para>
[44b376e7]30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink
34url="&docbook-xsl-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&docbook-xsl-download-ftp;"/></para></listitem>
[c2a37a6]37<listitem><para>Download MD5 sum: &docbook-xsl-md5sum;</para></listitem>
[44b376e7]38<listitem><para>Download size: &docbook-xsl-size;</para></listitem>
[3b1dc849]39<listitem><para>Estimated disk space required:
[44b376e7]40&docbook-xsl-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&docbook-xsl-time;</para></listitem></itemizedlist>
43</sect3>
44
[93dda11b]45<sect3><title><application>DocBook <acronym>XSL</acronym>
46Stylesheets</application> dependencies</title>
[44b376e7]47<sect4><title>Required</title>
[dc477899]48<para><xref linkend="libxslt"/></para>
49</sect4>
[44b376e7]50</sect3>
51
52</sect2>
53
54<sect2>
[93dda11b]55<title>Installation of <application>DocBook <acronym>XSL</acronym>
56Stylesheets</application></title>
[44b376e7]57
[93dda11b]58<para>Install <application>DocBook <acronym>XSL</acronym>
59Stylesheets</application> by running the following commands:</para>
[44b376e7]60
61<screen><userinput><command>install -d /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
[93dda11b]62chown -R root:root . &amp;&amp;
[5d34b74]63cp -af INSTALL VERSION common eclipse extensions fo html htmlhelp \
64 images javahelp lib manpages params profiling template xhtml \
[44b376e7]65 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
66install -d /usr/share/doc/xml &amp;&amp;
67cp -af doc/* /usr/share/doc/xml &amp;&amp;
[a750d96f]68cd /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
69sh INSTALL &amp;&amp;
[5d34b74]70if [ ! -f /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog \
71 --noout --create /etc/xml/catalog; fi &amp;&amp;
[44b376e7]72if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \
73 /etc/xml/docbook; fi &amp;&amp;
74xmlcatalog --noout --add "rewriteSystem" \
[dc477899]75 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
[44b376e7]76 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" /etc/xml/catalog &amp;&amp;
77xmlcatalog --noout --add "rewriteURI" \
[dc477899]78 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
[44b376e7]79 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" /etc/xml/catalog &amp;&amp;
80xmlcatalog --noout --add "delegateSystem" \
81 "http://docbook.sourceforge.net/release/xsl/" \
82 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
83xmlcatalog --noout --add "delegateURI" \
84 "http://docbook.sourceforge.net/release/xsl/" \
[d6edeb8]85 "file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
[44b376e7]86
87</sect2>
88
[d6edeb8]89<sect2>
90<title>Command explanations</title>
91
92<para><command>sh INSTALL</command>: This command creates a local
93catalog for the <acronym>XSL</acronym> files.</para>
94
95</sect2>
96
97
[44b376e7]98<sect2>
[93dda11b]99<title>Configuring <application>DocBook <acronym>XSL</acronym>
100Stylesheets</application></title>
[44b376e7]101
[7302427]102<sect3 id="docbook-xsl-config"><title>Config files</title>
[44b376e7]103<para><filename>/etc/xml/catalog</filename></para>
[d6edeb8]104<indexterm zone="docbook-xsl docbook-xsl-config"><primary
[71d04e9]105sortas="e-etc-xml-catalog">/etc/xml/catalog</primary></indexterm>
[44b376e7]106</sect3>
107
108<sect3><title>Configuration Information</title>
109
[d6edeb8]110<para>The system profile needs to be updated to utilize the new
111installed catalog. This can be done with the following command:</para>
112
113<screen><userinput><command>cat &gt; /etc/profile.d/xsl.sh &lt;&lt; "EOF"</command>
114# Set up Environment Variable for XSL Processing
[5d34b74]115export XML_CATALOG_FILES="/usr/share/xml/docbook/\
116xsl-stylesheets-&docbook-xsl-version;/catalog.xml /etc/xml/catalog"
[d6edeb8]117<command>EOF</command></userinput></screen>
118
[44b376e7]119<para>The above installation script creates the files and updates the
[a750d96f]120catalog. Some project stylesheets reference specific versions of
121<acronym>XSL</acronym> stylesheets, like <acronym>BLFS</acronym>, which
122needs the following additional commands. These commands can also serve
123as an example for using a single <acronym>XSL</acronym> version to support
124any hard coded versions, as needed.</para>
[c2a37a6]125
[a750d96f]126<screen><userinput><command>xmlcatalog --noout --add "rewriteSystem" \
127 "http://docbook.sourceforge.net/release/xsl/1.65.1" \
[3b1dc849]128 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
129 /etc/xml/catalog &amp;&amp;
[a750d96f]130xmlcatalog --noout --add "rewriteURI" \
131 "http://docbook.sourceforge.net/release/xsl/1.65.1" \
[3b1dc849]132 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
133 /etc/xml/catalog</command></userinput></screen>
[c2a37a6]134
[a750d96f]135<para>Alternatively, other versions can be installed in their own
136versioned directories and catalog entries made in the following
137form:</para>
[c2a37a6]138
[a750d96f]139<screen><userinput><command>xmlcatalog --noout --add "rewriteSystem" \
140 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
[3b1dc849]141 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
142 /etc/xml/catalog &amp;&amp;
[a750d96f]143xmlcatalog --noout --add "rewriteURI" \
144 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
[3b1dc849]145 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
146 /etc/xml/catalog</command></userinput></screen>
[c2a37a6]147
[a568da2]148<!-- The following is very specific to LFS 6.0, the first sentence for
149make and the remainder for 'make pdf', If it stays, it needs to be removed
150after BLFS 6.0-->
[c2a37a6]151
[a568da2]152<para>For <acronym>LFS</acronym> 6.0, version 1.65.1 of this package should be
153installed. In addition, you need to make a symbolic link as described in the
154<filename>INSTALL</filename> file of <acronym>LFS</acronym> 6.0.</para>
155<screen><userinput><command>cd /usr/share/xml/docbook/ &amp;&amp;
156ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current</command></userinput></screen>
157
[44b376e7]158</sect3>
159
160</sect2>
161
162<sect2>
163<title>Contents</title>
[5cb3ea7]164<segmentedlist>
165<segtitle>Installed Files</segtitle>
[7302427]166<segtitle>Installed Directories</segtitle>
[5cb3ea7]167<seglistitem><seg><acronym>XSL</acronym>
[c2a37a6]168style sheets for <acronym>HTML</acronym> and <acronym>FO</acronym></seg>
[7302427]169<seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
170/usr/share/doc/xml</seg>
171</seglistitem>
172</segmentedlist>
[44b376e7]173
174</sect2>
[59bc4e1]175
176</sect1>
Note: See TracBrowser for help on using the repository browser.