source: pst/xml/docbook-xsl.xml@ 0cd6d67

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.0 6.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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0cd6d67 was 0cd6d67, checked in by Randy McMurchy <randy@…>, 20 years ago

Modified configuration file index sorting tags in various packages so that the index is sorted properly

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

  • Property mode set to 100644
File size: 6.9 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY docbook-xsl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-xsl-&docbook-xsl-version;.tar.bz2">
7 <!ENTITY docbook-xsl-download-ftp " ">
8 <!ENTITY docbook-xsl-size "975 KB">
9 <!ENTITY docbook-xsl-buildsize "25 MB">
10 <!ENTITY docbook-xsl-time "0.01 SBU">
11]>
12
13<sect1 id="docbook-xsl" xreflabel="DocBook XSL Stylesheets-&docbook-xsl-version;">
14<sect1info>
15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
17</sect1info>
18<?dbhtml filename="docbook-xsl.html"?>
19<title>DocBook XSL Stylesheets-&docbook-xsl-version;</title>
20
21<sect2>
22<title>Introduction to <application>DocBook <acronym>XSL</acronym>
23Stylesheets</application></title>
24
25<para>The <application>DocBook <acronym>XSL</acronym> Stylesheets</application>
26package contains <acronym>XSL</acronym> stylesheets. These are useful for
27performing transformations on <acronym>XML</acronym> DocBook files.</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink
32url="&docbook-xsl-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink
34url="&docbook-xsl-download-ftp;"/></para></listitem>
35<listitem><para>Download size: &docbook-xsl-size;</para></listitem>
36<listitem><para>Estimated disk space required:
37&docbook-xsl-buildsize;</para></listitem>
38<listitem><para>Estimated build time:
39&docbook-xsl-time;</para></listitem></itemizedlist>
40</sect3>
41
42<sect3><title><application>DocBook <acronym>XSL</acronym>
43Stylesheets</application> dependencies</title>
44<sect4><title>Required</title>
45<para><xref linkend="libxslt"/></para>
46</sect4>
47</sect3>
48
49</sect2>
50
51<sect2>
52<title>Installation of <application>DocBook <acronym>XSL</acronym>
53Stylesheets</application></title>
54
55<para>Install <application>DocBook <acronym>XSL</acronym>
56Stylesheets</application> by running the following commands:</para>
57
58<screen><userinput><command>install -d /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
59chown -R root:root . &amp;&amp;
60cp -af INSTALL VERSION common eclipse extensions fo html htmlhelp images \
61 javahelp lib manpages params profiling template xhtml \
62 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
63install -d /usr/share/doc/xml &amp;&amp;
64cp -af doc/* /usr/share/doc/xml &amp;&amp;
65cd /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
66sh INSTALL &amp;&amp;
67if [ ! -f /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog --noout \
68 --create /etc/xml/catalog; fi &amp;&amp;
69if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \
70 /etc/xml/docbook; fi &amp;&amp;
71xmlcatalog --noout --add "rewriteSystem" \
72 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
73 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" /etc/xml/catalog &amp;&amp;
74xmlcatalog --noout --add "rewriteURI" \
75 "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
76 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" /etc/xml/catalog &amp;&amp;
77xmlcatalog --noout --add "delegateSystem" \
78 "http://docbook.sourceforge.net/release/xsl/" \
79 "file:///etc/xml/docbook" /etc/xml/catalog &amp;&amp;
80xmlcatalog --noout --add "delegateURI" \
81 "http://docbook.sourceforge.net/release/xsl/" \
82 "file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
83
84</sect2>
85
86<sect2>
87<title>Command explanations</title>
88
89<para><command>sh INSTALL</command>: This command creates a local
90catalog for the <acronym>XSL</acronym> files.</para>
91
92</sect2>
93
94
95<sect2>
96<title>Configuring <application>DocBook <acronym>XSL</acronym>
97Stylesheets</application></title>
98
99<sect3 id="docbook-xsl-config"><title>Config files</title>
100<para><filename>/etc/xml/catalog</filename></para>
101<indexterm zone="docbook-xsl docbook-xsl-config"><primary
102sortas="e-etc-xml-catalog-docbook-xsl">/etc/xml/catalog</primary></indexterm>
103</sect3>
104
105<sect3><title>Configuration Information</title>
106
107<para>The system profile needs to be updated to utilize the new
108installed catalog. This can be done with the following command:</para>
109
110<screen><userinput><command>cat &gt; /etc/profile.d/xsl.sh &lt;&lt; "EOF"</command>
111# Set up Environment Variable for XSL Processing
112export XML_CATALOG_FILES="/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;/catalog.xml /etc/xml/catalog"
113<command>EOF</command></userinput></screen>
114
115<para>The above installation script creates the files and updates the
116catalog. Some project stylesheets reference specific versions of
117<acronym>XSL</acronym> stylesheets, like <acronym>BLFS</acronym>, which
118needs the following additional commands. These commands can also serve
119as an example for using a single <acronym>XSL</acronym> version to support
120any hard coded versions, as needed.</para>
121<screen><userinput><command>xmlcatalog --noout --add "rewriteSystem" \
122 "http://docbook.sourceforge.net/release/xsl/1.65.1" \
123 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
124 /etc/xml/catalog &amp;&amp;
125xmlcatalog --noout --add "rewriteURI" \
126 "http://docbook.sourceforge.net/release/xsl/1.65.1" \
127 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
128 /etc/xml/catalog</command></userinput></screen>
129<para>Alternatively, other versions can be installed in their own
130versioned directories and catalog entries made in the following
131form:</para>
132<screen><userinput><command>xmlcatalog --noout --add "rewriteSystem" \
133 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
134 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
135 /etc/xml/catalog &amp;&amp;
136xmlcatalog --noout --add "rewriteURI" \
137 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
138 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
139 /etc/xml/catalog</command></userinput></screen>
140<!-- The following is very specific to LFS 6.0, the first sentence for
141make and the remainder for 'make pdf', If it stays, it needs to be removed
142after BLFS 6.0-->
143<para>For <acronym>LFS</acronym> 6.0, version 1.65.1 of this package should be
144installed. In addition, you need to make a symbolic link as described in the
145<filename>INSTALL</filename> file of <acronym>LFS</acronym> 6.0.</para>
146<screen><userinput><command>cd /usr/share/xml/docbook/ &amp;&amp;
147ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current</command></userinput></screen>
148
149</sect3>
150
151</sect2>
152
153<sect2>
154<title>Contents</title>
155<segmentedlist>
156<segtitle>Installed Files</segtitle>
157<segtitle>Installed Directories</segtitle>
158<seglistitem><seg><acronym>XSL</acronym>
159style sheets for <acronym>HTML</acronym> and <acronym>FO</acronym>.</seg>
160<seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
161/usr/share/doc/xml</seg>
162</seglistitem>
163</segmentedlist>
164
165</sect2>
166
167</sect1>
Note: See TracBrowser for help on using the repository browser.