source: pst/ps/a2ps.xml@ 959f944

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 959f944 was 959f944, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML update for Chapter 45

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

  • Property mode set to 100644
File size: 4.6 KB
Line 
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<?dbhtml filename="a2ps.html"?>
15<title>a2ps-&a2ps-version;</title>
16
17<sect2>
18<title>Introduction to <application>a2ps</application></title>
19
20<para><application>a2ps</application> is a filter utilitized mainly in the
21background and primarily by printing scripts to convert almost
22every input format into PostScript output. The application's name expands
23appropriately to "all to PostScript".</para>
24
25<sect3><title>Package information</title>
26<itemizedlist spacing='compact'>
27<listitem><para>Download (HTTP): <ulink
28url="&a2ps-download-http;"/></para></listitem>
29<listitem><para>Download (FTP): <ulink
30url="&a2ps-download-ftp;"/></para></listitem>
31<listitem><para>Download size: &a2ps-size;</para></listitem>
32<listitem><para>Estimated Disk space required:
33&a2ps-buildsize;</para></listitem>
34<listitem><para>Estimated build time:
35&a2ps-time;</para></listitem></itemizedlist>
36</sect3>
37
38<sect3><title>Additional downloads</title>
39<itemizedlist spacing='compact'>
40<listitem><para>International fonts: <ulink
41url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/>
42</para></listitem></itemizedlist>
43</sect3>
44
45<sect3><title><application>a2ps</application> dependencies</title>
46<sect4><title>Optional</title>
47<para><xref linkend="psutils"/> and
48<xref linkend="gs"/> or <xref linkend="espgs"/>
49</para></sect4>
50</sect3>
51
52</sect2>
53
54<sect2>
55<title>Installation of <application>a2ps</application></title>
56
57
58<para>Install <application>a2ps</application> by running the following commands:
59</para>
60
61<screen><userinput><command>cd contrib &amp;&amp;
62cp Makefile.in Makefile.in.orig &amp;&amp;
63sed -e "s:emacs::" Makefile.in.orig > Makefile.in &amp;&amp;
64cd .. &amp;&amp;
65cp configure{,.orig} &amp;&amp;
66sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
67 configure.orig > configure &amp;&amp;
68./configure --prefix=/usr \
69 --sysconfdir=/etc/a2ps --localstatedir=/var \
70 --with-medium=letter &amp;&amp;
71make &amp;&amp;
72make install</command></userinput></screen>
73
74</sect2>
75
76<sect2>
77<title>Command explanations</title>
78
79<para><screen><command>cd contrib &amp;&amp;
80cp Makefile.in Makefile.in.orig &amp;&amp;
81sed -e "s:emacs::" Makefile.in.orig > Makefile.in &amp;&amp;
82cd .. &amp;&amp;</command></screen>
83These commands eliminate the compiling and installing of the
84<application>Emacs</application> script files. If you have substituted
85<application>Emacs</application> for <application>Vi</application> as your
86primary editor, you would want to skip these instructions.</para>
87
88<para><screen><command>cp configure{,.orig} &amp;&amp;
89sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
90 configure.orig > configure</command></screen>
91This command modifies the configure script to search for
92<application>Ghostscript</application> fonts
93at the location where they were installed by the <acronym>BLFS</acronym>
94instructions.</para>
95
96<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
97goes to <filename class="directory">/etc/a2ps</filename> instead of
98<filename class="directory">/usr/etc</filename>.</para>
99
100<para><parameter>--with-medium=letter</parameter>: This switch changes
101the default paper format of A4 to letter. Installations that utilize A4
102would eliminate this switch.</para>
103
104</sect2>
105
106<sect2>
107<title>Configuring <application>a2ps</application></title>
108
109<sect3><title>Config files</title>
110
111<para><filename>/etc/a2ps/a2ps.cfg</filename>, <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
112
113</sect3>
114
115<sect3><title>Configuration Information</title>
116
117<para>Information about configuring <application>a2ps</application> can be
118found in the comments contained in the above files, and also by
119running <command>info a2ps</command>.</para>
120</sect3>
121
122</sect2>
123
124<sect2>
125<title>Contents</title>
126
127<para>The <application>a2ps</application> package
128contains <command>a2ps</command> and filter data.</para>
129</sect2>
130
131
132<sect2><title>Description</title>
133
134<sect3><title>a2ps</title>
135
136<para><command>a2ps</command> is a filter, utilized primarily by
137printing scripts, that converts standard input or supported files
138to PostScript.</para>
139
140</sect3>
141
142</sect2>
143
144</sect1>
Note: See TracBrowser for help on using the repository browser.