source: pst/ps/enscript.xml@ 06908bf6

10.0 10.1 11.0 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 06908bf6 was 06908bf6, checked in by Pierre Labastie <pieere@…>, 2 years ago

Add remap="doc", remap="test", or just realign them

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

  • Property mode set to 100644
File size: 8.4 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 "&gnu-http;/enscript/enscript-&enscript-version;.tar.gz">
12 <!ENTITY enscript-download-ftp "&gnu-ftp;/enscript/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 &lfs84_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 (does not support parallel
110 make):</para>
111
112<screen remap="doc"><userinput>make -j1 -C docs ps pdf</userinput></screen>
113
114 <para>To test the results, issue: <command>make check</command>.</para>
115
116 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
117
118<screen role="root"><userinput>make install &amp;&amp;
119
120install -v -m755 -d /usr/share/doc/enscript-&enscript-version; &amp;&amp;
121install -v -m644 README* *.txt docs/*.txt \
122 /usr/share/doc/enscript-&enscript-version;</userinput></screen>
123
124 <para>If you built Postscript and PDF documentation, install it
125 using the following command as the
126 <systemitem class="username">root</systemitem> user:</para>
127
128<screen role="root"
129 remap="doc"><userinput>install -v -m644 docs/*.{dvi,pdf,ps} \
130 /usr/share/doc/enscript-&enscript-version;</userinput></screen>
131 </sect2>
132
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
137 configuration data in <filename class="directory">/etc/enscript</filename>
138 instead of <filename class="directory">/usr/etc</filename>.</para>
139
140 <para><parameter>--localstatedir=/var</parameter>: This switch sets the
141 directory for runtime data to <filename class="directory">/var</filename>
142 instead of <filename class="directory">/usr/var</filename>.</para>
143
144 <para><parameter>--with-media=Letter</parameter>: This switch sets the
145 medium format to letter size instead of the A4 default.</para>
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>diffpp, enscript, mkafmmap, over, sliceprint,
158 and states</seg>
159 <seg>None</seg>
160 <seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version;, and
161 /usr/share/enscript</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="diffpp">
171 <term><command>diffpp</command></term>
172 <listitem>
173 <para>converts <command>diff</command> output files to a format
174 suitable to be printed with <command>enscript</command>.</para>
175 <indexterm zone="enscript diffpp">
176 <primary sortas="b-diffpp">diffpp</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="enscript-prog">
182 <term><command>enscript</command></term>
183 <listitem>
184 <para>is a filter, used primarily by printing scripts, that
185 converts ASCII text files to PostScript, HTML, RTF, ANSI and
186 overstrikes.</para>
187 <indexterm zone="enscript enscript-prog">
188 <primary sortas="b-enscript">enscript</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="mkafmmap">
194 <term><command>mkafmmap</command></term>
195 <listitem>
196 <para>creates a font map from a given file.</para>
197 <indexterm zone="enscript mkafmmap">
198 <primary sortas="b-mkafmmap">mkafmmap</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="over">
204 <term><command>over</command></term>
205 <listitem>
206 <para>is a script which calls <command>enscript</command> and
207 passes the correct parameters to create overstriked fonts.</para>
208 <indexterm zone="enscript over">
209 <primary sortas="b-over">over</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="sliceprint">
215 <term><command>sliceprint</command></term>
216 <listitem>
217 <para>slices documents with long lines.</para>
218 <indexterm zone="enscript sliceprint">
219 <primary sortas="b-sliceprint">sliceprint</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="states">
225 <term><command>states</command></term>
226 <listitem>
227 <para>is an <command>awk</command>-like text processing tool
228 with some state machine extensions. It is designed for program
229 source code highlighting and for similar tasks where state
230 information helps input processing.</para>
231 <indexterm zone="enscript states">
232 <primary sortas="b-states">states</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 </variablelist>
238
239 </sect2>
240
241</sect1>
Note: See TracBrowser for help on using the repository browser.