source: pst/xml/docbook-xsl.xml@ 443e7e80

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 443e7e80 was 443e7e80, checked in by Wayne Blaszczyk <wblaszcz@…>, 15 years ago

Fixed cp command issue, and other stuff with docbook-xsl

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

  • Property mode set to 100644
File size: 8.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY docbook-xsl-download-http "&sourceforge-repo;/docbook/docbook-xsl-&docbook-xsl-version;.tar.bz2">
8 <!ENTITY docbook-xsl-download-ftp " ">
9 <!ENTITY docbook-xsl-md5sum "0c76a58a8e6cb5ab49f819e79917308f">
10 <!ENTITY docbook-xsl-size "1.5 MB">
11 <!ENTITY docbook-xsl-buildsize "50 MB (includes installing optional documentation)">
12 <!ENTITY docbook-xsl-time "less than 0.1 SBU">
13
14 <!ENTITY docbook-xsl-doc-download "&sourceforge-repo;/docbook/docbook-xsl-doc-&docbook-xsl-version;.tar.bz2">
15 <!ENTITY docbook-xsl-doc-md5sum "0a59c4c1796683fca32881c221df0b16">
16 <!ENTITY docbook-xsl-doc-size "1.4 MB">
17]>
18
19<sect1 id="docbook-xsl"
20xreflabel="DocBook XSL Stylesheets-&docbook-xsl-version;">
21 <?dbhtml filename="docbook-xsl.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>DocBook XSL Stylesheets-&docbook-xsl-version;</title>
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
42 &lfs65_checked;
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 <title>Optional documentation</title>
69 <listitem>
70 <para>Download (HTTP): <ulink url="&docbook-xsl-doc-download;"/></para>
71 </listitem>
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>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">DocBook XSL Stylesheets Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required"><xref linkend="libxml2"/></para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/docbook-xsl"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of DocBook XSL Stylesheets</title>
92
93 <para>If you downloaded the optional documentation tarball, unpack it
94 with the following command:</para>
95
96<screen><userinput>tar xf ../docbook-xsl-doc-&docbook-xsl-version;.tar.bz2 -C ..</userinput></screen>
97
98 <para>BLFS does not install the required packages to run the test suite
99 and provide meaningful results.</para>
100
101 <para>Install <application>DocBook XSL Stylesheets</application>
102 by running 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/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
106
107cp -v -R VERSION common eclipse extensions fo highlighting html \
108 htmlhelp images javahelp lib manpages params profiling \
109 slides template tools website xhtml \
110 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
111
112install -v -m644 -D README \
113 /usr/share/doc/docbook-xsl-&docbook-xsl-version;/README.XSL &amp;&amp;
114install -v -m755 RELEASE-NOTES* NEWS* \
115 /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
116
117 <para>If you downloaded the optional documentation tarball, install the
118 documentation by issuing the following command as the
119 <systemitem class="username">root</systemitem> user:</para>
120
121<screen role="root"><userinput>cp -v -R doc/* /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="configuration">
126 <title>Configuring DocBook XSL Stylesheets</title>
127
128 <sect3 id="docbook-xsl-config">
129 <title>Config Files</title>
130
131 <para><filename>/etc/xml/catalog</filename></para>
132
133 <indexterm zone="docbook-xsl docbook-xsl-config">
134 <primary sortas="e-etc-xml-catalog">/etc/xml/catalog</primary>
135 </indexterm>
136
137 </sect3>
138
139 <sect3>
140 <title>Configuration Information</title>
141
142 <para>Create (or append) and populate the XML catalog file using the
143 following commands as the <systemitem class="username">root</systemitem>
144 user:</para>
145
146<screen role="root"><userinput>if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &amp;&amp;
147if [ ! -f /etc/xml/catalog ]; then
148 xmlcatalog --noout --create /etc/xml/catalog
149fi &amp;&amp;
150
151xmlcatalog --noout --add "rewriteSystem" \
152 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
153 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
154 /etc/xml/catalog &amp;&amp;
155
156xmlcatalog --noout --add "rewriteURI" \
157 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
158 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
159 /etc/xml/catalog &amp;&amp;
160
161xmlcatalog --noout --add "rewriteSystem" \
162 "http://docbook.sourceforge.net/release/xsl/current" \
163 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
164 /etc/xml/catalog &amp;&amp;
165
166xmlcatalog --noout --add "rewriteURI" \
167 "http://docbook.sourceforge.net/release/xsl/current" \
168 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
169 /etc/xml/catalog</userinput></screen>
170
171 <para>Occasionally, you may find the need to install other versions of
172 the XSL stylesheets as some projects reference a specific version. One
173 example is BLFS-6.0, which required the 1.67.2 version. In these instances
174 you should install any other required version in its own versioned
175 directory and create catalog entries as follows (substitute the desired
176 version number for <replaceable>&lt;version&gt;</replaceable>):</para>
177
178<screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \
179 "http://docbook.sourceforge.net/release/xsl/<replaceable>&lt;version&gt;</replaceable>" \
180 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>&lt;version&gt;</replaceable>" \
181 /etc/xml/catalog &amp;&amp;
182
183xmlcatalog --noout --add "rewriteURI" \
184 "http://docbook.sourceforge.net/release/xsl/<replaceable>&lt;version&gt;</replaceable>" \
185 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>&lt;version&gt;</replaceable>" \
186 /etc/xml/catalog</userinput></screen>
187
188<!-- Commented uot until be sure that there is no objetions from any of the
189 {C,H}LFS editors
190
191 <para>If you will be using the stylesheets from this installation to
192 render the LFS and HLFS SVN books, then you need to create a symbolic
193 link to the stylesheets directory so that the image files will be
194 found. Create the link by issuing the following command as the
195 <systemitem class="username">root</systemitem> user:</para>
196
197<screen role="root"><userinput>ln -v -sfn xsl-stylesheets-1.69.1 \
198 /usr/share/xml/docbook/xsl-stylesheets-current</userinput></screen>
199-->
200
201 </sect3>
202
203 </sect2>
204
205 <sect2 role="content">
206 <title>Contents</title>
207
208 <segmentedlist>
209 <segtitle>Installed Programs</segtitle>
210 <segtitle>Installed Libraries</segtitle>
211 <segtitle>Installed Files</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>None</seg>
216 <seg>None</seg>
217 <seg>XSL style sheets for HTML and FO</seg>
218 <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
219 /usr/share/doc/docbook-xsl-&docbook-xsl-version;</seg>
220 </seglistitem>
221 </segmentedlist>
222
223 </sect2>
224
225</sect1>
Note: See TracBrowser for help on using the repository browser.