source: pst/xml/docbook-xsl.xml@ 6732c094

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 6732c094 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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