source: pst/ps/a2ps.xml@ 03d51788

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 03d51788 was 03d51788, checked in by Randy McMurchy <randy@…>, 19 years ago

Added index tags to TeX

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

  • Property mode set to 100644
File size: 6.9 KB
RevLine 
[959f944]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
[5fd03d2]13<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
[a0f03b0]14<sect1info>
[5cd0959d]15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
[a0f03b0]17</sect1info>
[dd3f20f0]18<?dbhtml filename="a2ps.html"?>
[5fd03d2]19<title>a2ps-&a2ps-version;</title>
20
[959f944]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>
[518538f]36<listitem><para>Estimated disk space required:
[959f944]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>
[1eee454]51<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
[03d51788]52<xref linkend="psutils"/>, <xref linkend="tex"/>,
[1eee454]53<xref linkend="gs"/> or <xref linkend="espgs"/>,
54<ulink
55url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
56<ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
57Reader</ulink> and
58<ulink
59url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
60</para>
61</sect4>
[959f944]62</sect3>
63
64</sect2>
65
66<sect2>
67<title>Installation of <application>a2ps</application></title>
68
[1eee454]69<para>Install <application>a2ps</application> by running the following
70commands:</para>
[959f944]71
[1eee454]72<screen><userinput><command>sed -i -e "s|emacs||" contrib/Makefile.in &amp;&amp;
73sed -i -e "s|/usr/local/share|/usr/share|" configure &amp;&amp;
74sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
75 lib/path-concat.c &amp;&amp;
[959f944]76./configure --prefix=/usr \
77 --sysconfdir=/etc/a2ps --localstatedir=/var \
[1eee454]78 --enable-shared --with-medium=letter &amp;&amp;
[959f944]79make &amp;&amp;
80make install</command></userinput></screen>
81
82</sect2>
83
84<sect2>
85<title>Command explanations</title>
86
[1eee454]87<para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
88This command eliminates the compiling and installing of the
89<application>Emacs</application> script files. If you have substituted
[959f944]90<application>Emacs</application> for <application>Vi</application> as your
[1eee454]91primary editor, skip this step.</para>
[959f944]92
[1eee454]93<para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
[959f944]94This command modifies the configure script to search for
[1eee454]95<application>Ghostscript</application> fonts at the location where they were
96installed 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> &gt;5.1.</para>
[959f944]101
102<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
103goes to <filename class="directory">/etc/a2ps</filename> instead of
104<filename class="directory">/usr/etc</filename>.</para>
105
[95426ad]106<para><parameter>--enable-shared</parameter>: This switch enables building
107the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
108
[959f944]109<para><parameter>--with-medium=letter</parameter>: This switch changes
110the default paper format of A4 to letter. Installations that utilize A4
111would eliminate this switch.</para>
112
113</sect2>
114
115<sect2>
116<title>Configuring <application>a2ps</application></title>
117
118<sect3><title>Config files</title>
119
[1eee454]120<para><filename>/etc/a2ps/a2ps.cfg</filename>,
121<filename>/etc/a2ps/a2ps-site.cfg</filename></para>
[959f944]122
123</sect3>
124
125<sect3><title>Configuration Information</title>
126
127<para>Information about configuring <application>a2ps</application> can be
128found in the comments contained in the above files, and also by
129running <command>info a2ps</command>.</para>
130</sect3>
131
132</sect2>
133
134<sect2>
135<title>Contents</title>
136
137<para>The <application>a2ps</application> package
[95426ad]138contains <command>a2ps</command>, <command>card</command>,
139<command>composeglyphs</command>, <command>fixnt</command>,
140<command>fixps</command>, <command>ogonkify</command>,
141<command>pdiff</command>, <command>psmandup</command>,
142<command>psset</command>, <command>texi2dvi4a2ps</command>,
143<filename class='libraryfile'>liba2ps</filename> libraries
144and filter data.</para>
[959f944]145</sect2>
146
147<sect2><title>Description</title>
148
149<sect3><title>a2ps</title>
150<para><command>a2ps</command> is a filter, utilized primarily by
151printing scripts, that converts standard input or supported files
[95426ad]152to PostScript.</para></sect3>
153
154<sect3><title>card</title>
155<para><command>card</command> prints a reference card of a given program's
156options.</para></sect3>
157
158<sect3><title>composeglyphs</title>
159<para><command>composeglyphs</command> creates a composite font
160program.</para></sect3>
161
162<sect3><title>fixnt</title>
163<para><command>fixnt</command> is supposed to fix the problems in
164the PostScript files generated by the Microsoft PostScript driver under
165Windows NT (3.5 and 4.0).</para></sect3>
166
167<sect3><title>fixps</title>
168<para><command>fixps</command> tries to fix common PostScript problems that
169break postprocessing.</para></sect3>
170
171<sect3><title>ogonkify</title>
172<para><command>ogonkify</command> provides international support for
173Postscript by performing various munging of PostScript files
174related to printing in different languages.</para></sect3>
175
176<sect3><title>pdiff</title>
177<para><command>pdiff</command> produces a pretty comparison between
178files.</para></sect3>
179
180<sect3><title>psmandup</title>
181<para><command>psmandup</command> tries to produce a version of a given
182PostScript file to print in manual duplex.</para></sect3>
183
184<sect3><title>psset</title>
185<para><command>psset</command> produces a version of a given PostScript file
186with a protected call to the PostScript operator 'setpagedevice'. Typical use
187is making a file print duplex, or on the manual tray, etc.</para></sect3>
188
189<sect3><title>texi2dvi4a2ps</title>
190<para><command>texi2dvi4a2ps</command> compiles Texinfo and LaTeX files to
191<acronym>DVI</acronym> or <acronym>PDF</acronym></para></sect3>
[959f944]192
193</sect2>
[5fd03d2]194
195</sect1>
Note: See TracBrowser for help on using the repository browser.