source: pst/ps/a2ps.xml@ a0f03b0

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 a0f03b0 was a0f03b0, checked in by Archaic <archaic@…>, 20 years ago

Inserting sect1info

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

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