source: archive/xpdf.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xpdf-download-http "http://gd.tuwien.ac.at/publishing/xpdf/xpdf-&xpdf-version;.tar.gz">
8 <!ENTITY xpdf-download-ftp "ftp://ftp.foolabs.com/pub/xpdf/xpdf-&xpdf-version;.tar.gz">
9 <!ENTITY xpdf-md5sum "599dc4cc65a07ee868cf92a667a913d2">
10 <!ENTITY xpdf-size "674 KB">
11 <!ENTITY xpdf-buildsize "46 MB">
12 <!ENTITY xpdf-time "0.5 SBU">
13]>
14
15<sect1 id="xpdf" xreflabel="Xpdf-&xpdf-version;">
16 <?dbhtml filename="xpdf.html"?>
17
18
19 <title>Xpdf-&xpdf-version;</title>
20
21 <indexterm zone="xpdf">
22 <primary sortas="a-Xpdf">Xpdf</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Xpdf</title>
27
28 <para><application>Xpdf</application> is a viewer for Adobe's free
29 Portable Document Format (PDF) which is both fast and small and
30 comes with some useful command-line utilities.</para>
31
32 &lfs65_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>Download (HTTP): <ulink url="&xpdf-download-http;"/></para>
38 </listitem>
39 <listitem>
40 <para>Download (FTP): <ulink url="&xpdf-download-ftp;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download MD5 sum: &xpdf-md5sum;</para>
44 </listitem>
45 <listitem>
46 <para>Download size: &xpdf-size;</para>
47 </listitem>
48 <listitem>
49 <para>Estimated disk space required: &xpdf-buildsize;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated build time: &xpdf-time;</para>
53 </listitem>
54 </itemizedlist>
55
56 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
57 <itemizedlist spacing='compact'>
58 <listitem>
59 <para>Required patch: <ulink
60 url="&patch-root;/xpdf-&xpdf-version;-consolidated_pl5-1.patch"/></para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">Xpdf Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Required</bridgehead>
67 <para role="required"><xref linkend="lesstif"/></para>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
70 <para role="optional"><xref linkend="gs"/><!-- or <xref linkend="espgs"/> -->
71 (just the fonts),
72 <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>, and
73 <ulink url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink></para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/Xpdf"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of Xpdf</title>
82
83 <para>Install <application>Xpdf</application> by running the following
84 commands:</para>
85
86<screen><userinput>patch -Np1 -i ../xpdf-&xpdf-version;-consolidated_pl5-1.patch &amp;&amp;
87./configure --prefix=/usr \
88 --sysconfdir=/etc \
89 --with-freetype2-includes=/usr/include/freetype2 \
90 --enable-opi \
91 --enable-multithreaded \
92 --enable-wordlist &amp;&amp;
93make</userinput></screen>
94
95 <para>This package does not come with a test suite.</para>
96
97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>make install</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="commands">
104 <title>Command Explanations</title>
105
106 <para><option>--enable-a4-paper</option>: This switch must be
107 added to set DIN A4 as the standard paper format.</para>
108
109 </sect2>
110
111 <sect2 role="configuration">
112 <title>Configuring Xpdf</title>
113
114 <sect3 id="xpdf-config">
115 <title>Config Files</title>
116
117 <para><filename>/etc/xpdfrc</filename> and
118 <filename>~/.xpdfrc</filename></para>
119
120 <indexterm zone="xpdf xpdf-config">
121 <primary sortas="e-AA.xpdfrc">~/.xpdfrc</primary>
122 </indexterm>
123
124 <indexterm zone="xpdf xpdf-config">
125 <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
126 </indexterm>
127
128 </sect3>
129
130 <sect3>
131 <title>Configuration Information</title>
132
133 <para>In the <filename class='directory'>/etc</filename> directory you
134 will find a sample <filename>xpdfrc</filename> that can be either copied
135 to <filename>~/.xpdfrc</filename> or taken as an example to write your
136 own configuration file. Below you'll find a condensed version of the
137 file you may wish to build from.</para>
138
139<screen><literal># Example .xpdfrc
140displayFontT1 Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
141displayFontT1 Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
142displayFontT1 Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
143displayFontT1 Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
144displayFontT1 Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
145displayFontT1 Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
146displayFontT1 Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
147displayFontT1 Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
148displayFontT1 Courier /usr/share/ghostscript/fonts/n022003l.pfb
149displayFontT1 Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
150displayFontT1 Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
151displayFontT1 Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
152displayFontT1 Symbol /usr/share/ghostscript/fonts/s050000l.pfb
153displayFontT1 ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
154
155fontDir /usr/share/fonts/X11-TTF
156
157psFile "|lpr"
158psPaperSize letter
159#psPaperSize A4
160textEOL unix
161
162enableT1lib yes
163enableFreeType yes
164antialias yes
165
166urlCommand "links -g %s"</literal></screen>
167
168 </sect3>
169
170 </sect2>
171
172 <sect2 role="content" id="xpdf-content"
173 xreflabel="See the Xpdf-&xpdf-version; program descriptions">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>pdffonts, pdfimages, pdfinfo, pdftoppm, pdftops, pdftotext,
183 and xpdf</seg>
184 <seg>None</seg>
185 <seg>None</seg>
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="pdffonts">
195 <term><command>pdffonts</command></term>
196 <listitem>
197 <para>lists the fonts used in a PDF file along
198 with various information for each font.</para>
199 <indexterm zone="xpdf pdffonts">
200 <primary sortas="b-pdffonts">pdffonts</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="pdfimages">
206 <term><command>pdfimages</command></term>
207 <listitem>
208 <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
209 <indexterm zone="xpdf pdfimages">
210 <primary sortas="b-pdfimages">pdfimages</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="pdfinfo">
216 <term><command>pdfinfo</command></term>
217 <listitem>
218 <para>prints the contents of the 'Info' dictionary (plus some
219 other useful information) from a PDF file.</para>
220 <indexterm zone="xpdf pdfinfo">
221 <primary sortas="b-pdfinfo">pdfinfo</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="pdftoppm">
227 <term><command>pdftoppm</command></term>
228 <listitem>
229 <para>converts PDF files to PBM, PGM and PPM formats.</para>
230 <indexterm zone="xpdf pdftoppm">
231 <primary sortas="b-pdftoppm">pdftoppm</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="pdftops">
237 <term><command>pdftops</command></term>
238 <listitem>
239 <para> converts PDF files to Postscript format.</para>
240 <indexterm zone="xpdf pdftops">
241 <primary sortas="b-pdftops">pdftops</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="pdftotext">
247 <term><command>pdftotext</command></term>
248 <listitem>
249 <para>parses ASCII text from PDF files.</para>
250 <indexterm zone="xpdf pdftotext">
251 <primary sortas="b-pdftotext">pdftotext</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="xpdf-prog">
257 <term><command>xpdf</command></term>
258 <listitem>
259 <para>displays files in PDF format.</para>
260 <indexterm zone="xpdf xpdf-prog">
261 <primary sortas="b-xpdf">xpdf</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 </variablelist>
267
268 </sect2>
269
270</sect1>
Note: See TracBrowser for help on using the repository browser.