- Timestamp:
- 05/16/2005 05:58:20 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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
- Children:
- 1210cce
- Parents:
- da314d82
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/xml/docbook-xsl.xml
rda314d82 rd8a437b8 1 <?xml version="1.0" encoding="ISO-8859-1"?> 1 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 2 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ … … 12 13 ]> 13 14 14 <sect1 id="docbook-xsl" 15 <sect1 id="docbook-xsl" 15 16 xreflabel="DocBook XSL Stylesheets-&docbook-xsl-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="docbook-xsl.html"?> 21 <title>DocBook XSL Stylesheets-&docbook-xsl-version;</title> 22 <indexterm zone="docbook-xsl"> 23 <primary sortas="a-DocBook-XSL-Stylesheets">DocBook XSL 24 Stylesheets</primary></indexterm> 25 26 <sect2> 27 <title>Introduction to <application>DocBook <acronym>XSL</acronym> 28 Stylesheets</application></title> 29 30 <para>The <application>DocBook <acronym>XSL</acronym> Stylesheets</application> 31 package contains <acronym>XSL</acronym> stylesheets. These are useful for 32 performing transformations on <acronym>XML</acronym> DocBook files.</para> 33 34 <sect3><title>Package information</title> 35 <itemizedlist spacing='compact'> 36 <listitem><para>Download (HTTP): <ulink 37 url="&docbook-xsl-download-http;"/></para></listitem> 38 <listitem><para>Download (FTP): <ulink 39 url="&docbook-xsl-download-ftp;"/></para></listitem> 40 <listitem><para>Download MD5 sum: &docbook-xsl-md5sum;</para></listitem> 41 <listitem><para>Download size: &docbook-xsl-size;</para></listitem> 42 <listitem><para>Estimated disk space required: 43 &docbook-xsl-buildsize;</para></listitem> 44 <listitem><para>Estimated build time: 45 &docbook-xsl-time;</para></listitem></itemizedlist> 46 </sect3> 47 48 <sect3><title><application>DocBook <acronym>XSL</acronym> 49 Stylesheets</application> dependencies</title> 50 <sect4><title>Required</title> 51 <para><xref linkend="libxslt"/></para> 52 </sect4> 53 </sect3> 54 55 </sect2> 56 57 <sect2> 58 <title>Installation of <application>DocBook <acronym>XSL</acronym> 59 Stylesheets</application></title> 60 61 <para>Install <application>DocBook <acronym>XSL</acronym> 62 Stylesheets</application> by running the following commands as the root 63 user:</para> 64 65 <screen><userinput role='root'><command>install -v -d -m755 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; && 17 <?dbhtml filename="docbook-xsl.html"?> 18 19 <sect1info> 20 <othername>$LastChangedBy$</othername> 21 <date>$Date$</date> 22 </sect1info> 23 24 <title>DocBook XSL Stylesheets-&docbook-xsl-version;</title> 25 26 <indexterm zone="docbook-xsl"> 27 <primary sortas="a-DocBook-XSL-Stylesheets">DocBook XSL 28 Stylesheets</primary> 29 </indexterm> 30 31 <sect2 role="package"> 32 <title>Introduction to DocBook XSL Stylesheets</title> 33 34 <para>The <application>DocBook XSL Stylesheets</application> 35 package contains XSL stylesheets. These are useful for 36 performing transformations on XML DocBook files.</para> 37 38 <bridgehead renderas="sect3">Package Information</bridgehead> 39 <itemizedlist spacing="compact"> 40 <listitem> 41 <para>Download (HTTP): <ulink url="&docbook-xsl-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&docbook-xsl-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &docbook-xsl-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &docbook-xsl-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &docbook-xsl-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &docbook-xsl-time;</para> 57 </listitem> 58 </itemizedlist> 59 60 <bridgehead renderas="sect3">DocBook XSL Stylesheets Dependencies</bridgehead> 61 62 <bridgehead renderas="sect4">Required</bridgehead> 63 <para><xref linkend="libxslt"/></para> 64 65 </sect2> 66 67 <sect2 role="installation"> 68 <title>Installation of DocBook XSL Stylesheets</title> 69 70 <para>Install <application>DocBook XSL Stylesheets</application> 71 by running the following commands as the <systemitem 72 class="username">root</systemitem> user:</para> 73 74 <screen role="root"><userinput>install -v -d -m755 /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; && 66 75 install -v -d -m755 /etc/xml && 67 76 chown -R root:root . && … … 72 81 cp -v -af doc/* /usr/share/doc/xml && 73 82 cd /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; && 74 sh INSTALL</command></userinput></screen> 75 76 <para>Create (or append to) and populate the <acronym>XML</acronym> catalog 77 files using the following commands as the root user:</para> 78 79 <screen><userinput role='root'><command>if [ ! -f /etc/xml/catalog ]; then 83 sh INSTALL</userinput></screen> 84 85 <para>Create (or append to) and populate the XML catalog files using the 86 following commands as the <systemitem class="username">root</systemitem> 87 user:</para> 88 89 <screen role="root"><userinput>if [ ! -f /etc/xml/catalog ]; then 80 90 xmlcatalog --noout --create /etc/xml/catalog 81 91 fi && … … 106 116 "http://docbook.sourceforge.net/release/xsl/" \ 107 117 "file:///etc/xml/docbook" \ 108 /etc/xml/catalog</command></userinput></screen> 109 110 </sect2> 111 112 <sect2> 113 <title>Command explanations</title> 114 115 <para><command>sh INSTALL</command>: This command creates a local 116 catalog for the <acronym>XSL</acronym> files.</para> 117 118 </sect2> 119 120 <sect2> 121 <title>Configuring <application>DocBook <acronym>XSL</acronym> 122 Stylesheets</application></title> 123 124 <sect3 id="docbook-xsl-config"><title>Config files</title> 125 <para><filename>/etc/xml/catalog</filename></para> 126 <indexterm zone="docbook-xsl docbook-xsl-config"><primary 127 sortas="e-etc-xml-catalog">/etc/xml/catalog</primary></indexterm> 128 </sect3> 129 130 <sect3><title>Configuration Information</title> 131 132 <para>The system profile needs to be updated to utilize the new 133 installed catalog. This can be done with the following command:</para> 134 135 <screen><userinput><command>cat > /etc/profile.d/xsl.sh << "EOF"</command> 136 # Set up Environment Variable for XSL Processing 118 /etc/xml/catalog</userinput></screen> 119 120 </sect2> 121 122 <sect2 role="commands"> 123 <title>Command Explanations</title> 124 125 <para><command>sh INSTALL</command>: This command creates a local 126 catalog for the XSL files.</para> 127 128 </sect2> 129 130 <sect2 role="configuration"> 131 <title>Configuring DocBook XSL Stylesheets</title> 132 133 <sect3 id="docbook-xsl-config"> 134 <title>Config Files</title> 135 136 <para><filename>/etc/xml/catalog</filename></para> 137 138 <indexterm zone="docbook-xsl docbook-xsl-config"> 139 <primary sortas="e-etc-xml-catalog">/etc/xml/catalog</primary> 140 </indexterm> 141 142 </sect3> 143 144 <sect3> 145 <title>Configuration Information</title> 146 147 <para>The system profile needs to be updated to utilize the new 148 installed catalog. This can be done with the following command:</para> 149 150 <screen role="root"><userinput>cat > /etc/profile.d/xsl.sh << "EOF" 151 <literal># Set up Environment Variable for XSL Processing 137 152 export XML_CATALOG_FILES="/usr/share/xml/docbook/\ 138 xsl-stylesheets-&docbook-xsl-version;/catalog.xml /etc/xml/catalog" 139 <command>EOF</command></userinput></screen> 140 141 <para>The above installation script creates the files and updates the 142 catalog with the current version of the <acronym>XML</acronym> stylesheets. 143 Some project stylesheets reference specific versions of 144 <acronym>XSL</acronym> stylesheets, like <acronym>BLFS</acronym>-6.0, which 145 needs the 1.67.2 version. The following commands can serve as an example for 146 using a single <acronym>XSL</acronym> version to support any hard coded 147 versions, as needed. Use the following as an example to use the current 148 version of the stylesheets for the 1.67.2 version. Edit or add to the 149 commands to suit your particular needs. Issue the commands as the root 150 user:</para> 151 152 <screen><userinput><command>xmlcatalog --noout --add "rewriteSystem" \ 153 xsl-stylesheets-&docbook-xsl-version;/catalog.xml /etc/xml/catalog"</literal> 154 EOF</userinput></screen> 155 156 <para>The above installation script creates the files and updates the 157 catalog with the current version of the XML stylesheets. Some project 158 stylesheets reference specific versions of XSL stylesheets, like BLFS-6.0, 159 which needs the 1.67.2 version. The following commands can serve as an 160 example for using a single XSL version to support any hard coded 161 versions, as needed. Use the following as an example to use the current 162 version of the stylesheets for the 1.67.2 version. Edit or add to the 163 commands to suit your particular needs. Issue the commands as the 164 <systemitem class="username">root</systemitem> user:</para> 165 166 <screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \ 153 167 "http://docbook.sourceforge.net/release/xsl/1.67.2" \ 154 168 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \ … … 157 171 "http://docbook.sourceforge.net/release/xsl/1.67.2" \ 158 172 "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \ 159 /etc/xml/catalog</ command></userinput></screen>160 161 <para>Alternatively, other versions can be installed in their own162 versioned directories and catalog entries made in the following163 form:</para>164 165 <screen ><userinput><command>xmlcatalog --noout --add "rewriteSystem" \173 /etc/xml/catalog</userinput></screen> 174 175 <para>Alternatively, other versions can be installed in their own 176 versioned directories and catalog entries made in the following 177 form:</para> 178 179 <screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \ 166 180 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \ 167 181 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \ … … 170 184 "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \ 171 185 "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \ 172 /etc/xml/catalog</ command></userinput></screen>173 174 <!-- 186 /etc/xml/catalog</userinput></screen> 187 188 <!-- 175 189 The following is very specific to LFS 6.0, the first sentence for 176 make and the remainder for 'make pdf', If it stays, it needs to be removed 190 make and the remainder for 'make pdf', If it stays, it needs to be removed 177 191 after BLFS 6.0 178 192 179 <para>For <acronym>LFS</acronym>6.0, version 1.65.1 of this package should be193 <para>For LFS 6.0, version 1.65.1 of this package should be 180 194 installed. In addition, you need to make a symbolic link as described in the 181 <filename>INSTALL</filename> file of <acronym>LFS</acronym>6.0.</para>195 <filename>INSTALL</filename> file of LFS 6.0.</para> 182 196 <screen><userinput><command>cd /usr/share/xml/docbook/ && 183 197 ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current</command></userinput></screen> 184 198 --> 185 </sect3> 186 187 </sect2> 188 189 <sect2> 190 <title>Contents</title>191 192 <segmentedlist> 193 <segtitle>Installed Programs</segtitle>194 <segtitle>Installed Libraries</segtitle>195 <segtitle>Installed Files</segtitle>196 <segtitle>Installed Directories</segtitle>197 198 <seglistitem> 199 <seg>None</seg>200 <seg>None</seg>201 <seg><acronym>XSL</acronym> style sheets for <acronym>HTML</acronym> and 202 <acronym>FO</acronym></seg>203 <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and204 /usr/share/doc/xml</seg>205 </seglistitem>206 </segmentedlist>207 208 </sect2>199 200 </sect3> 201 202 </sect2> 203 204 <sect2 role="content"> 205 <title>Contents</title> 206 207 <segmentedlist> 208 <segtitle>Installed Programs</segtitle> 209 <segtitle>Installed Libraries</segtitle> 210 <segtitle>Installed Files</segtitle> 211 <segtitle>Installed Directories</segtitle> 212 213 <seglistitem> 214 <seg>None</seg> 215 <seg>None</seg> 216 <seg>XSL style sheets for HTML and FO</seg> 217 <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and 218 /usr/share/doc/xml</seg> 219 </seglistitem> 220 </segmentedlist> 221 222 </sect2> 209 223 210 224 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.