cvs commit: BLFS/BOOK/pst/typesetting/ps/xpdf xpdf-config.xml xpdf-desc.xml xpdf-exp.xml xpdf-inst.xml xpdf-intro.xml xpdf.ent

markh at linuxfromscratch.org markh at linuxfromscratch.org
Tue Dec 31 13:34:56 PST 2002


markh       02/12/31 16:34:56

  Modified:    BOOK     index.xml
               BOOK/introduction/welcome changelog.xml
               BOOK/pst pst.ent
               BOOK/pst/printing printing.xml
               BOOK/pst/typesetting ps.xml
  Added:       BOOK/pst/printing gs.xml
               BOOK/pst/printing/gs gs-desc.xml gs-exp.xml gs-inst.xml
                        gs-intro.xml gs.ent
               BOOK/pst/typesetting/ps a2ps.xml enscript.xml gsview.xml
                        psutils.xml xpdf.xml
               BOOK/pst/typesetting/ps/a2ps a2ps-desc.xml a2ps-exp.xml
                        a2ps-inst.xml a2ps-intro.xml a2ps.ent
               BOOK/pst/typesetting/ps/enscript enscript-desc.xml
                        enscript-exp.xml enscript-inst.xml
                        enscript-intro.xml enscript.ent
               BOOK/pst/typesetting/ps/gsview gsview-desc.xml
                        gsview-exp.xml gsview-inst.xml gsview-intro.xml
                        gsview.ent
               BOOK/pst/typesetting/ps/psutils psutils-desc.xml
                        psutils-exp.xml psutils-inst.xml psutils-intro.xml
                        psutils.ent
               BOOK/pst/typesetting/ps/xpdf xpdf-config.xml xpdf-desc.xml
                        xpdf-exp.xml xpdf-inst.xml xpdf-intro.xml xpdf.ent
  Log:
  Add Alex's patch for Ghostscript, a2ps, enscript, gsview, psutils and xpdf
  
  Revision  Changes    Path
  1.124     +2 -2      BLFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/index.xml,v
  retrieving revision 1.123
  retrieving revision 1.124
  diff -u -r1.123 -r1.124
  --- index.xml	27 Dec 2002 22:38:20 -0000	1.123
  +++ index.xml	31 Dec 2002 21:34:55 -0000	1.124
  @@ -2,8 +2,8 @@
   <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
   			"/usr/share/docbook/docbookx.dtd" [
   
  -<!ENTITY version "20021227">
  -<!ENTITY releasedate "December 27th, 2002">
  +<!ENTITY version "20021231">
  +<!ENTITY releasedate "December 31st, 2002">
   
   <!ENTITY % book SYSTEM "book/book.ent">
   <!ENTITY % preface SYSTEM "preface/preface.ent">
  
  
  
  1.315     +3 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.314
  retrieving revision 1.315
  diff -u -r1.314 -r1.315
  --- changelog.xml	28 Dec 2002 04:56:32 -0000	1.314
  +++ changelog.xml	31 Dec 2002 21:34:55 -0000	1.315
  @@ -10,6 +10,9 @@
   
   <itemizedlist>
   
  +<listitem><para>December 31st, 2002 [markh]: PST: Added Alex's patch for
  +Ghostscript, a2ps, enscript, gsview, psutils and xpdf.</para></listitem>
  +
   <listitem><para>December 27th, 2002 [larry]: Multimedia: Added
   transcode-0.6.2.</para></listitem>
   
  
  
  
  1.11      +12 -0     BLFS/BOOK/pst/pst.ent
  
  Index: pst.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/pst.ent,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- pst.ent	18 Dec 2002 20:17:56 -0000	1.10
  +++ pst.ent	31 Dec 2002 21:34:55 -0000	1.11
  @@ -2,6 +2,8 @@
   
   <!-- Printing -->
   <!ENTITY pst-printing SYSTEM "printing/printing.xml">
  +<!ENTITY % gs SYSTEM "printing/gs/gs.ent">
  +%gs;
   
   <!-- Scanning -->
   <!ENTITY pst-scanning SYSTEM "scanning/scanning.xml">
  @@ -26,6 +28,16 @@
   
   <!-- PS -->
   <!ENTITY pst-ps SYSTEM "typesetting/ps.xml">
  +<!ENTITY % a2ps SYSTEM "typesetting/ps/a2ps/a2ps.ent">
  +<!ENTITY % enscript SYSTEM "typesetting/ps/enscript/enscript.ent">
  +<!ENTITY % gsview SYSTEM "typesetting/ps/gsview/gsview.ent">
  +<!ENTITY % psutils SYSTEM "typesetting/ps/psutils/psutils.ent">
  +<!ENTITY % xpdf SYSTEM "typesetting/ps/xpdf/xpdf.ent">
  +%a2ps;
  +%enscript;
  +%gsview;
  +%psutils;
  +%xpdf;
   
   <!-- Typesetting -->
   <!ENTITY pst-typesetting SYSTEM "typesetting/typesetting.xml">
  
  
  
  1.2       +2 -1      BLFS/BOOK/pst/printing/printing.xml
  
  Index: printing.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/printing.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- printing.xml	7 Jul 2002 20:28:46 -0000	1.1
  +++ printing.xml	31 Dec 2002 21:34:55 -0000	1.2
  @@ -2,6 +2,7 @@
   <?dbhtml filename="printing.html" dir="pst"?>
   <title>Printing</title>
   
  -<para>Placeholder for ghostscript, lprng and cups</para>
  +<para>Placeholder for lprng, cups, foomatic and gimp-print</para>
  +&gs;
   
   </chapter>
  
  
  
  1.1                  BLFS/BOOK/pst/printing/gs.xml
  
  Index: gs.xml
  ===================================================================
  <sect1 id="gs" xreflabel="GhostScript-&gs-version;">
  <?dbhtml filename="gs.html" dir="pst"?>
  <title>Ghostscript-&gs-version;</title>
  
  &gs-intro;
  &gs-inst;
  &gs-exp;
  &gs-desc;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/pst/printing/gs/gs-desc.xml
  
  Index: gs-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>Ghostscript comes with a lot of filters to render Postscript/PDF
  files back and forth. Please refer to the HTML documentation or try
  <userinput>man gs</userinput>.</para>
  
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/pst/printing/gs/gs-exp.xml
  
  Index: gs-exp.xml
  ===================================================================
  <sect2>
  <title>Installation command explanations</title>
  
  <para><userinput>--libexecdir=/usr/lib/gs :</userinput> executable
  libraries of Ghostscript will be installed to
  <userinput>/usr/lib/gs</userinput>.</para>
  
  <para><userinput>--sysconfdir=/etc/gs :</userinput> Configuration data
  goes to <userinput>/etc/gs</userinput> instead of 
  <userinput>/usr/etc</userinput>.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/printing/gs/gs-inst.xml
  
  Index: gs-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of Ghostscript</title>
  
  <para>Install Ghostscript by running the following commands:</para>
  
  <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/gs \
      --sysconfdir=/etc/gs --enable-shared --enable-static \
  make &&
  make install</userinput></screen></para>
  
  <para>To install the shared library <filename>libgs.so</filename>, run
  the following commands additionally:</para>
  
  <para><screen><userinput>make so &&
  make soinstall</userinput></screen></para>
  
  <note><para>The shared library is only used in external programs like
  <xref linkend="gsview"/>.</para></note>
  
  <para>To finish the installation, unpack all fonts you've loaded to
  <filename>/usr/share/ghostscript</filename>.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/printing/gs/gs-intro.xml
  
  Index: gs-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to Ghostscript</title>
  
  <screen>Required:
  Download location (FTP):        <ulink url="&gs-download-ftp;"/>
  Download location (HTTP):       <ulink url="&gs-download-http;"/>
  Fonts1 Download location (FTP): <ulink url="&gs-fonts-download-ftp;"/>
  Fonts2 Download location (FTP): <ulink url="&gs-fontsother-download-ftp;"/>
  Version used:                   &gs-version;
  Package size:                   &gs-size;
  Estimated Disk space required:  &gs-buildsize;</screen>
  
  <para>Ghostscript is a versatile processor for Postscript data with
  the ability to render Postscript to different targets.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/printing/gs/gs.ent
  
  Index: gs.ent
  ===================================================================
  <!ENTITY gs SYSTEM "../gs.xml">
  <!ENTITY gs-intro SYSTEM "gs-intro.xml">
  <!ENTITY gs-inst SYSTEM "gs-inst.xml">
  <!ENTITY gs-desc SYSTEM "gs-desc.xml">
  <!ENTITY gs-exp SYSTEM "gs-exp.xml">
  <!ENTITY gs-buildsize "31-40 MB (depends on if libgs.so is installed)">
  <!ENTITY gs-version "8.00">
  <!ENTITY gs-download-http "http://telia.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.00.tar.bz2">
  <!ENTITY gs-download-ftp "ftp://ftp.sourceforge.net/pub/sourceforge/ghostscript/ghostscript-8.00.tar.bz2">
  <!ENTITY gs-fonts-download-ftp "ftp://ftp.gnu.org/gnu/ghostscript/gnu-gs-fonts-std-6.0.tar.gz">
  <!ENTITY gs-fontsother-download-ftp "ftp://ftp.gnu.org/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
  <!ENTITY gs-size "5.2 MB">
  
  
  
  1.2       +5 -2      BLFS/BOOK/pst/typesetting/ps.xml
  
  Index: ps.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/typesetting/ps.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ps.xml	13 Dec 2002 15:26:53 -0000	1.1
  +++ ps.xml	31 Dec 2002 21:34:55 -0000	1.2
  @@ -2,7 +2,10 @@
   <?dbhtml filename="ps.html" dir="pst"?>
   <title>Postscript</title>
   
  -<para>Placeholder for a2ps, enscript, gsview, gv and acrobat reader.</para>
  -
  +&a2ps;
  +&enscript;
  +&gsview;
  +&psutils;
  +&xpdf;
   
   </chapter>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/a2ps.xml
  
  Index: a2ps.xml
  ===================================================================
  <sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
  <?dbhtml filename="a2ps.html" dir="pst"?>
  <title>a2ps-&a2ps-version;</title>
  
  &a2ps-intro;
  &a2ps-inst;
  &a2ps-exp;
  &a2ps-desc;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/enscript.xml
  
  Index: enscript.xml
  ===================================================================
  <sect1 id="enscript" xreflabel="enscript-&enscript-version;">
  <?dbhtml filename="enscript.html" dir="pst"?>
  <title>enscript-&enscript-version;</title>
  
  &enscript-intro;
  &enscript-inst;
  &enscript-exp;
  &enscript-desc;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/gsview.xml
  
  Index: gsview.xml
  ===================================================================
  <sect1 id="gsview" xreflabel="gsview-&gsview-version;">
  <?dbhtml filename="gsview.html" dir="pst"?>
  <title>gsview-&gsview-version;</title>
  
  &gsview-intro;
  &gsview-inst;
  &gsview-exp;
  &gsview-desc;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/psutils.xml
  
  Index: psutils.xml
  ===================================================================
  <sect1 id="psutils" xreflabel="psutils-&psutils-version;">
  <?dbhtml filename="psutils.html" dir="pst"?>
  <title>psutils-&psutils-version;</title>
  
  &psutils-intro;
  &psutils-inst;
  &psutils-exp;
  &psutils-desc;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf.xml
  
  Index: xpdf.xml
  ===================================================================
  <sect1 id="xpdf" xreflabel="xpdf-&xpdf-version;">
  <?dbhtml filename="xpdf.html" dir="pst"?>
  <title>xpdf-&xpdf-version;</title>
  
  &xpdf-intro;
  &xpdf-inst;
  &xpdf-exp;
  &xpdf-desc;
  &xpdf-config;
  
  </sect1>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/a2ps/a2ps-desc.xml
  
  Index: a2ps-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>a2ps is a filter program. The package consists of the program a2ps
  and a lot of filter data to convert nearly everything to Postscript.
  </para>
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/a2ps/a2ps-exp.xml
  
  Index: a2ps-exp.xml
  ===================================================================
  <sect2>
  <title>Installation command explanations</title>
  
  <para><userinput>--libexecdir=/usr/lib/a2ps :</userinput> executable libraries
  of a2ps will be installed to <userinput>/usr/lib/a2ps</userinput>.</para>
  
  <para><userinput>--sysconfdir=/etc/a2ps :</userinput> Configuration data
  goes to <userinput>/etc/a2ps</userinput> instead of 
  <userinput>/usr/etc</userinput>.</para>
  
  <para><userinput>--with-medium=a4 :</userinput> DIN A4 is set as standard
  paper format (replace "a4" with "letter" if 
  necessary).</para> 
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/a2ps/a2ps-inst.xml
  
  Index: a2ps-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of a2ps</title>
  
  <para>a2ps is an almost typical GNU package, but tries to install to
  uncommon directories.</para>
  
  <para>Install a2ps by running the following commands:</para>
  
  <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/a2ps \
      --sysconfdir=/etc/a2ps --localstatedir=/var \
      --with-medium=a4 &&
  make &&
  make install
  </userinput></screen></para>
  
  <note><para>Replace "a4" at the 3rd line with "letter" 
  if that medium format is common to you.</para></note>
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/a2ps/a2ps-intro.xml
  
  Index: a2ps-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to a2ps</title>
  
  <screen>Required:
  Download location (FTP):        <ulink url="&a2ps-download-ftp;"/>
  Download location (HTTP):       <ulink url="&a2ps-download-http;"/>
  Version used:                   &a2ps-version;
  Package size:                   &a2ps-size;
  Estimated Disk space required:  &a2ps-buildsize;</screen>
  
  <para>a2ps is a utility used mostly in the background to convert almost
  every input format into postscript output, hence the name "a2ps" which
  means "all to Postscript".</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/a2ps/a2ps.ent
  
  Index: a2ps.ent
  ===================================================================
  <!ENTITY a2ps SYSTEM "../a2ps.xml">
  <!ENTITY a2ps-intro SYSTEM "a2ps-intro.xml">
  <!ENTITY a2ps-inst SYSTEM "a2ps-inst.xml">
  <!ENTITY a2ps-desc SYSTEM "a2ps-desc.xml">
  <!ENTITY a2ps-exp SYSTEM "a2ps-exp.xml">
  <!ENTITY a2ps-buildsize "19 MB">
  <!ENTITY a2ps-version "4.13b">
  <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-4.13b.tar.gz">
  <!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-4.13b.tar.gz">
  <!ENTITY a2ps-size "1.8 MB">
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/enscript/enscript-desc.xml
  
  Index: enscript-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>enscript is a filter program. The package consists of the program
  enscript and some files of filter data to convert ASCII files to
  Postscript.
  </para>
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/enscript/enscript-exp.xml
  
  Index: enscript-exp.xml
  ===================================================================
  <sect2>
  <title>Installation command explanations</title>
  
  <para><userinput>--libexecdir=/usr/lib/enscript :</userinput> executable libraries
  of enscript will be installed to <userinput>/usr/lib/enscript</userinput>.</para>
  
  <para><userinput>--sysconfdir=/etc/enscript :</userinput> Configuration data
  goes to <userinput>/etc/enscript</userinput> instead of 
  <userinput>/usr/etc</userinput>.</para>
  
  <para><userinput>--localstatedir=/var :</userinput> directory for
  runtime data is set to <filename>/var</filename> instead of
  <filename>/usr/var</filename>.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/enscript/enscript-inst.xml
  
  Index: enscript-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of enscript</title>
  
  <para>enscript is an almost typical GNU package, but tries to install to
  uncommon directories.</para>
  
  <para>Install enscript by running the following commands:</para>
  
  <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/enscript \
      --sysconfdir=/etc/enscript --localstatedir=/var &&
  make &&
  make install
  </userinput></screen></para>
  
  <note><para>Add "<userinput>--with-media=letter</userinput>"
  to the configure options if that medium format is common to
  you.</para></note>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/enscript/enscript-intro.xml
  
  Index: enscript-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to enscript</title>
  
  <screen>Required:
  Download location (FTP):        <ulink url="&enscript-download-ftp;"/>
  Download location (HTTP):       <ulink url="&enscript-download-http;"/>
  Version used:                   &enscript-version;
  Package size:                   &enscript-size;
  Estimated Disk space required:  &enscript-buildsize;</screen>
  
  <para>enscript converts ASCII files to Postscript.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/enscript/enscript.ent
  
  Index: enscript.ent
  ===================================================================
  <!ENTITY enscript SYSTEM "../enscript.xml">
  <!ENTITY enscript-intro SYSTEM "enscript-intro.xml">
  <!ENTITY enscript-inst SYSTEM "enscript-inst.xml">
  <!ENTITY enscript-desc SYSTEM "enscript-desc.xml">
  <!ENTITY enscript-exp SYSTEM "enscript-exp.xml">
  <!ENTITY enscript-buildsize "6.4 MB">
  <!ENTITY enscript-version "1.6.1">
  <!ENTITY enscript-download-http "http://ftp.gnu.org/gnu/enscript/enscript-1.6.1.tar.gz">
  <!ENTITY enscript-download-ftp "ftp://ftp.gnu.org/gnu/enscript/enscript-1.6.1.tar.gz">
  <!ENTITY enscript-size "631 kb">
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/gsview/gsview-desc.xml
  
  Index: gsview-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>gsview is a viewer for Postscript and PDF files.
  </para>
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/gsview/gsview-exp.xml
  
  Index: gsview-exp.xml
  ===================================================================
  <sect2>
  <title>Installation command explanations</title>
  
  <para><userinput>--libexecdir=/usr/lib/gsview :</userinput> executable
  libraries of gsview will be installed to 
  <userinput>/usr/lib/gsview</userinput>.</para>
  
  <para><userinput>--sysconfdir=/etc/gsview :</userinput> Configuration data
  goes to <userinput>/etc/gsview</userinput> instead of 
  <userinput>/usr/etc</userinput>.</para>
  
  <para><userinput>--with-medium=a4 :</userinput> DIN A4 is set as standard
  paper format (replace "a4" with "letter" if 
  necessary).</para> 
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/gsview/gsview-inst.xml
  
  Index: gsview-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of gsview</title>
  
  <para>gsview is an almost typical GNU package, but tries to install to
  uncommon directories.</para>
  
  <para>gsview uses netscape to browse through the online help. The usual
  LFS user doesn't want to install netscape, but uses mozilla or another
  browser. So simply edit <filename>srcunx/gvxreg.c</filename> using the
  following sed script:</para>
  
  <para><screen><userinput>mv srcunx/gvxreg.c srcunx/gvxreg.old &&
  cat srcunx/gvxreg.old | sed s/netscape/<browser>/ > srcunx/gvxreg.c
  </userinput></screen></para>
  
  <note><para>Replace <userinput><browser></userinput> with the
  executable name of the browser you intend to use.</para></note>
  
  <para>Install gsview by running the following commands:</para>
  
  <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/gsview \
      --sysconfdir=/etc/gsview --localstatedir=/var \
      --with-medium=a4 &&
  make &&
  make install
  </userinput></screen></para>
  
  <note><para>Replace "a4" at the 3rd line with "letter" 
  if that medium format is common to you.</para></note>
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/gsview/gsview-intro.xml
  
  Index: gsview-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to gsview</title>
  
  <screen>Required:
  Download location (FTP):        <ulink url="&gsview-download-ftp;"/>
  Download location (HTTP):       <ulink url="&gsview-download-http;"/>
  Version used:                   &gsview-version;
  Package size:                   &gsview-size;
  Estimated Disk space required:  &gsview-buildsize;</screen>
  
  <para>gsview is a viewer for Postscript and PDF using X.</para>
  
  <screen>gsview requires:
  <xref linkend="xfree86"/>, <xref linkend="GTK"/>, 
  <xref linkend="gs"/> (requires libgs.so)</screen>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/gsview/gsview.ent
  
  Index: gsview.ent
  ===================================================================
  <!ENTITY gsview SYSTEM "../gsview.xml">
  <!ENTITY gsview-intro SYSTEM "gsview-intro.xml">
  <!ENTITY gsview-inst SYSTEM "gsview-inst.xml">
  <!ENTITY gsview-desc SYSTEM "gsview-desc.xml">
  <!ENTITY gsview-exp SYSTEM "gsview-exp.xml">
  <!ENTITY gsview-buildsize "16 MB">
  <!ENTITY gsview-version "4.3">
  <!ENTITY gsview-download-http "http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-4.3.tar.gz">
  <!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-4.3.tar.gz">
  <!ENTITY gsview-size "711 kb">
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/psutils/psutils-desc.xml
  
  Index: psutils-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para>psutils is a set of filter programs for Postscript files:</para>
  
  <para><userinput>psbook</userinput> rearranges pages into
  signatures</para>
  <para><userinput>psselect</userinput> selects pages and page
  ranges</para>
  <para><userinput>pstops</userinput> Performs general page rearrangements
  and selection</para>
  <para><userinput>psnup</userinput> Put multiple pages per physical sheet
  of paper</para>
  <para><userinput>psresize</userinput> Alter document paper size</para>
  <para><userinput>epsffit</userinput> Fits and EPSF file to a given
  bounding box</para>
  
  <para>Additionally, psutils provide a set of scripts:</para>
  
  <para>getafm, showchar, fixdlsrps, fixfmps, fixmacps, fixpsditps,
  fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, extractres,
  includeres, psmerge.</para>
  
  <para>Please refer to the manpages for further information.</para>
  
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/psutils/psutils-exp.xml
  
  Index: psutils-exp.xml
  ===================================================================
  <sect2>
  <title>Installation command explanations</title>
  
  <para><userinput>cat ... | sed ... :</userinput> creates a Makefile that
  uses the directories common to the BLFS installation. If you prefer
  other directories, edit the Makefile manually before executing the other
  commands.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/psutils/psutils-inst.xml
  
  Index: psutils-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of psutils</title>
  
  <para>Install psutils by running the following commands:</para>
  
  <para><screen><userinput>cat Makefile.unix | sed s/\/usr\/local/\/usr/g > Makefile &&
  make &&
  make install
  </userinput></screen></para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/psutils/psutils-intro.xml
  
  Index: psutils-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to psutils</title>
  
  <screen>Required:
  Download location (FTP):        <ulink url="&psutils-download-ftp;"/>
  Download location (HTTP):       <ulink url="&psutils-download-http;"/>
  Version used:                   &psutils-version;
  Package size:                   &psutils-size;
  Estimated Disk space required:  &psutils-buildsize;</screen>
  
  <para>psutils is a set of utilities to manipulate Postscript files.</para>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/psutils/psutils.ent
  
  Index: psutils.ent
  ===================================================================
  <!ENTITY psutils SYSTEM "../psutils.xml">
  <!ENTITY psutils-intro SYSTEM "psutils-intro.xml">
  <!ENTITY psutils-inst SYSTEM "psutils-inst.xml">
  <!ENTITY psutils-desc SYSTEM "psutils-desc.xml">
  <!ENTITY psutils-exp SYSTEM "psutils-exp.xml">
  <!ENTITY psutils-buildsize "688 kb">
  <!ENTITY psutils-version "p17">
  <!ENTITY psutils-download-http "http://knackered.org/angus/psutils/">
  <!ENTITY psutils-download-ftp "ftp://ftp.knackered.org/pub/psutils/psutils-p17.tar.gz">
  <!ENTITY psutils-size "62 kb">
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf/xpdf-config.xml
  
  Index: xpdf-config.xml
  ===================================================================
  <sect2>
  <title>Configuring xpdf</title>
  
  <para>In the source directory you will find a sample
  <filename>xpdfrc</filename> that can be either copied to
  <filename>~/.xpdfrc</filename> or taken as example to write your own
  configuration file.</para>
  
  <sect3><title>Example .xpdfrc</title>
  <para><screen># Example .xpdfrc
  displayFontT1 Times-Roman		/usr/share/ghostscript/fonts/n021003l.pfb
  displayFontT1 Times-Italic		/usr/share/ghostscript/fonts/n021023l.pfb
  displayFontT1 Times-Bold		/usr/share/ghostscript/fonts/n021004l.pfb
  displayFontT1 Times-BoldItalic		/usr/share/ghostscript/fonts/n021024l.pfb
  displayFontT1 Helvetica			/usr/share/ghostscript/fonts/n019003l.pfb
  displayFontT1 Helvetica-Oblique		/usr/share/ghostscript/fonts/n019023l.pfb
  displayFontT1 Helvetica-Bold		/usr/share/ghostscript/fonts/n019004l.pfb
  displayFontT1 Helvetica-BoldOblique	/usr/share/ghostscript/fonts/n019024l.pfb
  displayFontT1 Courier			/usr/share/ghostscript/fonts/n022003l.pfb
  displayFontT1 Courier-Oblique		/usr/share/ghostscript/fonts/n022023l.pfb
  displayFontT1 Courier-Bold		/usr/share/ghostscript/fonts/n022004l.pfb
  displayFontT1 Courier-BoldOblique	/usr/share/ghostscript/fonts/n022024l.pfb
  displayFontT1 Symbol			/usr/share/ghostscript/fonts/s050000l.pfb
  displayFontT1 ZapfDingbats		/usr/share/ghostscript/fonts/d050000l.pfb
  
  fontDir		/usr/X11R6/lib/X11/fonts/truetype
  
  psFile			"|lpr"
  psPaperSize		a4
  textEOL		unix
  
  t1libControl		low
  freetypeControl		low
  
  urlCommand	"links -g %s"</screen></para>
  </sect3>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf/xpdf-desc.xml
  
  Index: xpdf-desc.xml
  ===================================================================
  <sect2>
  <title>Contents</title>
  
  <para><userinput>xpdf</userinput> displays files in PDF format.</para>
  
  <para><userinput>pdftops</userinput> converts PDF files to Postscript format.</para>
  
  <para><userinput>pdftotext</userinput> parses ASCII text from PDF files.</para>
  
  <para><userinput>pdftopbm</userinput> converts PDF files to PBM (Portable BitMap) format.</para>
  
  </sect2>
  
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf/xpdf-exp.xml
  
  Index: xpdf-exp.xml
  ===================================================================
  <sect2>
  <title>Installation command explanations</title>
  
  <para><userinput>--with-gzip :</userinput> xpdf can read directly from 
  gzipped PDF files using gzip.</para>
  
  <para><userinput>--enable-a4-paper :</userinput> DIN A4 is set as
  standard paper format. Leave this switch alone if letter is common
  to you.</para> 
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf/xpdf-inst.xml
  
  Index: xpdf-inst.xml
  ===================================================================
  <sect2>
  <title>Installation of xpdf</title>
  
  <para>xpdf is an almost typical GNU package, but tries to install to
  uncommon directories.</para>
  
  <para>Install xpdf by running the following commands:</para>
  
  <para><screen><userinput>      
  ./configure --prefix=/usr/X11R6 --enable-a4-paper \
      --with-freetype-includes=/usr/include/freetype2 \
      --with-freetype-library=/usr/lib --with-gzip \
      --with-appdef-dir=/usr/X11R6/lib/X11/app-defaults/ &&
  make &&
  make install
  </userinput></screen></para>
  
  <note><para>If the "letter" paper format is common to you,
  leave the <userinput>--enable-a4-paper</userinput> switch out. If necessary,
  replace the path settings for freetype2 with whatever is appropriate on
  your system (if you did not follow the <xref linkend="freetype2"/> 
  Section).</para></note>
  
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf/xpdf-intro.xml
  
  Index: xpdf-intro.xml
  ===================================================================
  <sect2>
  <title>Introduction to xpdf</title>
  
  <screen>Required:
  Download location (FTP):        <ulink url="&xpdf-download-ftp;"/>
  Download location (HTTP):       <ulink url="&xpdf-download-http;"/>
  Version used:                   &xpdf-version;
  Package size:                   &xpdf-size;
  Estimated Disk space required:  &xpdf-buildsize;</screen>
  
  <para>xpdf is a viewer for Adobe's free Portable Document Format (PDF) which
  is both fast and small and comes with some useful command line utilities.</para>
  
  <screen>xpdf depends on:
  <xref linkend="xfree86"/>, <xref linkend="lesstif"/>
  xpdf will utilize:
  t1lib, (<xref linkend="gs"/> fonts), <xref linkend="freetype2"/> (truetype fonts, see 
  <xref linkend="x-installing-truetype"/>).</screen>
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/pst/typesetting/ps/xpdf/xpdf.ent
  
  Index: xpdf.ent
  ===================================================================
  <!ENTITY xpdf SYSTEM "../xpdf.xml">
  <!ENTITY xpdf-intro SYSTEM "xpdf-intro.xml">
  <!ENTITY xpdf-inst SYSTEM "xpdf-inst.xml">
  <!ENTITY xpdf-exp SYSTEM "xpdf-exp.xml">
  <!ENTITY xpdf-desc SYSTEM "xpdf-desc.xml">
  <!ENTITY xpdf-config SYSTEM "xpdf-config.xml">
  <!ENTITY xpdf-buildsize "1.2 MB">
  <!ENTITY xpdf-version "2.0.1">
  <!ENTITY xpdf-download-http "http://www.foolabs.com/xpdf/download.html">
  <!ENTITY xpdf-download-ftp "ftp://ftp.foolabs.com/pub/xpdf/xpdf-2.0.1.tar.gz">
  <!ENTITY xpdf-size "454 kb">
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list