[89f473d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[959f944] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[b331bf1] | 6 |
|
---|
[577a45c] | 7 | <!-- Keeping this URL as this is the actual maintainer's site
|
---|
[b331bf1] | 8 | <!ENTITY enscript-download-http "http://www.iki.fi/mtr/genscript/enscript-&enscript-version;.tar.gz">
|
---|
[577a45c] | 9 | -->
|
---|
| 10 |
|
---|
| 11 | <!ENTITY enscript-download-http "http://fresh.t-systems-sfr.com/unix/src/misc/enscript-&enscript-version;.tar.gz">
|
---|
| 12 | <!ENTITY enscript-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/enscript-&enscript-version;.tar.gz">
|
---|
[b3811e1] | 13 | <!ENTITY enscript-md5sum "b5174b59e4a050fb462af5dbf28ebba3">
|
---|
[b331bf1] | 14 | <!ENTITY enscript-size "1.0 MB">
|
---|
[82269e50] | 15 | <!ENTITY enscript-buildsize "11.5 MB">
|
---|
| 16 | <!ENTITY enscript-time "less than 0.1 SBU">
|
---|
[959f944] | 17 | ]>
|
---|
| 18 |
|
---|
[b331bf1] | 19 | <sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
|
---|
[89f473d] | 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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&enscript-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&enscript-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &enscript-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &enscript-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &enscript-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &enscript-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[82269e50] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required patch: <ulink
|
---|
| 65 | url="&patch-root;/enscript-&enscript-version;-security_fixes-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[977061b0] | 69 | <para condition="html" role="usernotes">User Notes:
|
---|
[82269e50] | 70 | <ulink url="&blfs-wiki;/Enscript"/></para>
|
---|
[977061b0] | 71 |
|
---|
[89f473d] | 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of Enscript</title>
|
---|
| 76 |
|
---|
| 77 | <para>Install <application>Enscript</application> by running the
|
---|
| 78 | following commands:</para>
|
---|
| 79 |
|
---|
[82269e50] | 80 | <screen><userinput>patch -Np1 -i ../enscript-&enscript-version;-security_fixes-1.patch &&
|
---|
| 81 | ./configure --prefix=/usr \
|
---|
| 82 | --sysconfdir=/etc/enscript \
|
---|
| 83 | --localstatedir=/var \
|
---|
| 84 | --with-media=Letter &&
|
---|
[46441976] | 85 | make</userinput></screen>
|
---|
| 86 |
|
---|
[520f6b4f] | 87 | <para>Though it is very sparse, if you have <xref linkend="tetex"/>
|
---|
[82269e50] | 88 | installed, you can create alternate forms of the documentation by issuing
|
---|
| 89 | any or all of the following commands:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>make -C docs ps &&
|
---|
| 92 | make -C docs pdf &&
|
---|
| 93 |
|
---|
| 94 | cd docs &&
|
---|
| 95 | texi2html enscript.texi &&
|
---|
| 96 | makeinfo --plaintext -o enscript.txt enscript.texi &&
|
---|
| 97 | cd ..</userinput></screen>
|
---|
| 98 |
|
---|
[46441976] | 99 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 100 |
|
---|
| 101 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
[82269e50] | 103 | <screen role="root"><userinput>make install &&
|
---|
| 104 | install -v -m755 -d /usr/share/doc/enscript-&enscript-version; &&
|
---|
| 105 | install -v -m644 README* *.txt docs/FAQ.html \
|
---|
| 106 | /usr/share/doc/enscript-&enscript-version;</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | <para>If you built any of the alternate forms of documentation, install it
|
---|
| 109 | using the following command as the
|
---|
| 110 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 111 |
|
---|
| 112 | <screen role="root"><userinput>install -v -m644 docs/*.{dvi,html,pdf,ps,txt} \
|
---|
| 113 | /usr/share/doc/enscript-&enscript-version;</userinput></screen>
|
---|
[89f473d] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
|
---|
| 121 | configuration data in <filename class="directory">/etc/enscript</filename>
|
---|
| 122 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 123 |
|
---|
| 124 | <para><parameter>--localstatedir=/var</parameter>: This switch sets the
|
---|
| 125 | directory for runtime data to <filename class="directory">/var</filename>
|
---|
| 126 | instead of <filename class="directory">/usr/var</filename>.</para>
|
---|
| 127 |
|
---|
| 128 | <para><parameter>--with-media=Letter</parameter>: This switch sets the
|
---|
| 129 | medium format to letter.</para>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Libraries</segtitle>
|
---|
| 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
| 142 | <seg>diffpp, enscript, mkafmmap, over, sliceprint,
|
---|
| 143 | and states</seg>
|
---|
| 144 | <seg>None</seg>
|
---|
[82269e50] | 145 | <seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version; and
|
---|
| 146 | /usr/share/enscript</seg>
|
---|
[89f473d] | 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
| 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="diffpp">
|
---|
| 156 | <term><command>diffpp</command></term>
|
---|
| 157 | <listitem>
|
---|
| 158 | <para>converts <command>diff</command> output files to a format
|
---|
| 159 | suitable to be printed with <command>enscript</command>.</para>
|
---|
| 160 | <indexterm zone="enscript diffpp">
|
---|
| 161 | <primary sortas="b-diffpp">diffpp</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="enscript-prog">
|
---|
| 167 | <term><command>enscript</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>is a filter, used primarily by printing scripts, that
|
---|
| 170 | converts ASCII text files to PostScript, HTML, RTF, ANSI and
|
---|
| 171 | overstrikes.</para>
|
---|
| 172 | <indexterm zone="enscript enscript-prog">
|
---|
| 173 | <primary sortas="b-enscript">enscript</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="mkafmmap">
|
---|
| 179 | <term><command>mkafmmap</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>creates a font map from a given file.</para>
|
---|
| 182 | <indexterm zone="enscript mkafmmap">
|
---|
| 183 | <primary sortas="b-mkafmmap">mkafmmap</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="over">
|
---|
| 189 | <term><command>over</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>is a script which calls <command>enscript</command> and
|
---|
| 192 | passes the correct parameters to create overstriked fonts.</para>
|
---|
| 193 | <indexterm zone="enscript over">
|
---|
| 194 | <primary sortas="b-over">over</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="sliceprint">
|
---|
| 200 | <term><command>sliceprint</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>slices documents with long lines.</para>
|
---|
| 203 | <indexterm zone="enscript sliceprint">
|
---|
| 204 | <primary sortas="b-sliceprint">sliceprint</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="states">
|
---|
| 210 | <term><command>states</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>is an <command>awk</command>-like text processing tool
|
---|
| 213 | with some state machine extensions. It is designed for program
|
---|
| 214 | source code highlighting and for similar tasks where state
|
---|
| 215 | information helps input processing.</para>
|
---|
| 216 | <indexterm zone="enscript states">
|
---|
| 217 | <primary sortas="b-states">states</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | </variablelist>
|
---|
| 223 |
|
---|
| 224 | </sect2>
|
---|
[5fd03d2] | 225 |
|
---|
| 226 | </sect1>
|
---|