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