source: pst/ps/xpdf.xml@ 9f12e36

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 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

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