source: pst/ps/xpdf.xml@ 977061b0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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
Last change on this file since 977061b0 was 977061b0, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

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