2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect1 id="ch-system-texinfo" xreflabel="Texinfo" role="wrap">
|
2004-05-03 11:59:46 +01:00
|
|
|
<title>Texinfo-&texinfo-version;</title>
|
|
|
|
<?dbhtml filename="texinfo.html"?>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect2 role="package"><title/>
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Texinfo package contains programs for reading, writing, and
|
|
|
|
converting Info documents.</para>
|
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
<seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Texinfo installation depends on</segtitle>
|
|
|
|
<seglistitem><seg>Bash, Binutils, Coreutils,
|
|
|
|
Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2004-05-16 01:08:42 +01:00
|
|
|
<sect2 role="installation">
|
2003-11-01 22:31:50 +00:00
|
|
|
<title>Installation of Texinfo</title>
|
|
|
|
|
|
|
|
<para>Prepare Texinfo for compilation:</para>
|
|
|
|
|
2004-09-02 20:00:13 +01:00
|
|
|
<para>The patch listed below fixes a known segfault in texinfo:</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-segfault-1.patch</userinput></screen>
|
|
|
|
|
|
|
|
<para>Prepare Texinfo for compilation:</para>
|
|
|
|
|
2003-11-01 22:31:50 +00:00
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<para>To test the results, issue:
|
2004-02-07 10:48:55 +00:00
|
|
|
<userinput>make check</userinput>.</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<para>Optionally install the components belonging in a TeX installation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
|
|
|
|
2003-11-03 22:47:39 +00:00
|
|
|
<para>The meaning of the make parameter:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-18 21:38:03 +01:00
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2004-06-19 14:39:28 +01:00
|
|
|
<term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
2004-05-18 21:38:03 +01:00
|
|
|
<listitem><para>The TEXMF
|
2003-11-01 22:31:50 +00:00
|
|
|
makefile variable holds the location of the root of your TeX tree if, for
|
|
|
|
example, you plan to install a TeX package later on.</para></listitem>
|
2004-05-18 21:38:03 +01:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2003-11-17 04:03:27 +00:00
|
|
|
<para>The Info documentation system uses a plain text file to hold its list of
|
|
|
|
menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
|
|
|
Unfortunately, due to occasional problems in the Makefiles of various packages,
|
|
|
|
it can sometimes get out of step with the Info manuals actually installed on the
|
|
|
|
system. If ever you need to recreate the
|
|
|
|
<filename>/usr/share/info/dir</filename> file, the following optional commands
|
|
|
|
will accomplish the task:</para>
|
|
|
|
|
|
|
|
<screen><userinput>cd /usr/share/info
|
|
|
|
rm dir
|
|
|
|
for f in *
|
2004-05-03 11:59:46 +01:00
|
|
|
do install-info $f dir 2>/dev/null
|
2003-11-17 04:03:27 +00:00
|
|
|
done</userinput></screen>
|
|
|
|
|
2003-11-01 22:31:50 +00:00
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2004-05-17 22:55:01 +01:00
|
|
|
<sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-17 22:55:01 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed programs</segtitle>
|
|
|
|
<seglistitem><seg>info, infokey, install-info,
|
|
|
|
makeinfo, texi2dvi and texindex</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-17 22:55:01 +01:00
|
|
|
<variablelist><title>Short descriptions</title>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-24 22:37:26 +01:00
|
|
|
<varlistentry id="info">
|
|
|
|
<term><command>info</command></term>
|
2004-05-17 22:55:01 +01:00
|
|
|
<listitem>
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
2004-05-17 22:55:01 +01:00
|
|
|
<para>is used to read Info documents. Info
|
2004-05-03 11:59:46 +01:00
|
|
|
documents are a bit like man pages, but often go much deeper than just
|
2004-06-19 14:39:28 +01:00
|
|
|
explaining all the flags. Compare for example <command>man tar</command>
|
|
|
|
and <command>info tar</command>.</para>
|
2004-05-17 22:55:01 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-24 22:37:26 +01:00
|
|
|
<varlistentry id="infokey">
|
|
|
|
<term><command>infokey</command></term>
|
2004-05-17 22:55:01 +01:00
|
|
|
<listitem>
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
2004-05-17 22:55:01 +01:00
|
|
|
<para>compiles a source file containing Info
|
2004-05-03 11:59:46 +01:00
|
|
|
customizations into a binary format.</para>
|
2004-05-17 22:55:01 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-24 22:37:26 +01:00
|
|
|
<varlistentry id="install-info">
|
|
|
|
<term><command>install-info</command></term>
|
2004-05-17 22:55:01 +01:00
|
|
|
<listitem>
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
2004-05-17 22:55:01 +01:00
|
|
|
<para>is used to install Info files. It updates entries in the Info index file.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-24 22:37:26 +01:00
|
|
|
<varlistentry id="makeinfo">
|
|
|
|
<term><command>makeinfo</command></term>
|
2004-05-17 22:55:01 +01:00
|
|
|
<listitem>
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
2004-05-17 22:55:01 +01:00
|
|
|
<para>translates the given Texinfo source
|
2004-05-03 11:59:46 +01:00
|
|
|
documents into various other formats: Info files, plain text, or HTML.</para>
|
2004-05-17 22:55:01 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-24 22:37:26 +01:00
|
|
|
<varlistentry id="texi2dvi">
|
|
|
|
<term><command>texi2dvi</command></term>
|
2004-05-17 22:55:01 +01:00
|
|
|
<listitem>
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
2004-05-17 22:55:01 +01:00
|
|
|
<para>is used to format the given Texinfo
|
2004-05-03 11:59:46 +01:00
|
|
|
document into a device-independent file that can be printed.</para>
|
2004-05-17 22:55:01 +01:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-24 22:37:26 +01:00
|
|
|
<varlistentry id="texindex">
|
|
|
|
<term><command>texindex</command></term>
|
2004-05-17 22:55:01 +01:00
|
|
|
<listitem>
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
2004-05-17 22:55:01 +01:00
|
|
|
<para>is used to sort Texinfo index files.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|