2005-05-16 19:48:21 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 13:25:53 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-11-12 14:15:55 +08:00
|
|
|
|
2005-09-22 00:26:53 +08:00
|
|
|
<!-- Keeping this URL as this is the actual maintainer's site
|
2004-11-12 14:15:55 +08:00
|
|
|
<!ENTITY enscript-download-http "http://www.iki.fi/mtr/genscript/enscript-&enscript-version;.tar.gz">
|
2005-09-22 00:26:53 +08:00
|
|
|
-->
|
|
|
|
|
|
|
|
<!ENTITY enscript-download-http "http://fresh.t-systems-sfr.com/unix/src/misc/enscript-&enscript-version;.tar.gz">
|
2007-07-15 07:27:07 +08:00
|
|
|
<!ENTITY enscript-download-ftp "&gentoo-ftp-repo;/enscript-&enscript-version;.tar.gz">
|
2005-02-16 12:09:14 +08:00
|
|
|
<!ENTITY enscript-md5sum "b5174b59e4a050fb462af5dbf28ebba3">
|
2004-11-12 14:15:55 +08:00
|
|
|
<!ENTITY enscript-size "1.0 MB">
|
2006-04-12 21:47:38 +08:00
|
|
|
<!ENTITY enscript-buildsize "11.5 MB">
|
|
|
|
<!ENTITY enscript-time "less than 0.1 SBU">
|
2004-06-14 13:25:53 +08:00
|
|
|
]>
|
|
|
|
|
2004-11-12 14:15:55 +08:00
|
|
|
<sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
|
2005-05-16 19:48:21 +08:00
|
|
|
<?dbhtml filename="enscript.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Enscript-&enscript-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="enscript">
|
|
|
|
<primary sortas="a-Enscript">Enscript</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Enscript</title>
|
|
|
|
|
|
|
|
<para><application>Enscript</application> converts ASCII text files
|
|
|
|
to PostScript, HTML, RTF, ANSI and overstrikes.</para>
|
|
|
|
|
2007-02-02 19:00:08 +08:00
|
|
|
<caution>
|
|
|
|
<para><application>Enscript</application> cannot convert UTF-8 encoded
|
|
|
|
text to PostScript. The issue is discussed in detail in the
|
|
|
|
<xref linkend="locale-not-valid-option"/> section of the
|
|
|
|
<xref linkend="locale-issues"/> page.
|
|
|
|
The solution is to use <xref linkend="paps"/>, instead of
|
|
|
|
<application>Enscript</application>, for converting
|
|
|
|
UTF-8 encoded text to PostScript.</para>
|
|
|
|
</caution>
|
|
|
|
|
2005-05-16 19:48:21 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&enscript-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&enscript-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &enscript-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &enscript-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &enscript-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &enscript-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2006-04-12 21:47:38 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
url="&patch-root;/enscript-&enscript-version;-security_fixes-1.patch"/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2006-04-11 02:38:41 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2006-04-12 21:47:38 +08:00
|
|
|
<ulink url="&blfs-wiki;/Enscript"/></para>
|
2006-04-11 02:38:41 +08:00
|
|
|
|
2005-05-16 19:48:21 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Enscript</title>
|
|
|
|
|
|
|
|
<para>Install <application>Enscript</application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
2006-04-12 21:47:38 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../enscript-&enscript-version;-security_fixes-1.patch &&
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc/enscript \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--with-media=Letter &&
|
2005-06-17 04:04:11 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2006-05-11 05:29:18 +08:00
|
|
|
<para>Though it is very sparse, if you have <xref linkend="tetex"/>
|
2006-04-12 21:47:38 +08:00
|
|
|
installed, you can create alternate forms of the documentation by issuing
|
|
|
|
any or all of the following commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make -C docs ps &&
|
|
|
|
make -C docs pdf &&
|
|
|
|
|
|
|
|
cd docs &&
|
|
|
|
texi2html enscript.texi &&
|
|
|
|
makeinfo --plaintext -o enscript.txt enscript.texi &&
|
|
|
|
cd ..</userinput></screen>
|
|
|
|
|
2005-06-17 04:04:11 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2006-04-12 21:47:38 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -v -m755 -d /usr/share/doc/enscript-&enscript-version; &&
|
|
|
|
install -v -m644 README* *.txt docs/FAQ.html \
|
|
|
|
/usr/share/doc/enscript-&enscript-version;</userinput></screen>
|
|
|
|
|
|
|
|
<para>If you built any of the alternate forms of documentation, install it
|
|
|
|
using the following command as the
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>install -v -m644 docs/*.{dvi,html,pdf,ps,txt} \
|
|
|
|
/usr/share/doc/enscript-&enscript-version;</userinput></screen>
|
2005-05-16 19:48:21 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
|
|
|
|
configuration data in <filename class="directory">/etc/enscript</filename>
|
|
|
|
instead of <filename class="directory">/usr/etc</filename>.</para>
|
|
|
|
|
|
|
|
<para><parameter>--localstatedir=/var</parameter>: This switch sets the
|
|
|
|
directory for runtime data to <filename class="directory">/var</filename>
|
|
|
|
instead of <filename class="directory">/usr/var</filename>.</para>
|
|
|
|
|
|
|
|
<para><parameter>--with-media=Letter</parameter>: This switch sets the
|
|
|
|
medium format to letter.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>diffpp, enscript, mkafmmap, over, sliceprint,
|
|
|
|
and states</seg>
|
|
|
|
<seg>None</seg>
|
2006-04-12 21:47:38 +08:00
|
|
|
<seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version; and
|
|
|
|
/usr/share/enscript</seg>
|
2005-05-16 19:48:21 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="diffpp">
|
|
|
|
<term><command>diffpp</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>converts <command>diff</command> output files to a format
|
|
|
|
suitable to be printed with <command>enscript</command>.</para>
|
|
|
|
<indexterm zone="enscript diffpp">
|
|
|
|
<primary sortas="b-diffpp">diffpp</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="enscript-prog">
|
|
|
|
<term><command>enscript</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a filter, used primarily by printing scripts, that
|
|
|
|
converts ASCII text files to PostScript, HTML, RTF, ANSI and
|
|
|
|
overstrikes.</para>
|
|
|
|
<indexterm zone="enscript enscript-prog">
|
|
|
|
<primary sortas="b-enscript">enscript</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="mkafmmap">
|
|
|
|
<term><command>mkafmmap</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>creates a font map from a given file.</para>
|
|
|
|
<indexterm zone="enscript mkafmmap">
|
|
|
|
<primary sortas="b-mkafmmap">mkafmmap</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="over">
|
|
|
|
<term><command>over</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a script which calls <command>enscript</command> and
|
|
|
|
passes the correct parameters to create overstriked fonts.</para>
|
|
|
|
<indexterm zone="enscript over">
|
|
|
|
<primary sortas="b-over">over</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="sliceprint">
|
|
|
|
<term><command>sliceprint</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>slices documents with long lines.</para>
|
|
|
|
<indexterm zone="enscript sliceprint">
|
|
|
|
<primary sortas="b-sliceprint">sliceprint</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="states">
|
|
|
|
<term><command>states</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is an <command>awk</command>-like text processing tool
|
|
|
|
with some state machine extensions. It is designed for program
|
|
|
|
source code highlighting and for similar tasks where state
|
|
|
|
information helps input processing.</para>
|
|
|
|
<indexterm zone="enscript states">
|
|
|
|
<primary sortas="b-states">states</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2003-10-04 16:58:56 +08:00
|
|
|
|
|
|
|
</sect1>
|