Changeset 40d2307
- Timestamp:
- 05/16/2005 03:22:47 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:
- 5bae145
- Parents:
- 60268ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/sgml/docbook-dsssl.xml
r60268ba r40d2307 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" [ … … 16 17 ]> 17 18 18 <sect1 id="docbook-dsssl" 19 <sect1 id="docbook-dsssl" 19 20 xreflabel="DocBook DSSSL Stylesheets-&docbook-dsssl-version;"> 20 <sect1info> 21 <othername>$LastChangedBy$</othername> 22 <date>$Date$</date> 23 </sect1info> 24 <?dbhtml filename="docbook-dsssl.html"?> 25 <title>DocBook DSSSL Stylesheets-&docbook-dsssl-version;</title> 26 <indexterm zone="docbook-dsssl"> 27 <primary sortas="a-DocBook-DSSSL-Stylesheets">DocBook DSSSL 28 Stylesheets</primary></indexterm> 29 30 <sect2> 31 <title>Introduction to <application>DocBook <acronym>DSSSL</acronym> 32 Stylesheets</application></title> 33 34 <para>The <application>DocBook <acronym>DSSSL</acronym> 35 Stylesheets</application> package contains <acronym>DSSSL</acronym> 36 stylesheets. These are used by <application>OpenJade</application> or other 37 tools to transform <acronym>SGML</acronym> and <acronym>XML</acronym> DocBook 38 files.</para> 39 40 <sect3><title>Package information</title> 41 <itemizedlist spacing='compact'> 42 <listitem><para>Download (HTTP): 43 <ulink url="&docbook-dsssl-download-http;"/></para></listitem> 44 <listitem><para>Download (FTP): 45 <ulink url="&docbook-dsssl-download-ftp;"/></para></listitem> 46 <listitem><para>Download MD5 sum: &docbook-dsssl-md5sum;</para></listitem> 47 <listitem><para>Download size: &docbook-dsssl-size;</para></listitem> 48 <listitem><para>Estimated disk space required: 49 &docbook-dsssl-buildsize;</para></listitem> 50 <listitem><para>Estimated build time: 51 &docbook-dsssl-time;</para></listitem></itemizedlist> 52 </sect3> 53 54 <sect3><title>Additional downloads</title> 55 <itemizedlist spacing='compact'> 56 <listitem><para>Documentation and test data: 57 <ulink url="&docbook-dsssl-doc-download-http;"/></para></listitem> 58 <listitem><para>Download MD5 sum: &docbook-dsssl-doc-md5sum;</para></listitem> 59 <listitem><para>Download size: &docbook-dsssl-doc-size;</para></listitem> 60 </itemizedlist> 61 </sect3> 62 63 <sect3><title><application>DocBook <acronym>DSSSL</acronym> 64 Stylesheets</application> dependencies</title> 65 <sect4><title>Required</title> 66 <para><xref linkend="sgml-common"/></para> 67 </sect4> 68 69 <sect4><title>Required (to test the DocBook <acronym>SGML</acronym> 70 toolchain)</title> 71 <para><xref linkend="sgml-dtd"/>, 72 <xref linkend="opensp"/> and 73 <xref linkend="openjade"/></para> 74 </sect4> 75 </sect3> 76 77 </sect2> 78 79 <sect2> 80 <title>Installation of <application>DocBook <acronym>DSSSL</acronym> 81 Stylesheets</application></title> 82 83 <para>Ensure you unpack both the source and documentation tarballs before 84 beginning the build.</para> 85 86 <para>Install <application>DocBook <acronym>DSSSL</acronym> 87 Stylesheets</application> by running the following commands as the root 88 user:</para> 89 90 <!-- 91 <screen><userinput><command>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls && 21 <?dbhtml filename="docbook-dsssl.html"?> 22 23 <sect1info> 24 <othername>$LastChangedBy$</othername> 25 <date>$Date$</date> 26 </sect1info> 27 28 <title>DocBook DSSSL Stylesheets-&docbook-dsssl-version;</title> 29 30 <indexterm zone="docbook-dsssl"> 31 <primary sortas="a-DocBook-DSSSL-Stylesheets">DocBook DSSSL 32 Stylesheets</primary> 33 </indexterm> 34 35 <sect2 role="package"> 36 <title>Introduction to DocBook DSSSL Stylesheets</title> 37 38 <para>The <application>DocBook DSSSL Stylesheets</application> package 39 contains DSSSL stylesheets. These are used by 40 <application>OpenJade</application> or other tools to transform SGML 41 and XML DocBook files.</para> 42 43 <bridgehead renderas="sect3">Package Information</bridgehead> 44 <itemizedlist spacing="compact"> 45 <listitem> 46 <para>Download (HTTP): <ulink url="&docbook-dsssl-download-http;"/></para> 47 </listitem> 48 <listitem> 49 <para>Download (FTP): <ulink url="&docbook-dsssl-download-ftp;"/></para> 50 </listitem> 51 <listitem> 52 <para>Download MD5 sum: &docbook-dsssl-md5sum;</para> 53 </listitem> 54 <listitem> 55 <para>Download size: &docbook-dsssl-size;</para> 56 </listitem> 57 <listitem> 58 <para>Estimated disk space required: &docbook-dsssl-buildsize;</para> 59 </listitem> 60 <listitem> 61 <para>Estimated build time: &docbook-dsssl-time;</para> 62 </listitem> 63 </itemizedlist> 64 65 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 66 <itemizedlist spacing='compact'> 67 <listitem> 68 <para>Documentation and test data: 69 <ulink url="&docbook-dsssl-doc-download-http;"/></para></listitem> 70 <listitem> 71 <para>Download MD5 sum: &docbook-dsssl-doc-md5sum;</para> 72 </listitem> 73 <listitem> 74 <para>Download size: &docbook-dsssl-doc-size;</para> 75 </listitem> 76 </itemizedlist> 77 78 <bridgehead renderas="sect3">DocBook DSSSL Stylesheets 79 Dependencies</bridgehead> 80 81 <bridgehead renderas="sect4">Required</bridgehead> 82 <para><xref linkend="sgml-common"/></para> 83 84 <bridgehead renderas="sect4">Required (to Test the DocBook SGML 85 Toolchain)</bridgehead> 86 <para><xref linkend="sgml-dtd"/>, 87 <xref linkend="opensp"/> and 88 <xref linkend="openjade"/></para> 89 90 </sect2> 91 92 <sect2 role="installation"> 93 <title>Installation of DocBook DSSSL Stylesheets</title> 94 95 <para>Ensure you unpack both the source and documentation tarballs before 96 beginning the build.</para> 97 98 <para>Install <application>DocBook DSSSL Stylesheets</application> by running 99 the following commands as the <systemitem class="username">root</systemitem> 100 user:</para> 101 102 <!-- 103 <screen><userinput>mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/dtds/decls && 92 104 mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/lib && 93 105 mkdir -p /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common && … … 108 120 --> 109 121 110 <screen ><userinput role='root'><command>install -v -m755 bin/collateindex.pl /usr/bin &&122 <screen role="root"><userinput>install -v -m755 bin/collateindex.pl /usr/bin && 111 123 install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 && 112 124 install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; && … … 117 129 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog && 118 130 install-catalog --add /etc/sgml/sgml-docbook.cat \ 119 /etc/sgml/dsssl-docbook-stylesheets.cat</ command></userinput></screen>120 121 </sect2>122 123 <sect2>124 <title>Command explanations</title>125 126 <para>The above commands create a <command>make install</command> script127 for this package.</para>128 129 </sect2>130 131 <sect2>132 <title>Testing the DocBook <acronym>SGML</acronym> toolchain (optional)</title>133 134 <para>The following commands will perform the necessary tests to confirm that 135 your installed DocBook <acronym>SGML</acronym> toolchain will produce desired 136 results. You must have the <xref linkend="sgml-dtd"/>, <xref linkend="opensp"/> 137 and <xref linkend="openjade"/> packages installed and perform the tests as the 138 rootuser.</para>139 140 <para>All tests will be performed from the <filename 141 class='directory'>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</filename> 142 directory:</para>143 144 <screen ><userinput role='root'><command>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</command></userinput></screen>145 146 <para>The first test should produce no output to stdout (your screen) and 147 create a file named <filename>jtest.rtf</filename> in the current 148 directory:</para>149 150 <screen ><userinput role='root'><command>openjade -t rtf -d jtest.dsl jtest.sgm</command></userinput></screen>151 152 <para>The next test should return only the following line to stdout: 153 <computeroutput>onsgmls:I: "OpenSP" version "1.5.1"</computeroutput></para>154 155 <screen ><userinput role='root'><command>onsgmls -sv test.sgm</command></userinput></screen>156 157 <para>The next test should produce no output to stdout and create a file named 158 <filename>test.rtf</filename> in the current directory:</para>159 160 <screen ><userinput role='root'><command>openjade -t rtf \131 /etc/sgml/dsssl-docbook-stylesheets.cat</userinput></screen> 132 133 </sect2> 134 135 <sect2 role="commands"> 136 <title>Command Explanations</title> 137 138 <para>The above commands create a <command>make install</command> script 139 for this package.</para> 140 141 </sect2> 142 143 <sect2 role="installation"> 144 <title>Testing the DocBook SGML Toolchain (Optional)</title> 145 146 <para>The following commands will perform the necessary tests to confirm 147 that your installed DocBook SGML toolchain will produce desired results. 148 You must have the <xref linkend="sgml-dtd"/>, <xref linkend="opensp"/> 149 and <xref linkend="openjade"/> packages installed and perform the tests 150 as the <systemitem class="username">root</systemitem> user.</para> 151 152 <para>All tests will be performed from the <filename 153 class='directory'>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</filename> 154 directory:</para> 155 156 <screen role="root"><userinput>cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata</userinput></screen> 157 158 <para>The first test should produce no output to stdout (your screen) and 159 create a file named <filename>jtest.rtf</filename> in the current 160 directory:</para> 161 162 <screen role="root"><userinput>openjade -t rtf -d jtest.dsl jtest.sgm</userinput></screen> 163 164 <para>The next test should return only the following line to stdout: 165 <computeroutput>onsgmls:I: "OpenSP" version "1.5.1"</computeroutput></para> 166 167 <screen role="root"><userinput>onsgmls -sv test.sgm</userinput></screen> 168 169 <para>The next test should produce no output to stdout and create a file 170 named <filename>test.rtf</filename> in the current directory:</para> 171 172 <screen role="root"><userinput>openjade -t rtf \ 161 173 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \ 162 test.sgm</ command></userinput></screen>163 164 <para>The last test should produce no output to stdout and create a file named 165 <filename>c1.htm</filename> in the current directory:</para>166 167 <screen ><userinput role='root'><command>openjade -t sgml \174 test.sgm</userinput></screen> 175 176 <para>The last test should produce no output to stdout and create a file 177 named <filename>c1.htm</filename> in the current directory:</para> 178 179 <screen role="root"><userinput>openjade -t sgml \ 168 180 -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \ 169 test.sgm</ command></userinput></screen>170 171 </sect2>181 test.sgm</userinput></screen> 182 183 </sect2> 172 184 173 185 <!-- 174 186 <sect2> 175 <title>Configuring <application>DocBook <acronym>DSSSL</acronym>187 <title>Configuring <application>DocBook DSSSL 176 188 Stylesheets</application></title> 177 189 … … 179 191 180 192 <para>The following configuration is necessary in order to utilize 181 <application>OpenJade</application> to convert the <acronym>BLFS</acronym>182 Book from <acronym>XML</acronym> to <acronym>HTML</acronym>:</para>193 <application>OpenJade</application> to convert the BLFS 194 Book from XML to HTML:</para> 183 195 184 196 <screen><userinput><command>ln -sf <replaceable>[your home directory]</replaceable>/BLFS/BOOK/blfs.dsl \ … … 189 201 --> 190 202 191 <sect2> 192 <title>Contents</title> 193 194 <segmentedlist> 195 <segtitle>Installed Program</segtitle> 196 <segtitle>Installed Libraries</segtitle> 197 <segtitle>Installed Files</segtitle> 198 <segtitle>Installed Directory</segtitle> 199 200 <seglistitem> 201 <seg>collateindex.pl</seg> 202 <seg>None</seg> 203 <seg><acronym>DSSSL</acronym> stylesheets</seg> 204 <seg>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;</seg> 205 </seglistitem> 206 </segmentedlist> 207 208 <variablelist> 209 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 210 <?dbfo list-presentation="list"?> 211 212 <varlistentry id="collateindex.pl"> 213 <term><command>collateindex.pl</command></term> 214 <listitem><para>is a <application>Perl</application> script that creates a 215 DocBook index from raw index data.</para> 216 <indexterm zone="docbook-dsssl collateindex.pl"> 217 <primary sortas="b-collateindex.pl">collateindex.pl</primary> 218 </indexterm></listitem> 219 </varlistentry> 220 </variablelist> 221 222 </sect2> 203 <sect2 role="content"> 204 <title>Contents</title> 205 206 <segmentedlist> 207 <segtitle>Installed Program</segtitle> 208 <segtitle>Installed Libraries</segtitle> 209 <segtitle>Installed Files</segtitle> 210 <segtitle>Installed Directory</segtitle> 211 212 <seglistitem> 213 <seg>collateindex.pl</seg> 214 <seg>None</seg> 215 <seg>DSSSL stylesheets</seg> 216 <seg>/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;</seg> 217 </seglistitem> 218 </segmentedlist> 219 220 <variablelist> 221 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 222 <?dbfo list-presentation="list"?> 223 <?dbhtml list-presentation="table"?> 224 225 <varlistentry id="collateindex.pl"> 226 <term><command>collateindex.pl</command></term> 227 <listitem> 228 <para>is a <application>Perl</application> script that creates a 229 DocBook index from raw index data.</para> 230 <indexterm zone="docbook-dsssl collateindex.pl"> 231 <primary sortas="b-collateindex.pl">collateindex.pl</primary> 232 </indexterm> 233 </listitem> 234 </varlistentry> 235 236 </variablelist> 237 238 </sect2> 223 239 224 240 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.