source: pst/xml/docbook-xsl.xml@ 33c43b6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 33c43b6 was 33c43b6, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to DocBook XSL Stylesheets-1.69.1

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

  • Property mode set to 100644
File size: 9.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY docbook-xsl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-xsl-&docbook-xsl-version;.tar.bz2">
8 <!ENTITY docbook-xsl-download-ftp " ">
9 <!ENTITY docbook-xsl-md5sum "6ebd29a67f2dcc3f2220f475ee6f6552">
10 <!ENTITY docbook-xsl-size "1.0 MB">
11 <!ENTITY docbook-xsl-buildsize "35.9 MB (includes installing optional documentation)">
12 <!ENTITY docbook-xsl-time "less than 0.1 SBU">
13
14 <!ENTITY docbook-xsl-doc-download "http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-&docbook-xsl-version;.tar.bz2">
15]>
16
17<sect1 id="docbook-xsl"
18xreflabel="DocBook XSL Stylesheets-&docbook-xsl-version;">
19 <?dbhtml filename="docbook-xsl.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>DocBook XSL Stylesheets-&docbook-xsl-version;</title>
27
28 <indexterm zone="docbook-xsl">
29 <primary sortas="a-DocBook-XSL-Stylesheets">DocBook XSL
30 Stylesheets</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to DocBook XSL Stylesheets</title>
35
36 <para>The <application>DocBook XSL Stylesheets</application>
37 package contains XSL stylesheets. These are useful for
38 performing transformations on XML DocBook files.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&docbook-xsl-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&docbook-xsl-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &docbook-xsl-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &docbook-xsl-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &docbook-xsl-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &docbook-xsl-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Optional documentation: <ulink
66 url="&docbook-xsl-doc-download;"/></para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">DocBook XSL Stylesheets Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para><xref linkend="libxml2"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of DocBook XSL Stylesheets</title>
79
80 <para>If you downloaded the optional documentation tarball, unpack it
81 when you unpack the source tarball. The documentation tarball unpacks into
82 subdirectories of the source tree.</para>
83
84 <para>Install <application>DocBook XSL Stylesheets</application>
85 by running the following commands as the
86 <systemitem class="username">root</systemitem> user:</para>
87
88<screen role="root"><userinput>install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
89cp -v -R VERSION common eclipse extensions fo html \
90 htmlhelp images javahelp lib manpages params \
91 profiling slides template website xhtml \
92 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;</userinput></screen>
93
94 <para>If you downloaded the optional documentation tarball, install the
95 documentation by issuing the following commands as the
96 <systemitem class="username">root</systemitem> user:</para>
97
98<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/docbook-xsl-&docbook-xsl-version; &amp;&amp;
99cp -v -R doc/* /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="configuration">
104 <title>Configuring DocBook XSL Stylesheets</title>
105
106 <sect3 id="docbook-xsl-config">
107 <title>Config Files</title>
108
109 <para><filename>/etc/xml/catalog</filename></para>
110
111 <indexterm zone="docbook-xsl docbook-xsl-config">
112 <primary sortas="e-etc-xml-catalog">/etc/xml/catalog</primary>
113 </indexterm>
114
115 </sect3>
116
117 <sect3>
118 <title>Configuration Information</title>
119
120 <para>Create (or append) and populate the XML catalog file using the
121 following commands as the <systemitem class="username">root</systemitem>
122 user:</para>
123
124<screen role="root"><userinput>if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &amp;&amp;
125if [ ! -f /etc/xml/catalog ]; then
126 xmlcatalog --noout --create /etc/xml/catalog
127fi &amp;&amp;
128
129xmlcatalog --noout --add "rewriteSystem" \
130 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
131 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
132 /etc/xml/catalog &amp;&amp;
133xmlcatalog --noout --add "rewriteURI" \
134 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
135 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
136 /etc/xml/catalog &amp;&amp;
137xmlcatalog --noout --add "rewriteSystem" \
138 "http://docbook.sourceforge.net/release/xsl/current" \
139 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
140 /etc/xml/catalog &amp;&amp;
141xmlcatalog --noout --add "rewriteURI" \
142 "http://docbook.sourceforge.net/release/xsl/current" \
143 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
144 /etc/xml/catalog</userinput></screen>
145
146 <para>If you will be using the stylesheets from this installation to
147 render the LFS and HLFS SVN books, then you need to create a symbolic
148 link to the stylesheets directory so that the image files will be
149 found. Create the link by issuing the following command as the
150 <systemitem class="username">root</systemitem> user:</para>
151
152<screen role="root"><userinput>ln -v -sf xsl-stylesheets-1.69.1 \
153 /usr/share/xml/docbook/xsl-stylesheets-current</userinput></screen>
154
155<!-- The following removed as recommended by Manuel
156
157if [ ! -f /etc/xml/catalog ]; then
158 xmlcatalog -\-noout -\-create /etc/xml/catalog
159fi &amp;&amp;
160
161xmlcatalog -\-noout -\-add "delegateSystem" \
162 "http://docbook.sourceforge.net/release/xsl/" \
163 "file:///etc/xml/docbook" \
164 /etc/xml/catalog &amp;&amp;
165xmlcatalog -\-noout -\-add "delegateURI" \
166 "http://docbook.sourceforge.net/release/xsl/" \
167 "file:///etc/xml/docbook" \
168 /etc/xml/catalog</userinput></screen>
169
170 <para>The system profile needs to be updated to utilize the new installed
171 catalog. This can be done with the following command:<para>
172
173<screen role="root"><userinput>cat &gt; /etc/profile.d/xsl.sh &lt;&lt; "EOF"
174<literal># Set up Environment Variable for XSL Processing
175export XML_CATALOG_FILES="/usr/share/xml/docbook/\
176xsl-stylesheets-&docbook-xsl-version;/catalog.xml /etc/xml/catalog"</literal>
177EOF</userinput></screen>
178
179 <para>The above installation script creates the files and updates the
180 catalog with the current version of the XML stylesheets. Some project
181 stylesheets reference specific versions of XSL stylesheets, like BLFS-6.0,
182 which needs the 1.67.2 version. The following commands can serve as an
183 example for using a single XSL version to support any hard coded
184 versions, as needed. Use the following as an example to use the current
185 version of the stylesheets for the 1.67.2 version. Edit or add to the
186 commands to suit your particular needs. Issue the commands as the
187 <systemitem class="username">root</systemitem> user:</para>
188
189<screen role="root"><userinput>xmlcatalog -\-noout -\-add "rewriteSystem" \
190 "http://docbook.sourceforge.net/release/xsl/1.67.2" \
191 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
192 /etc/xml/catalog &amp;&amp;
193xmlcatalog -\-noout -\-add "rewriteURI" \
194 "http://docbook.sourceforge.net/release/xsl/1.67.2" \
195 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
196 /etc/xml/catalog</userinput></screen>
197
198 <para>Alternatively, other versions can be installed in their own
199 versioned directories and catalog entries made in the following
200 form:</para>
201
202<screen role="root"><userinput>xmlcatalog -\-noout -\-add "rewriteSystem" \
203 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
204 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
205 /etc/xml/catalog &amp;&amp;
206xmlcatalog -\-noout -\-add "rewriteURI" \
207 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
208 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
209 /etc/xml/catalog</userinput></screen>
210
211-->
212
213 </sect3>
214
215 </sect2>
216
217 <sect2 role="content">
218 <title>Contents</title>
219
220 <segmentedlist>
221 <segtitle>Installed Programs</segtitle>
222 <segtitle>Installed Libraries</segtitle>
223 <segtitle>Installed Files</segtitle>
224 <segtitle>Installed Directories</segtitle>
225
226 <seglistitem>
227 <seg>None</seg>
228 <seg>None</seg>
229 <seg>XSL style sheets for HTML and FO</seg>
230 <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
231 /usr/share/doc/docbook-xsl-&docbook-xsl-version;</seg>
232 </seglistitem>
233 </segmentedlist>
234
235 </sect2>
236
237</sect1>
Note: See TracBrowser for help on using the repository browser.