source: pst/xml/docbook-xsl.xml@ fcfda3f

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 fcfda3f was fcfda3f, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Removed creation of xsl-stylesheets-current symlink.
Removed obsolete commented stuff.
Fixed typo and traling space clean-up in changelog.xml.

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

  • Property mode set to 100644
File size: 8.0 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 <keywordset>
25 <keyword role="package">docbook-xsl-&docbook-xsl-version;.tar</keyword>
26 <keyword role="ftpdir">docbook-xsl</keyword>
27 </keywordset>
28 </sect1info>
29
30 <title>DocBook XSL Stylesheets-&docbook-xsl-version;</title>
31
32 <indexterm zone="docbook-xsl">
33 <primary sortas="a-DocBook-XSL-Stylesheets">DocBook XSL
34 Stylesheets</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to DocBook XSL Stylesheets</title>
39
40 <para>The <application>DocBook XSL Stylesheets</application>
41 package contains XSL stylesheets. These are useful for
42 performing transformations on XML DocBook files.</para>
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>Download (HTTP): <ulink url="&docbook-xsl-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&docbook-xsl-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &docbook-xsl-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &docbook-xsl-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &docbook-xsl-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &docbook-xsl-time;</para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
67 <itemizedlist spacing="compact">
68 <listitem>
69 <para>Optional documentation: <ulink
70 url="&docbook-xsl-doc-download;"/></para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">DocBook XSL Stylesheets Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required"><xref linkend="libxml2"/></para>
78
79 <para condition="html" role="usernotes">User Notes:
80 <ulink url="&blfs-wiki;/docbook-xsl"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of DocBook XSL Stylesheets</title>
86
87 <para>If you downloaded the optional documentation tarball, unpack it
88 when you unpack the source tarball. The documentation tarball unpacks into
89 subdirectories of the source tree.</para>
90
91 <para>Install <application>DocBook XSL Stylesheets</application>
92 by running the following commands as the
93 <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
96cp -v -R VERSION common eclipse extensions fo html \
97 htmlhelp images javahelp lib manpages params \
98 profiling slides template website xhtml \
99 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;</userinput></screen>
100
101 <para>If you downloaded the optional documentation tarball, install the
102 documentation by issuing the following commands as the
103 <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/docbook-xsl-&docbook-xsl-version; &amp;&amp;
106cp -v -R doc/* /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="configuration">
111 <title>Configuring DocBook XSL Stylesheets</title>
112
113 <sect3 id="docbook-xsl-config">
114 <title>Config Files</title>
115
116 <para><filename>/etc/xml/catalog</filename></para>
117
118 <indexterm zone="docbook-xsl docbook-xsl-config">
119 <primary sortas="e-etc-xml-catalog">/etc/xml/catalog</primary>
120 </indexterm>
121
122 </sect3>
123
124 <sect3>
125 <title>Configuration Information</title>
126
127 <para>Create (or append) and populate the XML catalog file using the
128 following commands as the <systemitem class="username">root</systemitem>
129 user:</para>
130
131<screen role="root"><userinput>if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &amp;&amp;
132if [ ! -f /etc/xml/catalog ]; then
133 xmlcatalog --noout --create /etc/xml/catalog
134fi &amp;&amp;
135
136xmlcatalog --noout --add "rewriteSystem" \
137 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
138 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
139 /etc/xml/catalog &amp;&amp;
140
141xmlcatalog --noout --add "rewriteURI" \
142 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
143 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
144 /etc/xml/catalog &amp;&amp;
145
146xmlcatalog --noout --add "rewriteSystem" \
147 "http://docbook.sourceforge.net/release/xsl/current" \
148 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
149 /etc/xml/catalog &amp;&amp;
150
151xmlcatalog --noout --add "rewriteURI" \
152 "http://docbook.sourceforge.net/release/xsl/current" \
153 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
154 /etc/xml/catalog</userinput></screen>
155
156 <para>Occasionally, you may find the need to install other versions of
157 the XSL stylesheets as some projects reference a specific version. One
158 example is BLFS-6.0, which needs the 1.67.2 version. In these instances
159 you should install any other required version in its own versioned
160 directory and create catalog entries as follows (substitute the desired
161 version number for <replaceable>&lt;version&gt;</replaceable>):</para>
162
163<screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \
164 "http://docbook.sourceforge.net/release/xsl/<replaceable>&lt;version&gt;</replaceable>" \
165 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>&lt;version&gt;</replaceable>" \
166 /etc/xml/catalog &amp;&amp;
167
168xmlcatalog --noout --add "rewriteURI" \
169 "http://docbook.sourceforge.net/release/xsl/<replaceable>&lt;version&gt;</replaceable>" \
170 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>&lt;version&gt;</replaceable>" \
171 /etc/xml/catalog</userinput></screen>
172
173<!-- Commented uot until be sure that there is no objetions from any of the
174 {C,H}LFS editors
175
176 <para>If you will be using the stylesheets from this installation to
177 render the LFS and HLFS SVN books, then you need to create a symbolic
178 link to the stylesheets directory so that the image files will be
179 found. Create the link by issuing the following command as the
180 <systemitem class="username">root</systemitem> user:</para>
181
182<screen role="root"><userinput>ln -v -sfn xsl-stylesheets-1.69.1 \
183 /usr/share/xml/docbook/xsl-stylesheets-current</userinput></screen>
184-->
185
186 </sect3>
187
188 </sect2>
189
190 <sect2 role="content">
191 <title>Contents</title>
192
193 <segmentedlist>
194 <segtitle>Installed Programs</segtitle>
195 <segtitle>Installed Libraries</segtitle>
196 <segtitle>Installed Files</segtitle>
197 <segtitle>Installed Directories</segtitle>
198
199 <seglistitem>
200 <seg>None</seg>
201 <seg>None</seg>
202 <seg>XSL style sheets for HTML and FO</seg>
203 <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
204 /usr/share/doc/docbook-xsl-&docbook-xsl-version;</seg>
205 </seglistitem>
206 </segmentedlist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.