1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//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-size "1.9 MB">
|
---|
9 | <!ENTITY a2ps-buildsize "19.2 MB">
|
---|
10 | <!ENTITY a2ps-time "0.26 SBU">
|
---|
11 | ]>
|
---|
12 |
|
---|
13 | <sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
|
---|
14 | <sect1info>
|
---|
15 | <othername>$LastChangedBy$</othername>
|
---|
16 | <date>$Date$</date>
|
---|
17 | </sect1info>
|
---|
18 | <?dbhtml filename="a2ps.html"?>
|
---|
19 | <title>a2ps-&a2ps-version;</title>
|
---|
20 |
|
---|
21 | <sect2>
|
---|
22 | <title>Introduction to <application>a2ps</application></title>
|
---|
23 |
|
---|
24 | <para><application>a2ps</application> is a filter utilitized mainly in the
|
---|
25 | background and primarily by printing scripts to convert almost
|
---|
26 | every input format into PostScript output. The application's name expands
|
---|
27 | appropriately to "all to PostScript".</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
31 | <listitem><para>Download (HTTP): <ulink
|
---|
32 | url="&a2ps-download-http;"/></para></listitem>
|
---|
33 | <listitem><para>Download (FTP): <ulink
|
---|
34 | url="&a2ps-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download size: &a2ps-size;</para></listitem>
|
---|
36 | <listitem><para>Estimated Disk space required:
|
---|
37 | &a2ps-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time:
|
---|
39 | &a2ps-time;</para></listitem></itemizedlist>
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | <sect3><title>Additional downloads</title>
|
---|
43 | <itemizedlist spacing='compact'>
|
---|
44 | <listitem><para>International fonts: <ulink
|
---|
45 | url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/>
|
---|
46 | </para></listitem></itemizedlist>
|
---|
47 | </sect3>
|
---|
48 |
|
---|
49 | <sect3><title><application>a2ps</application> dependencies</title>
|
---|
50 | <sect4><title>Optional</title>
|
---|
51 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
52 | <xref linkend="psutils"/>, <xref linkend="pst-typesetting-tex"/>,
|
---|
53 | <xref linkend="gs"/> or <xref linkend="espgs"/>,
|
---|
54 | <ulink
|
---|
55 | url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
|
---|
56 | <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
|
---|
57 | Reader</ulink> and
|
---|
58 | <ulink
|
---|
59 | url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
|
---|
60 | </para>
|
---|
61 | </sect4>
|
---|
62 | </sect3>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|
66 | <sect2>
|
---|
67 | <title>Installation of <application>a2ps</application></title>
|
---|
68 |
|
---|
69 | <para>Install <application>a2ps</application> by running the following
|
---|
70 | commands:</para>
|
---|
71 |
|
---|
72 | <screen><userinput><command>sed -i -e "s|emacs||" contrib/Makefile.in &&
|
---|
73 | sed -i -e "s|/usr/local/share|/usr/share|" configure &&
|
---|
74 | sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
|
---|
75 | lib/path-concat.c &&
|
---|
76 | ./configure --prefix=/usr \
|
---|
77 | --sysconfdir=/etc/a2ps --localstatedir=/var \
|
---|
78 | --enable-shared --with-medium=letter &&
|
---|
79 | make &&
|
---|
80 | make install</command></userinput></screen>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | <sect2>
|
---|
85 | <title>Command explanations</title>
|
---|
86 |
|
---|
87 | <para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
|
---|
88 | This command eliminates the compiling and installing of the
|
---|
89 | <application>Emacs</application> script files. If you have substituted
|
---|
90 | <application>Emacs</application> for <application>Vi</application> as your
|
---|
91 | primary editor, skip this step.</para>
|
---|
92 |
|
---|
93 | <para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
|
---|
94 | This command modifies the configure script to search for
|
---|
95 | <application>Ghostscript</application> fonts at the location where they were
|
---|
96 | installed by the <acronym>BLFS</acronym> instructions.</para>
|
---|
97 |
|
---|
98 | <para><command>sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
|
---|
99 | lib/path-concat.c</command>: This command fixes a build problem with
|
---|
100 | <acronym>LFS</acronym> >5.1.</para>
|
---|
101 |
|
---|
102 | <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
|
---|
103 | goes to <filename class="directory">/etc/a2ps</filename> instead of
|
---|
104 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
105 |
|
---|
106 | <para><parameter>--with-medium=letter</parameter>: This switch changes
|
---|
107 | the default paper format of A4 to letter. Installations that utilize A4
|
---|
108 | would eliminate this switch.</para>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2>
|
---|
113 | <title>Configuring <application>a2ps</application></title>
|
---|
114 |
|
---|
115 | <sect3><title>Config files</title>
|
---|
116 |
|
---|
117 | <para><filename>/etc/a2ps/a2ps.cfg</filename>,
|
---|
118 | <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
|
---|
119 |
|
---|
120 | </sect3>
|
---|
121 |
|
---|
122 | <sect3><title>Configuration Information</title>
|
---|
123 |
|
---|
124 | <para>Information about configuring <application>a2ps</application> can be
|
---|
125 | found in the comments contained in the above files, and also by
|
---|
126 | running <command>info a2ps</command>.</para>
|
---|
127 | </sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2>
|
---|
132 | <title>Contents</title>
|
---|
133 |
|
---|
134 | <para>The <application>a2ps</application> package
|
---|
135 | contains <command>a2ps</command> and filter data.</para>
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2><title>Description</title>
|
---|
139 |
|
---|
140 | <sect3><title>a2ps</title>
|
---|
141 |
|
---|
142 | <para><command>a2ps</command> is a filter, utilized primarily by
|
---|
143 | printing scripts, that converts standard input or supported files
|
---|
144 | to PostScript.</para>
|
---|
145 | </sect3>
|
---|
146 |
|
---|
147 | </sect2>
|
---|
148 |
|
---|
149 | </sect1>
|
---|