Changeset 33c43b6 for pst


Ignore:
Timestamp:
09/10/2005 10:52:52 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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:
10bffdc8
Parents:
82436ed
Message:

Updated to DocBook XSL Stylesheets-1.69.1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/xml/docbook-xsl.xml

    r82436ed r33c43b6  
    77  <!ENTITY docbook-xsl-download-http "http://prdownloads.sourceforge.net/docbook/docbook-xsl-&docbook-xsl-version;.tar.bz2">
    88  <!ENTITY docbook-xsl-download-ftp  " ">
    9   <!ENTITY docbook-xsl-md5sum        "f4985efbc0f3411af8106928f8752fc5">
    10   <!ENTITY docbook-xsl-size          "967 KB">
    11   <!ENTITY docbook-xsl-buildsize     "26.4 MB">
    12   <!ENTITY docbook-xsl-time          "0.01 SBU">
     9  <!ENTITY docbook-xsl-md5sum        "6ebd29a67f2dcc3f2220f475ee6f6552">
     10  <!ENTITY docbook-xsl-size          "1.0 MB">
     11  <!ENTITY docbook-xsl-buildsize     "35.9 MB (includes installing optional documentation)">
     12  <!ENTITY docbook-xsl-time          "less than 0.1 SBU">
     13
     14  <!ENTITY docbook-xsl-doc-download  "http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-&docbook-xsl-version;.tar.bz2">
    1315]>
    1416
     
    5860    </itemizedlist>
    5961
     62    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     63    <itemizedlist spacing="compact">
     64      <listitem>
     65        <para>Optional documentation: <ulink
     66        url="&docbook-xsl-doc-download;"/></para>
     67      </listitem>
     68    </itemizedlist>
     69
    6070    <bridgehead renderas="sect3">DocBook XSL Stylesheets Dependencies</bridgehead>
    6171
    6272    <bridgehead renderas="sect4">Required</bridgehead>
    63     <para><xref linkend="libxslt"/></para>
     73    <para><xref linkend="libxml2"/></para>
    6474
    6575  </sect2>
     
    6878    <title>Installation of DocBook XSL Stylesheets</title>
    6979
     80    <para>If you downloaded the optional documentation tarball, unpack it
     81    when you unpack the source tarball. The documentation tarball unpacks into
     82    subdirectories of the source tree.</para>
     83
    7084    <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; &amp;&amp;
    75 install -v -d -m755 /etc/xml &amp;&amp;
    76 chown -R root:root . &amp;&amp;
    77 cp -v -af INSTALL VERSION common eclipse extensions fo html htmlhelp \
    78     images javahelp lib manpages params profiling template xhtml \
    79     /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
    80 install -v -d -m755 /usr/share/doc/xml &amp;&amp;
    81 cp -v -af doc/* /usr/share/doc/xml &amp;&amp;
    82 cd /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
    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
    90     xmlcatalog --noout --create /etc/xml/catalog
    91 fi &amp;&amp;
    92 if [ ! -f /etc/xml/docbook ]; then
    93     xmlcatalog --noout --create /etc/xml/docbook
    94 fi &amp;&amp;
    95 xmlcatalog --noout --add "rewriteSystem" \
    96     "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
    97     "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
    98     /etc/xml/catalog &amp;&amp;
    99 xmlcatalog --noout --add "rewriteURI" \
    100     "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
    101     "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
    102     /etc/xml/catalog &amp;&amp;
    103 xmlcatalog --noout --add "rewriteSystem" \
    104     "http://docbook.sourceforge.net/release/xsl/current" \
    105     "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
    106     /etc/xml/catalog &amp;&amp;
    107 xmlcatalog --noout --add "rewriteURI" \
    108     "http://docbook.sourceforge.net/release/xsl/current" \
    109     "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
    110     /etc/xml/catalog &amp;&amp;
    111 xmlcatalog --noout --add "delegateSystem" \
    112     "http://docbook.sourceforge.net/release/xsl/" \
    113     "file:///etc/xml/docbook" \
    114     /etc/xml/catalog &amp;&amp;
    115 xmlcatalog --noout --add "delegateURI" \
    116     "http://docbook.sourceforge.net/release/xsl/" \
    117     "file:///etc/xml/docbook" \
    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>
     85    by running the following commands as the
     86    <systemitem class="username">root</systemitem> user:</para>
     87
     88<screen role="root"><userinput>install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; &amp;&amp;
     89cp -v -R VERSION common eclipse extensions fo html \
     90         htmlhelp images javahelp lib manpages params \
     91         profiling slides template website xhtml \
     92    /usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;</userinput></screen>
     93
     94    <para>If you downloaded the optional documentation tarball, install the
     95    documentation by issuing the following commands as the
     96    <systemitem class="username">root</systemitem> user:</para>
     97
     98<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/docbook-xsl-&docbook-xsl-version; &amp;&amp;
     99cp -v -R doc/* /usr/share/doc/docbook-xsl-&docbook-xsl-version;</userinput></screen>
    127100
    128101  </sect2>
     
    145118      <title>Configuration Information</title>
    146119
    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>
     120      <para>Create (or append) and populate the XML catalog file using the
     121      following commands as the <systemitem class="username">root</systemitem>
     122      user:</para>
     123
     124<screen role="root"><userinput>if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &amp;&amp;
     125if [ ! -f /etc/xml/catalog ]; then
     126    xmlcatalog --noout --create /etc/xml/catalog
     127fi &amp;&amp;
     128
     129xmlcatalog --noout --add "rewriteSystem" \
     130    "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
     131    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     132    /etc/xml/catalog &amp;&amp;
     133xmlcatalog --noout --add "rewriteURI" \
     134    "http://docbook.sourceforge.net/release/xsl/&docbook-xsl-version;" \
     135    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     136    /etc/xml/catalog &amp;&amp;
     137xmlcatalog --noout --add "rewriteSystem" \
     138    "http://docbook.sourceforge.net/release/xsl/current" \
     139    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     140    /etc/xml/catalog &amp;&amp;
     141xmlcatalog --noout --add "rewriteURI" \
     142    "http://docbook.sourceforge.net/release/xsl/current" \
     143    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     144    /etc/xml/catalog</userinput></screen>
     145
     146      <para>If you will be using the stylesheets from this installation to
     147      render the LFS and HLFS SVN books, then you need to create a symbolic
     148      link to the stylesheets directory so that the image files will be
     149      found. Create the link by issuing the following command as the
     150      <systemitem class="username">root</systemitem> user:</para>
     151
     152<screen role="root"><userinput>ln -v -sf xsl-stylesheets-1.69.1 \
     153    /usr/share/xml/docbook/xsl-stylesheets-current</userinput></screen>
     154
     155<!-- The following removed as recommended by Manuel
     156
     157if [ ! -f /etc/xml/catalog ]; then
     158    xmlcatalog -\-noout -\-create /etc/xml/catalog
     159fi &amp;&amp;
     160
     161xmlcatalog -\-noout -\-add "delegateSystem" \
     162    "http://docbook.sourceforge.net/release/xsl/" \
     163    "file:///etc/xml/docbook" \
     164    /etc/xml/catalog &amp;&amp;
     165xmlcatalog -\-noout -\-add "delegateURI" \
     166    "http://docbook.sourceforge.net/release/xsl/" \
     167    "file:///etc/xml/docbook" \
     168    /etc/xml/catalog</userinput></screen>
     169
     170      <para>The system profile needs to be updated to utilize the new installed
     171      catalog. This can be done with the following command:<para>
    149172
    150173<screen role="root"><userinput>cat &gt; /etc/profile.d/xsl.sh &lt;&lt; "EOF"
     
    164187      <systemitem class="username">root</systemitem> user:</para>
    165188
    166 <screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \
     189<screen role="root"><userinput>xmlcatalog -\-noout -\-add "rewriteSystem" \
    167190    "http://docbook.sourceforge.net/release/xsl/1.67.2" \
    168191    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
    169192    /etc/xml/catalog &amp;&amp;
    170 xmlcatalog --noout --add "rewriteURI" \
     193xmlcatalog -\-noout -\-add "rewriteURI" \
    171194    "http://docbook.sourceforge.net/release/xsl/1.67.2" \
    172195    "/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version;" \
     
    177200      form:</para>
    178201
    179 <screen role="root"><userinput>xmlcatalog --noout --add "rewriteSystem" \
     202<screen role="root"><userinput>xmlcatalog -\-noout -\-add "rewriteSystem" \
    180203    "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
    181204    "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
    182205    /etc/xml/catalog &amp;&amp;
    183 xmlcatalog --noout --add "rewriteURI" \
     206xmlcatalog -\-noout -\-add "rewriteURI" \
    184207    "http://docbook.sourceforge.net/release/xsl/<replaceable>[version]</replaceable>" \
    185208    "/usr/share/xml/docbook/xsl-stylesheets-<replaceable>[version]</replaceable>" \
    186209    /etc/xml/catalog</userinput></screen>
    187210
    188 <!--
    189 The following is very specific to LFS 6.0, the first sentence for
    190 make and the remainder for 'make pdf', If it stays, it needs to be removed
    191 after BLFS 6.0
    192 
    193 <para>For LFS 6.0, version 1.65.1 of this package should be
    194 installed.  In addition, you need to make a symbolic link as described in the
    195 <filename>INSTALL</filename> file of LFS 6.0.</para>
    196 <screen><userinput><command>cd /usr/share/xml/docbook/ &amp;&amp;
    197 ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current</command></userinput></screen>
    198  -->
     211-->
    199212
    200213    </sect3>
     
    216229        <seg>XSL style sheets for HTML and FO</seg>
    217230        <seg>/usr/share/xml/docbook/xsl-stylesheets-&docbook-xsl-version; and
    218         /usr/share/doc/xml</seg>
     231        /usr/share/doc/docbook-xsl-&docbook-xsl-version;</seg>
    219232      </seglistitem>
    220233    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.