source: pst/xml/docbook-xsl.xml@ 60ddbaf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 60ddbaf was 60ddbaf, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Remove ninja, libffi, and python3 as dependencies
for many packages as they are now a part of LFS.

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

  • Property mode set to 100644
File size: 9.3 KB
RevLine 
[d8a437b8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[44b376e7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[dc477899]6
[8dfc5c3]7 <!ENTITY docbook-xsl-download-http "&sourceforge-dl;/docbook/docbook-xsl-&docbook-xsl-version;.tar.bz2">
[a750d96f]8 <!ENTITY docbook-xsl-download-ftp " ">
[2322dfa1]9 <!ENTITY docbook-xsl-md5sum "b48cbf929a2ad85e6672f710777ca7bc">
10 <!ENTITY docbook-xsl-size "21 MB">
[019052a1]11 <!ENTITY docbook-xsl-buildsize "49 MB (includes installing optional documentation)">
[33c43b6]12 <!ENTITY docbook-xsl-time "less than 0.1 SBU">
13
[8dfc5c3]14 <!ENTITY docbook-xsl-doc-download "&sourceforge-dl;/docbook/docbook-xsl-doc-&docbook-xsl-version;.tar.bz2">
[2322dfa1]15 <!ENTITY docbook-xsl-doc-md5sum "7eb51958e1bf97f3c5b013c42eb61e31">
[019052a1]16 <!ENTITY docbook-xsl-doc-size "1.0 MB">
[44b376e7]17]>
18
[d8a437b8]19<sect1 id="docbook-xsl"
[a027d7d3]20xreflabel="docbook-xsl-&docbook-xsl-version;">
[d8a437b8]21 <?dbhtml filename="docbook-xsl.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
[a027d7d3]28 <title>docbook-xsl-&docbook-xsl-version;</title>
[d8a437b8]29
30 <indexterm zone="docbook-xsl">
31 <primary sortas="a-DocBook-XSL-Stylesheets">DocBook XSL
32 Stylesheets</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to DocBook XSL Stylesheets</title>
37
38 <para>The <application>DocBook XSL Stylesheets</application>
39 package contains XSL stylesheets. These are useful for
40 performing transformations on XML DocBook files.</para>
41
[4bf60a36]42 &lfs81_checked;
[226e336]43
[d8a437b8]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
[33c43b6]66 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
67 <itemizedlist spacing="compact">
[443e7e80]68 <title>Optional documentation</title>
[33c43b6]69 <listitem>
[443e7e80]70 <para>Download (HTTP): <ulink url="&docbook-xsl-doc-download;"/></para>
[33c43b6]71 </listitem>
[9deda8e]72 <listitem>
73 <para>Download MD5 sum: &docbook-xsl-doc-md5sum;</para>
74 </listitem>
75 <listitem>
76 <para>Download size: &docbook-xsl-doc-size;</para>
77 </listitem>
[33c43b6]78 </itemizedlist>
79
[d8a437b8]80 <bridgehead renderas="sect3">DocBook XSL Stylesheets Dependencies</bridgehead>
81
[2322dfa1]82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended"><xref linkend="libxml2"/></para>
[d8a437b8]84
[94d4436]85 <bridgehead renderas="sect4">Optional</bridgehead>
[2322dfa1]86 <para role="optional">
87 <xref linkend="apache-ant"/> (to produce <quote>webhelp</quote> documents),
88 <xref linkend="libxslt"/> (or any other XSLT processor, to process
89 Docbook documents),
[60ddbaf]90 <xref linkend="python2"/>,
[2322dfa1]91 <xref linkend="ruby"/> (to utilize the <quote>epub</quote> stylesheets),
92 <xref linkend="zip"/> (to produce <quote>epub3</quote> documents), and
93 <ulink url="http://sourceforge.net/projects/saxon/files/saxon6/">
94 Saxon6
95 </ulink> and
96 <ulink url="http://xerces.apache.org/xerces2-j/">Xerces2 Java</ulink>
97 (used with <xref linkend="apache-ant"/> to produce <quote>webhelp</quote>
98 documents)
99 </para>
[94d4436]100
[977061b0]101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/docbook-xsl"/></para>
103
[d8a437b8]104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of DocBook XSL Stylesheets</title>
108
[33c43b6]109 <para>If you downloaded the optional documentation tarball, unpack it
[443e7e80]110 with the following command:</para>
111
[571735d7]112<screen><userinput>tar -xf ../docbook-xsl-doc-&docbook-xsl-version;.tar.bz2 --strip-components=1</userinput></screen>
[9deda8e]113
114 <para>BLFS does not install the required packages to run the test suite
115 and provide meaningful results.</para>
[33c43b6]116
[d8a437b8]117 <para>Install <application>DocBook XSL Stylesheets</application>
[33c43b6]118 by running the following commands as the
119 <systemitem class="username">root</systemitem> user:</para>
120
121<screen role="root"><userinput>install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
[9deda8e]122
[2322dfa1]123cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \
124 highlighting html htmlhelp images javahelp lib manpages params \
125 profiling roundtrip slides template tests tools webhelp website \
126 xhtml xhtml-1_1 xhtml5 \
[9deda8e]127 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
128
[27f56e2]129ln -s VERSION /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;/VERSION.xsl &amp;&amp;
130
[9deda8e]131install -v -m644 -D README \
[f533b0d]132 /usr/share/doc/docbook-xsl-&docbook-xsl-version;/README.txt &amp;&amp;
[d92b93c]133install -v -m644 RELEASE-NOTES* NEWS* \
[f952748]134 /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
[33c43b6]135
136 <para>If you downloaded the optional documentation tarball, install the
[9deda8e]137 documentation by issuing the following command as the
[33c43b6]138 <systemitem class="username">root</systemitem> user:</para>
139
[9deda8e]140<screen role="root"><userinput>cp -v -R doc/* /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
[33c43b6]141
142 </sect2>
143
144 <sect2 role="configuration">
145 <title>Configuring DocBook XSL Stylesheets</title>
146
147 <sect3 id="docbook-xsl-config">
148 <title>Config Files</title>
149
150 <para><filename>/etc/xml/catalog</filename></para>
151
152 <indexterm zone="docbook-xsl docbook-xsl-config">
153 <primary sortas="e-etc-xml-catalog">/etc/xml/catalog</primary>
154 </indexterm>
155
156 </sect3>
157
158 <sect3>
159 <title>Configuration Information</title>
160
161 <para>Create (or append) and populate the XML catalog file using the
162 following commands as the <systemitem class="username">root</systemitem>
163 user:</para>
164
165<screen role="root"><userinput>if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &amp;&amp;
166if [ ! -f /etc/xml/catalog ]; then
[b4b813f]167 xmlcatalog --noout --create /etc/xml/catalog
168fi &amp;&amp;
[33c43b6]169
[44b376e7]170xmlcatalog --noout --add "rewriteSystem" \
[2f5888f]171 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
172 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
[b4b813f]173 /etc/xml/catalog &amp;&amp;
[2f5888f]174
[44b376e7]175xmlcatalog --noout --add "rewriteURI" \
[2f5888f]176 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
177 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
[b4b813f]178 /etc/xml/catalog &amp;&amp;
[2f5888f]179
[b4b813f]180xmlcatalog --noout --add "rewriteSystem" \
[2f5888f]181 "http://docbook.sourceforge.net/release/xsl/current" \
182 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
[b4b813f]183 /etc/xml/catalog &amp;&amp;
[2f5888f]184
[b4b813f]185xmlcatalog --noout --add "rewriteURI" \
[2f5888f]186 "http://docbook.sourceforge.net/release/xsl/current" \
187 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
188 /etc/xml/catalog</userinput></screen>
189
190 <para>Occasionally, you may find the need to install other versions of
191 the XSL stylesheets as some projects reference a specific version. One
[9deda8e]192 example is BLFS-6.0, which required the 1.67.2 version. In these instances
[2f5888f]193 you should install any other required version in its own versioned
194 directory and create catalog entries as follows (substitute the desired
[977061b0]195 version number for <replaceable>&lt;version&gt;</replaceable>):</para>
[2f5888f]196
197<screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \
[977061b0]198 "http://docbook.sourceforge.net/release/xsl/<replaceable>&lt;version&gt;</replaceable>" \
199 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>&lt;version&gt;</replaceable>" \
[2f5888f]200 /etc/xml/catalog &amp;&amp;
201
202xmlcatalog --noout --add "rewriteURI" \
[977061b0]203 "http://docbook.sourceforge.net/release/xsl/<replaceable>&lt;version&gt;</replaceable>" \
204 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>&lt;version&gt;</replaceable>" \
[d8a437b8]205 /etc/xml/catalog</userinput></screen>
[44b376e7]206
[fcfda3f]207<!-- Commented uot until be sure that there is no objetions from any of the
208 {C,H}LFS editors
209
[33c43b6]210 <para>If you will be using the stylesheets from this installation to
211 render the LFS and HLFS SVN books, then you need to create a symbolic
212 link to the stylesheets directory so that the image files will be
213 found. Create the link by issuing the following command as the
214 <systemitem class="username">root</systemitem> user:</para>
[44b376e7]215
[aba0aec]216<screen role="root"><userinput>ln -v -sfn xsl-stylesheets-1.69.1 \
[33c43b6]217 /usr/share/xml/docbook/xsl-stylesheets-current</userinput></screen>
218-->
[d8a437b8]219
220 </sect3>
221
222 </sect2>
223
224 <sect2 role="content">
225 <title>Contents</title>
226
227 <segmentedlist>
228 <segtitle>Installed Programs</segtitle>
229 <segtitle>Installed Libraries</segtitle>
230 <segtitle>Installed Directories</segtitle>
231
232 <seglistitem>
233 <seg>None</seg>
234 <seg>None</seg>
235 <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
[33c43b6]236 /usr/share/doc/docbook-xsl-&docbook-xsl-version;</seg>
[d8a437b8]237 </seglistitem>
238 </segmentedlist>
239
240 </sect2>
[59bc4e1]241
242</sect1>
Note: See TracBrowser for help on using the repository browser.