source: pst/ps/enscript.xml@ f594857

10.0 10.1 11.0 11.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f594857 was 80d6d7d5, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Finish tagging networking and pst sections

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

  • Property mode set to 100644
File size: 8.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Keeping this URL as this is the actual maintainer's site
8 <!ENTITY enscript-download-http "http://www.iki.fi/mtr/genscript/enscript-&enscript-version;.tar.gz">
9 -->
10
11 <!ENTITY enscript-download-http "http://ftp.gnu.org/gnu/enscript/enscript-&enscript-version;.tar.gz">
12 <!ENTITY enscript-download-ftp "&gentoo-ftp-repo;/enscript-&enscript-version;.tar.gz">
13 <!ENTITY enscript-md5sum "3acc242b829adacabcaf28533f049afd">
14 <!ENTITY enscript-size "1.3 MB">
15 <!ENTITY enscript-buildsize "14 MB">
16 <!ENTITY enscript-time "0.1 SBU">
17]>
18
19<sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
20 <?dbhtml filename="enscript.html"?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
25 </sect1info>
26
27 <title>Enscript-&enscript-version;</title>
28
29 <indexterm zone="enscript">
30 <primary sortas="a-Enscript">Enscript</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Enscript</title>
35
36 <para><application>Enscript</application> converts ASCII text files
37 to PostScript, HTML, RTF, ANSI and overstrikes.</para>
38
39 &lfs77_checked;
40
41 <caution>
42 <para><application>Enscript</application> cannot convert UTF-8 encoded
43 text to PostScript. The issue is discussed in detail in the
44 <xref linkend="locale-not-valid-option"/> section of the
45 <xref linkend="locale-issues"/> page.
46 The solution is to use <xref linkend="paps"/>, instead of
47 <application>Enscript</application>, for converting
48 UTF-8 encoded text to PostScript.</para>
49 </caution>
50
51 <bridgehead renderas="sect3">Package Information</bridgehead>
52 <itemizedlist spacing="compact">
53 <listitem>
54 <para>Download (HTTP): <ulink url="&enscript-download-http;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download (FTP): <ulink url="&enscript-download-ftp;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download MD5 sum: &enscript-md5sum;</para>
61 </listitem>
62 <listitem>
63 <para>Download size: &enscript-size;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated disk space required: &enscript-buildsize;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated build time: &enscript-time;</para>
70 </listitem>
71 </itemizedlist>
72
73 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>Required patch: <ulink
77 url="&patch-root;/enscript-&enscript-version;-security_fixes-1.patch"/></para>
78 </listitem>
79 </itemizedlist> -->
80
81 <bridgehead renderas="sect3">Enscript Dependencies</bridgehead>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/Enscript"/></para>
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of Enscript</title>
94
95 <para>Install <application>Enscript</application> by running the
96 following commands:</para>
97
98<screen><userinput>./configure --prefix=/usr \
99 --sysconfdir=/etc/enscript \
100 --localstatedir=/var \
101 --with-media=Letter &amp;&amp;
102make &amp;&amp;
103
104pushd docs &amp;&amp;
105 makeinfo --plaintext -o enscript.txt enscript.texi &amp;&amp;
106popd</userinput></screen>
107
108 <para>If you have <xref linkend="texlive"/> installed, you can create
109 Postscript and PDF documentation by issuing:
110 <command>make -C docs ps pdf</command>.</para>
111
112 <para>To test the results, issue: <command>make check</command>.</para>
113
114 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
115
116<screen role="root"><userinput>make install &amp;&amp;
117
118install -v -m755 -d /usr/share/doc/enscript-&enscript-version; &amp;&amp;
119install -v -m644 README* *.txt docs/*.txt \
120 /usr/share/doc/enscript-&enscript-version;</userinput></screen>
121
122 <para>If you built Postscript and PDF documentation, install it
123 using the following command as the
124 <systemitem class="username">root</systemitem> user:</para>
125
126<screen role="root"><userinput>install -v -m644 docs/*.{dvi,pdf,ps} \
127 /usr/share/doc/enscript-&enscript-version;</userinput></screen>
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
134 configuration data in <filename class="directory">/etc/enscript</filename>
135 instead of <filename class="directory">/usr/etc</filename>.</para>
136
137 <para><parameter>--localstatedir=/var</parameter>: This switch sets the
138 directory for runtime data to <filename class="directory">/var</filename>
139 instead of <filename class="directory">/usr/var</filename>.</para>
140
141 <para><parameter>--with-media=Letter</parameter>: This switch sets the
142 medium format to letter size instead of the A4 default.</para>
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>diffpp, enscript, mkafmmap, over, sliceprint,
155 and states</seg>
156 <seg>None</seg>
157 <seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version;, and
158 /usr/share/enscript</seg>
159 </seglistitem>
160 </segmentedlist>
161
162 <variablelist>
163 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
164 <?dbfo list-presentation="list"?>
165 <?dbhtml list-presentation="table"?>
166
167 <varlistentry id="diffpp">
168 <term><command>diffpp</command></term>
169 <listitem>
170 <para>converts <command>diff</command> output files to a format
171 suitable to be printed with <command>enscript</command>.</para>
172 <indexterm zone="enscript diffpp">
173 <primary sortas="b-diffpp">diffpp</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="enscript-prog">
179 <term><command>enscript</command></term>
180 <listitem>
181 <para>is a filter, used primarily by printing scripts, that
182 converts ASCII text files to PostScript, HTML, RTF, ANSI and
183 overstrikes.</para>
184 <indexterm zone="enscript enscript-prog">
185 <primary sortas="b-enscript">enscript</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="mkafmmap">
191 <term><command>mkafmmap</command></term>
192 <listitem>
193 <para>creates a font map from a given file.</para>
194 <indexterm zone="enscript mkafmmap">
195 <primary sortas="b-mkafmmap">mkafmmap</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="over">
201 <term><command>over</command></term>
202 <listitem>
203 <para>is a script which calls <command>enscript</command> and
204 passes the correct parameters to create overstriked fonts.</para>
205 <indexterm zone="enscript over">
206 <primary sortas="b-over">over</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="sliceprint">
212 <term><command>sliceprint</command></term>
213 <listitem>
214 <para>slices documents with long lines.</para>
215 <indexterm zone="enscript sliceprint">
216 <primary sortas="b-sliceprint">sliceprint</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="states">
222 <term><command>states</command></term>
223 <listitem>
224 <para>is an <command>awk</command>-like text processing tool
225 with some state machine extensions. It is designed for program
226 source code highlighting and for similar tasks where state
227 information helps input processing.</para>
228 <indexterm zone="enscript states">
229 <primary sortas="b-states">states</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.