source: pst/ps/a2ps.xml@ d3b440e6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d3b440e6 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: 11.2 KB
RevLine 
[db35990d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[959f944]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[b3811e1]6
[959f944]7 <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
8 <!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
[b3811e1]9 <!ENTITY a2ps-md5sum "0c8e0c31b08c14f7a7198ce967eb3281">
[959f944]10 <!ENTITY a2ps-size "1.9 MB">
[deddaa7]11 <!ENTITY a2ps-buildsize "20.7 MB">
[b3811e1]12 <!ENTITY a2ps-time "0.26 SBU">
[959f944]13]>
14
[5fd03d2]15<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
[db35990d]16 <?dbhtml filename="a2ps.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>a2ps-&a2ps-version;</title>
24
25 <indexterm zone="a2ps">
26 <primary sortas="a-a2ps">a2ps</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to a2ps</title>
31
[bfb7882]32 <para><application>a2ps</application> is a filter utilized mainly
[db35990d]33 in the background and primarily by printing scripts to convert almost
34 every input format into PostScript output. The application's name
35 expands appropriately to "all to PostScript".</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&a2ps-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&a2ps-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &a2ps-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &a2ps-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &a2ps-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &a2ps-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>International fonts: <ulink
63 url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">a2ps Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
[e77976f]70 <para role="optional"><xref linkend="x-window-system"/>,
[db35990d]71 <xref linkend="psutils"/>,
[520f6b4f]72 <xref linkend="tetex"/>,
[db35990d]73 <xref linkend="gs"/> or <xref linkend="espgs"/>,
74 <ulink
75 url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
76 <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
[e77976f]77 Reader</ulink>, and
[db35990d]78 <ulink
79 url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink></para>
80
[977061b0]81 <para condition="html" role="usernotes">User Notes:
[6c42d4e]82 <ulink url="&blfs-wiki;/A2PS"/></para>
[977061b0]83
[db35990d]84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of a2ps</title>
88
89 <para>Install <application>a2ps</application> by running the following
90 commands:</para>
91
[deddaa7]92<screen><userinput>sed -i "s|emacs||" contrib/Makefile.in &amp;&amp;
[86bb9db5]93sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh &amp;&amp;
[deddaa7]94sed -i "s|/usr/local/share|/usr/share|" configure &amp;&amp;
95sed -i "s|char \*malloc ();|/* &amp; */|" \
[1eee454]96 lib/path-concat.c &amp;&amp;
[959f944]97./configure --prefix=/usr \
98 --sysconfdir=/etc/a2ps --localstatedir=/var \
[1eee454]99 --enable-shared --with-medium=letter &amp;&amp;
[deddaa7]100make</userinput></screen>
101
102 <para>To test the results, issue: <command>make check</command>.
[df80d76]103 The <filename>printers.tst</filename> test will fail, as there is no default
[470d3786]104 test printer.</para>
[deddaa7]105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make install</userinput></screen>
109
110 <para>Install the downloaded i18n-fonts by running the following
[470d3786]111 commands as the <systemitem class="username">root</systemitem> user:</para>
[deddaa7]112
113<screen role="root"><userinput>cp -v fonts/* /usr/share/a2ps/fonts &amp;&amp;
114cp -v afm/* /usr/share/a2ps/afm &amp;&amp;
115cd /usr/share/a2ps/afm &amp;&amp;
116./make_fonts_map.sh &amp;&amp;
117mv fonts.map.new fonts.map</userinput></screen>
[959f944]118
[db35990d]119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
[959f944]123
[db35990d]124 <para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
125 This command eliminates the compiling and installing of the
126 <application>Emacs</application> script files. If you have substituted
127 <application>Emacs</application> for <application>Vi</application> as your
128 primary editor, skip this step.</para>
129
[86bb9db5]130 <para><command>sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh</command>:
131 The make_fonts_map.sh script to uses an option that is invalid with the
132 version of sort installed as part of <application>Coreutils-5.93</application>.
133 If you are using an older version of <application>Coreutils</application>,
134 skip this step.</para>
135
[db35990d]136 <para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
137 This command modifies the configure script to search for
138 <application>Ghostscript</application> fonts at the location where they were
139 installed by the BLFS instructions.</para>
140
141 <para><command>sed -i -e "s|char \*malloc ();|/* &amp; */|"
142 lib/path-concat.c</command>: This command fixes a build problem with
143 <application>GCC</application>-3.4.x</para>
144
145 <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
146 is installed in <filename class="directory">/etc/a2ps</filename> instead of
147 <filename class="directory">/usr/etc</filename>.</para>
148
149 <para><parameter>--enable-shared</parameter>: This switch enables building
150 the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
151
152 <para><parameter>--with-medium=letter</parameter>: This switch changes
153 the default paper format of A4 to letter. Installations that utilize A4
154 would eliminate this switch.</para>
155
156 </sect2>
157
158 <sect2 role="configuration">
159 <title>Configuring a2ps</title>
160
161 <sect3 id="a2ps-config">
162 <title>Config Files</title>
163
164 <para><filename>/etc/a2ps/a2ps.cfg</filename>,
165 <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
166
167 <indexterm zone="a2ps a2ps-config">
168 <primary sortas="e-etc-a2ps-a2ps.cfg">/etc/a2ps/a2ps.cfg</primary>
169 </indexterm>
170
171 <indexterm zone="a2ps a2ps-config">
172 <primary sortas="e-etc-a2ps-a2ps-site.cfg">/etc/a2ps/a2ps-site.cfg</primary>
173 </indexterm>
174
175 </sect3>
176
177 <sect3>
178 <title>Configuration Information</title>
179
180 <para>Information about configuring <application>a2ps</application>
181 can be found in the comments contained in the above files, and also
182 by running <command>info a2ps</command>.</para>
183
184 </sect3>
185
186 </sect2>
187
188 <sect2 role="content">
189 <title>Contents</title>
190
191 <segmentedlist>
192 <segtitle>Installed Programs</segtitle>
193 <segtitle>Installed Libraries</segtitle>
194 <segtitle>Installed Directories</segtitle>
195
196 <seglistitem>
197 <seg>a2ps, card, composeglyphs, fixnt, fixps, ogonkify,
198 pdiff, psmandup, psset, and texi2dvi4a2ps</seg>
[977061b0]199 <seg>liba2ps.{so,a} and filter data</seg>
[df80d76]200 <seg>/etc/a2ps and /usr/share/a2ps</seg>
[db35990d]201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="a2ps-prog">
210 <term><command>a2ps</command></term>
211 <listitem>
212 <para>is a filter, utilized primarily by printing scripts,
213 that converts standard input or supported files to PostScript.</para>
214 <indexterm zone="a2ps a2ps-prog">
215 <primary sortas="b-a2ps">a2ps</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="card">
221 <term><command>card</command></term>
222 <listitem>
223 <para>prints a reference card of a given program's options.</para>
224 <indexterm zone="a2ps card">
225 <primary sortas="b-card">card</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="composeglyphs">
231 <term><command>composeglyphs</command></term>
232 <listitem>
233 <para>creates a composite font program.</para>
234 <indexterm zone="a2ps composeglyphs">
235 <primary sortas="b-composeglyphs">composeglyphs</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="fixnt">
241 <term><command>fixnt</command></term>
242 <listitem>
243 <para>is supposed to fix the problems in the PostScript files
244 generated by the Microsoft PostScript driver under Windows NT
245 (3.5 and 4.0).</para>
246 <indexterm zone="a2ps fixnt">
247 <primary sortas="b-fixnt">fixnt</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="fixps">
253 <term><command>fixps</command></term>
254 <listitem>
255 <para>tries to fix common PostScript problems that break
256 postprocessing.</para>
257 <indexterm zone="a2ps fixps">
[56ab82c]258 <primary sortas="b-fixps">fixps</primary>
[db35990d]259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="ogonkify">
264 <term><command>ogonkify</command></term>
265 <listitem>
266 <para>provides international support for Postscript by performing
267 various munging of PostScript files related to printing in different
268 languages.</para>
269 <indexterm zone="a2ps ogonkify">
270 <primary sortas="b-ogonkify">ogonkify</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="pdiff">
276 <term><command>pdiff</command></term>
277 <listitem>
278 <para>produces a pretty comparison between files.</para>
279 <indexterm zone="a2ps pdiff">
280 <primary sortas="b-pdiff">pdiff</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="psmandup">
286 <term><command>psmandup</command></term>
287 <listitem>
288 <para>tries to produce a version of a given PostScript file to
289 print in manual duplex.</para>
290 <indexterm zone="a2ps psmandup">
291 <primary sortas="b-psmandup">psmandup</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="psset">
297 <term><command>psset</command></term>
298 <listitem>
299 <para>produces a version of a given PostScript file with a
300 protected call to the PostScript operator 'setpagedevice'.
301 Typical use is making a file print duplex, or on the manual
302 tray, etc.</para>
303 <indexterm zone="a2ps psset">
304 <primary sortas="b-psset">psset</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="texi2dvi4a2ps">
310 <term><command>texi2dvi4a2ps</command></term>
311 <listitem>
312 <para>compiles Texinfo and LaTeX files to DVI or PDF</para>
313 <indexterm zone="a2ps texi2dvi4a2ps">
314 <primary sortas="b-texi2dvi4a2ps">texi2dvi4a2ps</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 </variablelist>
320
321 </sect2>
[5fd03d2]322
323</sect1>
Note: See TracBrowser for help on using the repository browser.