Changeset 959f944


Ignore:
Timestamp:
06/14/2004 05:25:53 AM (20 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
c117e5a
Parents:
44b376e7
Message:

XML update for Chapter 45

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

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r44b376e7 r959f944  
    345345
    346346<!-- Chapter 45 -->
    347 
     347<!ENTITY a2ps-version                 "4.13b"> 
     348<!ENTITY enscript-version             "1.6.1"> 
     349<!ENTITY psutils-version              "p17">   
     350<!ENTITY gsview-version               "4.6">   
     351<!ENTITY xpdf-version                 "3.00"> 
    348352
    349353
  • pst/ps/a2ps.xml

    r44b376e7 r959f944  
     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 a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
     7  <!ENTITY a2ps-download-ftp  "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
     8  <!ENTITY a2ps-size          "1.9 MB">
     9  <!ENTITY a2ps-buildsize     "19.2 MB">
     10  <!ENTITY a2ps-time           "0.26 SBU">
     11]>
     12
    113<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
    214<?dbhtml filename="a2ps.html"?>
    315<title>a2ps-&a2ps-version;</title>
    416
    5 &a2ps-intro;
    6 &a2ps-inst;
    7 &a2ps-exp;
    8 &a2ps-config;
    9 &a2ps-desc;
     17<sect2>
     18<title>Introduction to <application>a2ps</application></title>
     19
     20<para><application>a2ps</application> is a filter utilitized mainly in the
     21background and primarily by printing scripts to convert almost
     22every input format into PostScript output. The application's name expands
     23appropriately to "all to PostScript".</para>
     24
     25<sect3><title>Package information</title>
     26<itemizedlist spacing='compact'>
     27<listitem><para>Download (HTTP): <ulink
     28url="&a2ps-download-http;"/></para></listitem>
     29<listitem><para>Download (FTP): <ulink
     30url="&a2ps-download-ftp;"/></para></listitem>
     31<listitem><para>Download size: &a2ps-size;</para></listitem>
     32<listitem><para>Estimated Disk space required:
     33&a2ps-buildsize;</para></listitem>
     34<listitem><para>Estimated build time:
     35&a2ps-time;</para></listitem></itemizedlist>
     36</sect3>
     37
     38<sect3><title>Additional downloads</title>
     39<itemizedlist spacing='compact'>
     40<listitem><para>International fonts: <ulink
     41url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/>
     42</para></listitem></itemizedlist>
     43</sect3>
     44
     45<sect3><title><application>a2ps</application> dependencies</title>
     46<sect4><title>Optional</title>
     47<para><xref linkend="psutils"/> and
     48<xref linkend="gs"/> or <xref linkend="espgs"/>
     49</para></sect4>
     50</sect3>
     51
     52</sect2>
     53
     54<sect2>
     55<title>Installation of <application>a2ps</application></title>
     56
     57
     58<para>Install <application>a2ps</application> by running the following commands:
     59</para>
     60
     61<screen><userinput><command>cd contrib &amp;&amp;
     62cp Makefile.in Makefile.in.orig &amp;&amp;
     63sed -e "s:emacs::" Makefile.in.orig > Makefile.in &amp;&amp;
     64cd .. &amp;&amp;
     65cp configure{,.orig} &amp;&amp;
     66sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
     67    configure.orig > configure &amp;&amp;
     68./configure --prefix=/usr \
     69    --sysconfdir=/etc/a2ps --localstatedir=/var \
     70    --with-medium=letter &amp;&amp;
     71make &amp;&amp;
     72make install</command></userinput></screen>
     73
     74</sect2>
     75
     76<sect2>
     77<title>Command explanations</title>
     78
     79<para><screen><command>cd contrib &amp;&amp;
     80cp Makefile.in Makefile.in.orig &amp;&amp;
     81sed -e "s:emacs::" Makefile.in.orig > Makefile.in &amp;&amp;
     82cd .. &amp;&amp;</command></screen>
     83These commands eliminate the compiling and installing of the
     84<application>Emacs</application> script files.  If you have substituted
     85<application>Emacs</application> for <application>Vi</application> as your
     86primary editor, you would want to skip these instructions.</para>
     87
     88<para><screen><command>cp configure{,.orig} &amp;&amp;
     89sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
     90    configure.orig > configure</command></screen>
     91This command modifies the configure script to search for
     92<application>Ghostscript</application> fonts
     93at the location where they were installed by the <acronym>BLFS</acronym>
     94instructions.</para>
     95
     96<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
     97goes to <filename class="directory">/etc/a2ps</filename> instead of
     98<filename class="directory">/usr/etc</filename>.</para>
     99
     100<para><parameter>--with-medium=letter</parameter>: This switch changes
     101the default paper format of A4 to letter. Installations that utilize A4
     102would eliminate this switch.</para>
     103
     104</sect2>
     105
     106<sect2>
     107<title>Configuring <application>a2ps</application></title>
     108
     109<sect3><title>Config files</title>
     110
     111<para><filename>/etc/a2ps/a2ps.cfg</filename>, <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
     112
     113</sect3>
     114
     115<sect3><title>Configuration Information</title>
     116
     117<para>Information about configuring <application>a2ps</application> can be
     118found in the comments contained in the above files, and also by
     119running <command>info a2ps</command>.</para>
     120</sect3>
     121
     122</sect2>
     123
     124<sect2>
     125<title>Contents</title>
     126
     127<para>The <application>a2ps</application> package
     128contains <command>a2ps</command> and filter data.</para>
     129</sect2>
     130
     131
     132<sect2><title>Description</title>
     133
     134<sect3><title>a2ps</title>
     135
     136<para><command>a2ps</command> is a filter, utilized primarily by
     137printing scripts, that converts standard input or supported files
     138to PostScript.</para>
     139
     140</sect3>
     141
     142</sect2>
    10143
    11144</sect1>
  • pst/ps/enscript.xml

    r44b376e7 r959f944  
     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 enscript-download-http "http://ftp.gnu.org/gnu/enscript/enscript-&enscript-version;.tar.gz">
     7  <!ENTITY enscript-download-ftp  "ftp://ftp.gnu.org/gnu/enscript/enscript-&enscript-version;.tar.gz">
     8  <!ENTITY enscript-size          "631 KB">
     9  <!ENTITY enscript-buildsize     "6.8 MB">
     10  <!ENTITY enscript-time          "0.10 SBU">
     11]>
     12
    113<sect1 id="enscript" xreflabel="enscript-&enscript-version;">
    214<?dbhtml filename="enscript.html"?>
    315<title>enscript-&enscript-version;</title>
    416
    5 &enscript-intro;
    6 &enscript-inst;
    7 &enscript-exp;
    8 &enscript-desc;
     17<sect2>
     18<title>Introduction to <application>enscript</application></title>
     19
     20<para><application>Enscript</application> converts ASCII files to PostScript.</para>
     21
     22<sect3><title>Package information</title>
     23<itemizedlist spacing='compact'>
     24<listitem><para>Download (HTTP): <ulink
     25url="&enscript-download-http;"/></para></listitem>
     26<listitem><para>Download (FTP): <ulink
     27url="&enscript-download-ftp;"/></para></listitem>
     28<listitem><para>Download size: &enscript-size;</para></listitem>
     29<listitem><para>Estimated Disk space required:
     30&enscript-buildsize;</para></listitem>
     31<listitem><para>Estimated build time:
     32&enscript-time;</para></listitem></itemizedlist>
     33</sect3>
     34
     35</sect2>
     36
     37<sect2>
     38<title>Installation of enscript</title>
     39
     40<para>Install enscript by running the following commands:</para>
     41
     42<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/enscript \
     43    --localstatedir=/var --with-media=Letter &amp;&amp;
     44make &amp;&amp;
     45make install</command></userinput></screen>
     46
     47</sect2>
     48
     49<sect2>
     50<title>Installation command explanations</title>
     51
     52<para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
     53configuration data in <filename class="directory">/etc/enscript</filename>
     54instead of <filename class="directory">/usr/etc</filename>.</para>
     55
     56<para><parameter>--localstatedir=/var</parameter>: This switch sets the
     57directory for runtime data to <filename class="directory">/var</filename>
     58instead of <filename class="directory">/usr/var</filename>.</para>
     59
     60<para><parameter>--with-media=Letter</parameter>: This switch sets the
     61medium format to letter.</para>
     62
     63</sect2>
     64
     65<sect2>
     66<title>Contents</title>
     67
     68<para>The <application>enscript</application> package contains
     69<command>enscript</command> and filter data.
     70</para>
     71</sect2>
     72<sect2><title>Description</title>
     73
     74<sect3><title>enscript</title>
     75
     76<para><command>enscript</command> is a filter, used primarily by
     77printing scripts, that converts
     78<acronym>ASCII</acronym> files to PostScript.</para>
     79
     80</sect3>
     81
     82</sect2>
    983
    1084</sect1>
  • pst/ps/gsview.xml

    r44b376e7 r959f944  
     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 gsview-download-http "http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-&gsview-version;.tar.gz">
     7  <!ENTITY gsview-download-ftp  "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz">
     8  <!ENTITY gsview-size          "895 KB">
     9  <!ENTITY gsview-buildsize     "19 MB">
     10  <!ENTITY gsview-time          "0.19 SBU">
     11]>
     12
    113<sect1 id="gsview" xreflabel="GSview-&gsview-version;">
    214<?dbhtml filename="gsview.html"?>
    315<title>GSview-&gsview-version;</title>
    416
    5 &gsview-intro;
    6 &gsview-inst;
    7 &gsview-exp;
    8 &gsview-config;
    9 &gsview-desc;
     17<sect2>
     18<title>Introduction to <application>GSview</application></title>
     19
     20<para><application>GSview</application> is a viewer for PostScript and
     21<acronym>PDF</acronym> using <application>X</application>.</para>
     22
     23<sect3><title>Package information</title>
     24<itemizedlist spacing='compact'>
     25<listitem><para>Download (HTTP): <ulink
     26url="&gsview-download-http;"/></para></listitem>
     27<listitem><para>Download (FTP): <ulink
     28url="&gsview-download-ftp;"/></para></listitem>
     29<listitem><para>Download size: &gsview-size;</para></listitem>
     30<listitem><para>Estimated Disk space required:
     31&gsview-buildsize;</para></listitem>
     32<listitem><para>Estimated build time:
     33&gsview-time;</para></listitem></itemizedlist>
     34</sect3>
     35
     36<sect3><title>Additional downloads</title>
     37<itemizedlist spacing='compact'>
     38<listitem><para>Required Patch: <ulink
     39url="&patch-root;/gsview-&gsview-version;-pstotext.patch"/></para></listitem>
     40<listitem><para>Required Patch: <ulink
     41url="&patch-root;/gsview-&gsview-version;-lang.patch"/></para></listitem>
     42</itemizedlist></sect3>
     43
     44<sect3><title><application>GSview</application> dependencies</title>
     45<sect4><title>Required</title>
     46<para><xref linkend="GTK"/> and <xref
     47linkend="gs"/> or <xref linkend="espgs"/> (with libgs.so installed)</para></sect4>
     48</sect3>
     49
     50</sect2>
     51
     52<sect2>
     53<title>Installation of <application>GSview</application></title>
     54
     55<para><application>GSview</application> uses <command>netscape
     56</command> to browse through the online help. <acronym>BLFS</acronym>
     57does not install <application>Netscape</application>, but has other
     58browsers from which to choose. Simply edit <filename>srcunx/gvxreg.c</filename>
     59using the following sed script with your browser's executable file name
     60substituting for <replaceable>[browser]</replaceable>:</para>
     61
     62<screen><userinput><command>sed -i s/netscape/<replaceable>[browser]</replaceable>/ srcunx/gvxreg.c</command></userinput></screen>
     63
     64<para>Install <application>GSview</application> by running the following
     65commands:</para>
     66
     67<screen><userinput><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
     68    srcunx/unx.mak &gt; Makefile &amp;&amp;
     69patch -Np1 -i ../gsview-&gsview-version;-pstotext.patch &amp;&amp;
     70patch -Np1 -i ../gsview-&gsview-version;-lang.patch &amp;&amp;
     71make &amp;&amp;
     72make install</command></userinput></screen>
     73
     74</sect2>
     75
     76<sect2>
     77<title>Command explanations</title>
     78
     79<para><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'</command>: This
     80command changes the default installation directory to
     81<filename class="directory">/usr</filename>.</para>
     82
     83</sect2>
     84
     85<sect2>
     86<title>Configuring <application>GSview</application></title>
     87
     88<sect3><title>Config files</title>
     89<para><filename>/etc/gsview/*</filename></para>
     90</sect3>
     91
     92</sect2>
     93
     94<sect2>
     95<title>Contents</title>
     96
     97<para>The <application>GSview</application> package contains
     98<command>epstool</command>, <command>gsview</command> and
     99<command>gsview-help</command>.</para>
     100
     101</sect2>
     102
     103<sect2><title>Description</title>
     104
     105<sect3><title>epstool</title>
     106<para><command>epstool</command> is a tool for extracting preview
     107bitmaps in <acronym>EPS</acronym> files.</para></sect3>
     108
     109<sect3><title>gsview</title>
     110<para><command>gsview</command> is a viewer for PostScript
     111(<acronym>PS</acronym>) and
     112<acronym>PDF</acronym> files.</para></sect3>
     113
     114<sect3><title>gsview-help</title>
     115<para><command>gsview-help</command> is a script for displaying help
     116files in your chosen browser.</para></sect3>
     117
     118</sect2>
    10119
    11120</sect1>
  • pst/ps/other.xml

    r44b376e7 r959f944  
     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
    17<sect1 id="pst-postscript-other">
    28<?dbhtml filename="otherps.html"?>
  • pst/ps/ps.xml

    r44b376e7 r959f944  
     1<!DOCTYPE chapter 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
    17<chapter id="pst-ps">
    28<?dbhtml filename="ps.html"?>
     
    713files.</para>
    814
    9 &a2ps;
    10 &enscript;
    11 &psutils;
    12 &gsview;
    13 &xpdf;
    14 &pst-postscript-other;
     15<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="a2ps.xml"/>
     16<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="enscript.xml"/>
     17<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="psutils.xml"/>
     18<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gsview.xml"/>
     19<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="xpdf.xml"/>
     20<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="other.xml"/>
    1521
    1622</chapter>
  • pst/ps/psutils.xml

    r44b376e7 r959f944  
     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 psutils-download-http "http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/psutils-&psutils-version;.tar.gz">
     7  <!ENTITY psutils-download-ftp  " ">
     8  <!ENTITY psutils-size          "68 KB">
     9  <!ENTITY psutils-buildsize     "740 KB">
     10  <!ENTITY psutils-time          "0.01 SBU">
     11]>
     12
    113<sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
    214<?dbhtml filename="psutils.html"?>
    315<title>PSUtils-&psutils-version;</title>
    416
    5 &psutils-intro;
    6 &psutils-inst;
    7 &psutils-exp;
    8 &psutils-desc;
     17<sect2>
     18<title>Introduction to <application>PSUtils</application></title>
     19
     20<para><application>PSUtils</application> is a set of utilities to manipulate
     21PostScript files.</para>
     22
     23<sect3><title>Package information</title>
     24<itemizedlist spacing='compact'>
     25<listitem><para>Download (HTTP): <ulink
     26url="&psutils-download-http;"/></para></listitem>
     27<listitem><para>Download (FTP): <ulink
     28url="&psutils-download-ftp;"/></para></listitem>
     29<listitem><para>Download size: &psutils-size;</para></listitem>
     30<listitem><para>Estimated Disk space required:
     31&psutils-buildsize;</para></listitem>
     32<listitem><para>Estimated build time:
     33&psutils-time;</para></listitem></itemizedlist>
     34</sect3>
     35
     36</sect2>
     37
     38<sect2>
     39<title>Installation of <application>PSUtils</application></title>
     40
     41<para>Install <application>PSUtils</application> by running the following
     42commands:</para>
     43
     44<screen><userinput><command>cat Makefile.unix | sed -e 's/\/usr\/local/\/usr/g' &gt; Makefile &amp;&amp;
     45make &amp;&amp;
     46make install</command></userinput></screen>
     47
     48</sect2>
     49
     50<sect2>
     51<title>Installation command explanations</title>
     52
     53<para><command>cat ... | sed ...</command>: This command creates a
     54<filename>Makefile</filename> that installs the program to the
     55<filename class="directory">/usr</filename> prefix instead of the
     56<filename class="directory">/usr/local</filename> prefix.</para>
     57
     58</sect2>
     59
     60<sect2>
     61<title>Contents</title>
     62                                                                               
     63<para>The <application>PSUtils</application> package contains <command>
     64psbook</command>, <command>psselect</command>, <command>pstops</command>
     65<command>psnup</command>, <command>psresize</command>,
     66<command>epsffit</command>, <command>getafm</command>,
     67<command>showchar</command>, <command>fixdlsrps</command>,
     68<command>fixfmps</command>, <command>fixmacps</command>, <command>fixpsditps
     69</command>, <command>fixpspps</command>, <command>fixscribeps</command>,
     70<command>fixtpps</command>, <command>fixwfwps</command>,
     71<command>fixwpps</command>, <command>fixwwps</command>, <command>extractres</command>, <command>includeres</command> and <command>psmerge</command>.</para>
     72
     73<para>Sometimes <command>psnup</command> and other utilities from this
     74package produce PostScript files that don't conform to Adobe's
     75<acronym>DSC</acronym> standard.
     76<application><acronym>CUPS</acronym></application> may print them
     77incorrectly. On the other hand,
     78<application><acronym>CUPS</acronym></application> has builtin
     79replacements for most commands from this package. For example, to print
     80a document 2-up, you will issue this command:</para>
     81
     82<screen><userinput><command>lp -o number-up=2 <replaceable>[filename]</replaceable></command></userinput></screen>
     83                                                                               
     84</sect2>
     85                                                                               
     86<sect2><title>Description</title>
     87                                                                               
     88<sect3><title>psbook</title>
     89<para><command>psbook</command> rearranges pages into signatures.</para></sect3>
     90                                                                               
     91<sect3><title>psselect</title>
     92<para><command>psselect</command> selects pages and page ranges.</para>
     93</sect3>
     94                       
     95<sect3><title>pstops</title>
     96<para><command>pstops</command> performs general page rearrangements
     97and selection.</para></sect3>
     98                                                                               
     99<sect3><title>psnup</title>
     100<para><command>psnup</command> puts multiple pages per physical sheet
     101of paper.</para></sect3>
     102
     103<sect3><title>psresize</title>
     104<para><command>psresize</command>  alters the document paper size.</para></sect3>
     105                                                                               
     106<sect3><title>epsffit</title>
     107<para><command>epsffit</command> fits an <acronym>EPSF</acronym> file to a
     108given bounding box.</para></sect3>
     109
     110
     111<sect3><title>scripts</title>
     112<para>The remaining commands are scripts that perform specific functions
     113described in their respective man pages.</para></sect3>
     114
     115</sect2>
    9116
    10117</sect1>
  • pst/ps/xpdf.xml

    r44b376e7 r959f944  
     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 xpdf-download-http "http://gd.tuwien.ac.at/publishing/xpdf/xpdf-&xpdf-version;.tar.gz">
     7  <!ENTITY xpdf-download-ftp  "ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.tar.gz">
     8  <!ENTITY xpdf-size          "490 KB">
     9  <!ENTITY xpdf-buildsize     "21 MB">
     10  <!ENTITY xpdf-time          "0.41 SBU">
     11]>
     12
    113<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;">
    214<?dbhtml filename="xpdf.html"?>
    315<title>Xpdf-&xpdf-version;</title>
    416
    5 &xpdf-intro;
    6 &xpdf-inst;
    7 &xpdf-exp;
    8 &xpdf-config;
    9 &xpdf-desc;
     17<sect2>
     18<title>Introduction to <application>Xpdf</application></title>
     19
     20<para><application>Xpdf</application> is a viewer for Adobe's free Portable
     21Document Format (<acronym>PDF</acronym>) which is both fast and small and
     22comes with some useful command-line utilities.</para>
     23
     24<sect3><title>Package information</title>
     25<itemizedlist spacing='compact'>
     26<listitem><para>Download (HTTP): <ulink
     27url="&xpdf-download-http;"/></para></listitem>
     28<listitem><para>Download (FTP): <ulink
     29url="&xpdf-download-ftp;"/></para></listitem>
     30<listitem><para>Download size: &xpdf-size;</para></listitem>
     31<listitem><para>Estimated Disk space required:
     32&xpdf-buildsize;</para></listitem>
     33<listitem><para>Estimated build time:
     34&xpdf-time;</para></listitem></itemizedlist>
     35</sect3>
     36
     37<sect3><title>Additional downloads</title>
     38<itemizedlist spacing='compact'>
     39<listitem><para>Required Patch: <ulink
     40url="&patch-root;/xpdf-3.00-freetype-2.1.7-hack.patch"/></para></listitem>
     41</itemizedlist></sect3>
     42                                                                               
     43<sect3><title><application>Xpdf</application> dependencies</title>
     44<sect4><title>Required</title>
     45<para><xref linkend="lesstif"/>
     46</para></sect4>
     47<sect4><title>Optional</title>
     48<para>
     49<ulink url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">t1lib</ulink> and
     50<xref linkend="gs"/> or <xref linkend="espgs"/>
     51</para></sect4>
     52</sect3>
     53
     54</sect2>
     55
     56<sect2>
     57<title>Installation of <application>Xpdf</application></title>
     58
     59<para>Install <application>Xpdf</application> by running the following commands:
     60</para>
     61
     62<screen><userinput><command>patch -Np1 -i ../xpdf-3.00-freetype-3.1.7-hack.patch &amp;&amp;
     63./configure --prefix=/usr --sysconfdir=/etc \
     64    --with-freetype2-includes=/usr/include/freetype2 &amp;&amp;
     65make &amp;&amp;
     66make install</command></userinput></screen>
     67
     68</sect2>
     69
     70<sect2>
     71<title>Installation command explanations</title>
     72
     73<para><option>--enable-a4-paper</option>: This switch must be
     74added to set <acronym>DIN</acronym> A4 as the standard paper format.</para>
     75
     76</sect2>
     77
     78<sect2>
     79<title>Configuring <application>Xpdf</application></title>
     80
     81<sect3><title>Config files</title>
     82<para><filename>/etc/xpdfrc</filename>,
     83<filename>~/.xpdfrc</filename></para></sect3>
     84
     85<sect3><title>Configuration Information</title>
     86
     87<para>In the <filename>etc</filename> directory you will find a sample
     88<filename>xpdfrc</filename> that can be either copied to
     89<filename>~/.xpdfrc</filename> or taken as an example to write your own
     90configuration file.</para>
     91
     92<screen><userinput># Example .xpdfrc
     93displayFontT1 Times-Roman               /usr/share/ghostscript/fonts/n021003l.pfb
     94displayFontT1 Times-Italic              /usr/share/ghostscript/fonts/n021023l.pfb
     95displayFontT1 Times-Bold                /usr/share/ghostscript/fonts/n021004l.pfb
     96displayFontT1 Times-BoldItalic          /usr/share/ghostscript/fonts/n021024l.pfb
     97displayFontT1 Helvetica                 /usr/share/ghostscript/fonts/n019003l.pfb
     98displayFontT1 Helvetica-Oblique         /usr/share/ghostscript/fonts/n019023l.pfb
     99displayFontT1 Helvetica-Bold            /usr/share/ghostscript/fonts/n019004l.pfb
     100displayFontT1 Helvetica-BoldOblique     /usr/share/ghostscript/fonts/n019024l.pfb
     101displayFontT1 Courier                   /usr/share/ghostscript/fonts/n022003l.pfb
     102displayFontT1 Courier-Oblique           /usr/share/ghostscript/fonts/n022023l.pfb
     103displayFontT1 Courier-Bold              /usr/share/ghostscript/fonts/n022004l.pfb
     104displayFontT1 Courier-BoldOblique       /usr/share/ghostscript/fonts/n022024l.pfb
     105displayFontT1 Symbol                    /usr/share/ghostscript/fonts/s050000l.pfb
     106displayFontT1 ZapfDingbats              /usr/share/ghostscript/fonts/d050000l.pfb
     107
     108fontDir                 /usr/X11R6/lib/X11/fonts/TTF
     109
     110psFile                  "|lpr"
     111psPaperSize             letter
     112textEOL                 unix
     113
     114enableT1lib             yes
     115enableFreeType          yes
     116antialias               yes
     117
     118urlCommand              "links -g %s"</userinput></screen>
     119</sect3>
     120
     121</sect2>
     122
     123<sect2>
     124<title>Contents</title>
     125
     126<para>The <application>Xpdf</application> package contains
     127<command>xpdf</command>, <command>pdftops</command>,
     128<command>pdftotext</command>, <command>pdftoppm</command>,
     129<command>pdffonts</command>, <command>pdfimages</command> and
     130<command>pdfinfo</command>.</para>
     131</sect2>
     132
     133<sect2><title>Description</title>
     134
     135<sect3><title>xpdf</title>
     136<para><command>xpdf</command> displays files in <acronym>PDF</acronym>
     137format.</para></sect3>
     138
     139<sect3><title>pdftops</title>
     140<para><command>pdftops</command> converts <acronym>PDF</acronym> files to
     141<acronym>PS</acronym> format.</para></sect3>
     142
     143<sect3><title>pdftotext</title>
     144<para><command>pdftotext</command> parses <acronym>ASCII</acronym> text from
     145<acronym>PDF</acronym> files.</para></sect3>
     146
     147<sect3><title>pdftoppm</title>
     148<para><command>pdftoppm</command> converts <acronym>PDF</acronym> files to
     149<acronym>PBM</acronym>, <acronym>PGM</acronym>, <acronym>PPM</acronym>
     150formats.</para></sect3>
     151
     152<sect3><title>pdffonts</title>
     153<para><command>pdffonts</command> lists the fonts used in a
     154<acronym>PDF</acronym> file along with various information for each
     155font.</para></sect3>
     156
     157<sect3><title>pdfimages</title>
     158<para><command>pdfimages</command> saves images from a
     159<acronym>PDF</acronym> file as <acronym>PPM</acronym>,
     160<acronym>PBM</acronym>, or <acronym>JPEG</acronym> files.</para></sect3>
     161
     162<sect3><title>pdfinfo</title>
     163<para><command>pdfinfo</command> prints the contents of the 'Info'
     164dictionary (plus some other useful information) from a
     165<acronym>PDF</acronym> file.</para></sect3>
     166
     167</sect2>
    10168
    11169</sect1>
  • pst/pst.xml

    r44b376e7 r959f944  
    77<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/sgml/sgml.xml"/>
    88<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/xml/xml.xml"/>
     9<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/ps/ps.xml"/>
    910
    1011
    1112<!-- &pst-xml; -->
    12 &pst-ps;
     13<!-- &pst-ps; -->
    1314&pst-typesetting;
    1415
Note: See TracChangeset for help on using the changeset viewer.