source: pst/ps/xpdf.xml@ ff769b8c

10.0 10.1 11.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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ff769b8c was ff769b8c, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated the XML sources to use DocBook XML DTD-4.4.

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

  • Property mode set to 100644
File size: 6.9 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
2 "http://www.oasis-open.org/docbook/xml/4.4/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-3.00.tar.gz">
7 <!ENTITY xpdf-download-ftp "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00.tar.gz">
8 <!ENTITY xpdf-md5sum "95294cef3031dd68e65f331e8750b2c2">
9 <!ENTITY xpdf-size "534 KB">
10 <!ENTITY xpdf-buildsize "32 MB">
11 <!ENTITY xpdf-time "0.36 SBU">
12]>
13
14<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="xpdf.html"?>
20<title><application>Xpdf</application>-&xpdf-version;</title>
21
22<sect2>
23<title>Introduction to <application>Xpdf</application></title>
24
25<para><application>Xpdf</application> is a viewer for Adobe's free Portable
26Document Format (<acronym>PDF</acronym>) which is both fast and small and
27comes with some useful command-line utilities.</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink
32url="&xpdf-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink
34url="&xpdf-download-ftp;"/></para></listitem>
35<listitem><para>Download MD5 sum: &xpdf-md5sum;</para></listitem>
36<listitem><para>Download size: &xpdf-size;</para></listitem>
37<listitem><para>Estimated disk space required:
38&xpdf-buildsize;</para></listitem>
39<listitem><para>Estimated build time:
40&xpdf-time;</para></listitem></itemizedlist>
41</sect3>
42
43<sect3><title>Additional downloads</title>
44<itemizedlist spacing='compact'>
45<listitem><para>Required patch: <ulink
46url="ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00pl1.patch"/></para>
47</listitem>
48<listitem><para>Required patch: <ulink
49url="ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00pl2.patch"/></para>
50</listitem>
51<listitem><para>Required patch: <ulink
52url="ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.patch"/></para>
53</listitem>
54<listitem><para>Required patch: <ulink
55url="&patch-root;/xpdf-&xpdf-version;-freetype_2.1.7_hack-2.patch"/></para>
56</listitem>
57</itemizedlist></sect3>
58
59<sect3><title><application>Xpdf</application> dependencies</title>
60<sect4><title>Required</title>
61<para><xref linkend="lesstif"/></para>
62</sect4>
63
64<sect4><title>Optional</title>
65<para><xref linkend="gs"/> or <xref linkend="espgs"/> (just the fonts),
66<ulink
67url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.0.2.tar.gz">
68t1lib</ulink>
69and <ulink
70url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>
71</para></sect4>
72</sect3>
73
74</sect2>
75
76<sect2>
77<title>Installation of <application>Xpdf</application></title>
78
79<para>Install <application>Xpdf</application> by running the following
80commands:</para>
81
82<screen><userinput><command>patch -d xpdf -Np0 -i ../../xpdf-3.00pl1.patch &amp;&amp;
83patch -d xpdf -Np0 -i ../../xpdf-3.00pl2.patch &amp;&amp;
84patch -d xpdf -Np0 -i ../../xpdf-&xpdf-version;.patch &amp;&amp;
85patch -Np1 -i ../xpdf-&xpdf-version;-freetype_2.1.7_hack-2.patch &amp;&amp;
86./configure --prefix=/usr --sysconfdir=/etc \
87 --with-freetype2-includes=/usr/include/freetype2 &amp;&amp;
88make &amp;&amp;
89make install</command></userinput></screen>
90
91</sect2>
92
93<sect2>
94<title>Installation command explanations</title>
95
96<para><option>--enable-a4-paper</option>: This switch must be
97added to set <acronym>DIN</acronym> A4 as the standard paper format.</para>
98
99</sect2>
100
101<sect2>
102<title>Configuring <application>Xpdf</application></title>
103
104<sect3><title>Config files</title>
105<para><filename>/etc/xpdfrc</filename>,
106<filename>~/.xpdfrc</filename></para></sect3>
107
108<sect3><title>Configuration Information</title>
109
110<para>In the <filename class='directory'>/etc</filename> directory you will
111find a sample <filename>xpdfrc</filename> that can be either copied to
112<filename>~/.xpdfrc</filename> or taken as an example to write your own
113configuration file.</para>
114
115<screen><userinput># Example .xpdfrc
116displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
117displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
118displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
119displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
120displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
121displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
122displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
123displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
124displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
125displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
126displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
127displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
128displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
129displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
130
131fontDir /usr/X11R6/lib/X11/fonts/TTF
132
133psFile "|lpr"
134psPaperSize letter
135#psPaperSize A4
136textEOL unix
137
138enableT1lib yes
139enableFreeType yes
140antialias yes
141
142urlCommand "links -g %s"</userinput></screen>
143</sect3>
144
145</sect2>
146
147<sect2>
148<title>Contents</title>
149
150<para>The <application>Xpdf</application> package contains
151<command>xpdf</command>, <command>pdftops</command>,
152<command>pdftotext</command>, <command>pdftoppm</command>,
153<command>pdffonts</command>, <command>pdfimages</command> and
154<command>pdfinfo</command>.</para>
155</sect2>
156
157<sect2><title>Description</title>
158
159<sect3><title>xpdf</title>
160<para><command>xpdf</command> displays files in <acronym>PDF</acronym>
161format.</para></sect3>
162
163<sect3><title>pdftops</title>
164<para><command>pdftops</command> converts <acronym>PDF</acronym> files to
165<acronym>PS</acronym> format.</para></sect3>
166
167<sect3><title>pdftotext</title>
168<para><command>pdftotext</command> parses <acronym>ASCII</acronym> text from
169<acronym>PDF</acronym> files.</para></sect3>
170
171<sect3><title>pdftoppm</title>
172<para><command>pdftoppm</command> converts <acronym>PDF</acronym> files to
173<acronym>PBM</acronym>, <acronym>PGM</acronym>, <acronym>PPM</acronym>
174formats.</para></sect3>
175
176<sect3><title>pdffonts</title>
177<para><command>pdffonts</command> lists the fonts used in a
178<acronym>PDF</acronym> file along with various information for each
179font.</para></sect3>
180
181<sect3><title>pdfimages</title>
182<para><command>pdfimages</command> saves images from a
183<acronym>PDF</acronym> file as <acronym>PPM</acronym>,
184<acronym>PBM</acronym>, or <acronym>JPEG</acronym> files.</para></sect3>
185
186<sect3><title>pdfinfo</title>
187<para><command>pdfinfo</command> prints the contents of the 'Info'
188dictionary (plus some other useful information) from a
189<acronym>PDF</acronym> file.</para></sect3>
190
191</sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.