source: pst/ps/a2ps.xml@ 86af98a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 86af98a was 86af98a, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Updated trunk sources to use DocBook DTD XML 4.4

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

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
7 <!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
8 <!ENTITY a2ps-md5sum "0c8e0c31b08c14f7a7198ce967eb3281">
9 <!ENTITY a2ps-size "1.9 MB">
10 <!ENTITY a2ps-buildsize "19.2 MB">
11 <!ENTITY a2ps-time "0.26 SBU">
12]>
13
14<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="a2ps.html"?>
20<title>a2ps-&a2ps-version;</title>
21
22<sect2>
23<title>Introduction to <application>a2ps</application></title>
24
25<para><application>a2ps</application> is a filter utilitized mainly in the
26background and primarily by printing scripts to convert almost
27every input format into PostScript output. The application's name expands
28appropriately to "all to PostScript".</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink
33url="&a2ps-download-http;"/></para></listitem>
34<listitem><para>Download (FTP): <ulink
35url="&a2ps-download-ftp;"/></para></listitem>
36<listitem><para>Download MD5 sum: &a2ps-md5sum;</para></listitem>
37<listitem><para>Download size: &a2ps-size;</para></listitem>
38<listitem><para>Estimated disk space required:
39&a2ps-buildsize;</para></listitem>
40<listitem><para>Estimated build time:
41&a2ps-time;</para></listitem></itemizedlist>
42</sect3>
43
44<sect3><title>Additional downloads</title>
45<itemizedlist spacing='compact'>
46<listitem><para>International fonts: <ulink
47url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/></para></listitem>
48</itemizedlist>
49</sect3>
50
51<sect3><title><application>a2ps</application> dependencies</title>
52<sect4><title>Optional</title>
53<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
54<xref linkend="psutils"/>,
55<xref linkend="tex"/>,
56<xref linkend="gs"/> or <xref linkend="espgs"/>,
57<ulink
58url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
59<ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
60Reader</ulink> and
61<ulink
62url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
63</para>
64</sect4>
65</sect3>
66
67</sect2>
68
69<sect2>
70<title>Installation of <application>a2ps</application></title>
71
72<para>Install <application>a2ps</application> by running the following
73commands:</para>
74
75<screen><userinput><command>sed -i -e "s|emacs||" contrib/Makefile.in &amp;&amp;
76sed -i -e "s|/usr/local/share|/usr/share|" configure &amp;&amp;
77sed -i -e "s|char \*malloc ();|/* &amp; */|" \
78 lib/path-concat.c &amp;&amp;
79./configure --prefix=/usr \
80 --sysconfdir=/etc/a2ps --localstatedir=/var \
81 --enable-shared --with-medium=letter &amp;&amp;
82make &amp;&amp;
83make install</command></userinput></screen>
84
85</sect2>
86
87<sect2>
88<title>Command explanations</title>
89
90<para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
91This command eliminates the compiling and installing of the
92<application>Emacs</application> script files. If you have substituted
93<application>Emacs</application> for <application>Vi</application> as your
94primary editor, skip this step.</para>
95
96<para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
97This command modifies the configure script to search for
98<application>Ghostscript</application> fonts at the location where they were
99installed by the <acronym>BLFS</acronym> instructions.</para>
100
101<para><command>sed -i -e "s|char \*malloc ();|/* &amp; */|"
102lib/path-concat.c</command>: This command fixes a build problem with
103<application><acronym>GCC</acronym></application>-3.4.x</para>
104
105<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
106is installed in <filename class="directory">/etc/a2ps</filename> instead of
107<filename class="directory">/usr/etc</filename>.</para>
108
109<para><parameter>--enable-shared</parameter>: This switch enables building
110the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
111
112<para><parameter>--with-medium=letter</parameter>: This switch changes
113the default paper format of A4 to letter. Installations that utilize A4
114would eliminate this switch.</para>
115
116</sect2>
117
118<sect2>
119<title>Configuring <application>a2ps</application></title>
120
121<sect3><title>Config files</title>
122
123<para><filename>/etc/a2ps/a2ps.cfg</filename>,
124<filename>/etc/a2ps/a2ps-site.cfg</filename></para>
125
126</sect3>
127
128<sect3><title>Configuration Information</title>
129
130<para>Information about configuring <application>a2ps</application> can be
131found in the comments contained in the above files, and also by
132running <command>info a2ps</command>.</para>
133</sect3>
134
135</sect2>
136
137<sect2>
138<title>Contents</title>
139
140<para>The <application>a2ps</application> package
141contains <command>a2ps</command>, <command>card</command>,
142<command>composeglyphs</command>, <command>fixnt</command>,
143<command>fixps</command>, <command>ogonkify</command>,
144<command>pdiff</command>, <command>psmandup</command>,
145<command>psset</command>, <command>texi2dvi4a2ps</command>,
146<filename class='libraryfile'>liba2ps</filename> libraries
147and filter data.</para>
148</sect2>
149
150<sect2><title>Description</title>
151
152<sect3><title>a2ps</title>
153<para><command>a2ps</command> is a filter, utilized primarily by
154printing scripts, that converts standard input or supported files
155to PostScript.</para></sect3>
156
157<sect3><title>card</title>
158<para><command>card</command> prints a reference card of a given program's
159options.</para></sect3>
160
161<sect3><title>composeglyphs</title>
162<para><command>composeglyphs</command> creates a composite font
163program.</para></sect3>
164
165<sect3><title>fixnt</title>
166<para><command>fixnt</command> is supposed to fix the problems in
167the PostScript files generated by the Microsoft PostScript driver under
168Windows NT (3.5 and 4.0).</para></sect3>
169
170<sect3><title>fixps</title>
171<para><command>fixps</command> tries to fix common PostScript problems that
172break postprocessing.</para></sect3>
173
174<sect3><title>ogonkify</title>
175<para><command>ogonkify</command> provides international support for
176Postscript by performing various munging of PostScript files
177related to printing in different languages.</para></sect3>
178
179<sect3><title>pdiff</title>
180<para><command>pdiff</command> produces a pretty comparison between
181files.</para></sect3>
182
183<sect3><title>psmandup</title>
184<para><command>psmandup</command> tries to produce a version of a given
185PostScript file to print in manual duplex.</para></sect3>
186
187<sect3><title>psset</title>
188<para><command>psset</command> produces a version of a given PostScript file
189with a protected call to the PostScript operator 'setpagedevice'. Typical use
190is making a file print duplex, or on the manual tray, etc.</para></sect3>
191
192<sect3><title>texi2dvi4a2ps</title>
193<para><command>texi2dvi4a2ps</command> compiles Texinfo and LaTeX files to
194<acronym>DVI</acronym> or <acronym>PDF</acronym></para></sect3>
195
196</sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.