Changeset 959f944 for pst/ps/xpdf.xml


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.