[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[a001133] | 6 | <sect1 id="ch-system-texinfo" xreflabel="Texinfo" role="wrap">
|
---|
[673b0d8] | 7 | <title>Texinfo-&texinfo-version;</title>
|
---|
| 8 | <?dbhtml filename="texinfo.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
| 14 | converting Info documents.</para>
|
---|
| 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
| 19 | <seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
|
---|
| 20 | </segmentedlist>
|
---|
[673b0d8] | 21 |
|
---|
[a001133] | 22 | <segmentedlist>
|
---|
| 23 | <segtitle>Texinfo installation depends on</segtitle>
|
---|
| 24 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 25 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
---|
| 26 | </segmentedlist>
|
---|
| 27 | </sect2>
|
---|
[3554fa3a] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 30 | <title>Installation of Texinfo</title>
|
---|
| 31 |
|
---|
| 32 | <para>Prepare Texinfo for compilation:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para>Compile the package:</para>
|
---|
| 37 |
|
---|
| 38 | <screen><userinput>make</userinput></screen>
|
---|
| 39 |
|
---|
[673b0d8] | 40 | <para>To test the results, issue:
|
---|
[8a5f906] | 41 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 42 |
|
---|
| 43 | <para>Install the package:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput>make install</userinput></screen>
|
---|
| 46 |
|
---|
[ef13657] | 47 | <para>Optionally, install the components belonging in a TeX installation:</para>
|
---|
[73aedd1d] | 48 |
|
---|
| 49 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 50 |
|
---|
[5763f675] | 51 | <para>The meaning of the make parameter:</para>
|
---|
[73aedd1d] | 52 |
|
---|
[df8334f] | 53 | <variablelist>
|
---|
| 54 | <varlistentry>
|
---|
[8ad7980] | 55 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
[ef13657] | 56 | <listitem><para>The TEXMF makefile variable holds the location of the
|
---|
| 57 | root of the TeX tree if, for example, a TeX package will be installed
|
---|
| 58 | later.</para></listitem>
|
---|
[df8334f] | 59 | </varlistentry>
|
---|
| 60 | </variablelist>
|
---|
[73aedd1d] | 61 |
|
---|
[ef13657] | 62 | <para>The Info documentation system uses a plain text file to hold its
|
---|
| 63 | list of menu entries. The file is located at
|
---|
| 64 | <filename>/usr/share/info/dir</filename>. Unfortunately, due to
|
---|
| 65 | occasional problems in the Makefiles of various packages, it can
|
---|
| 66 | sometimes get out of step with the Info manuals installed on the
|
---|
| 67 | system. If the <filename>/usr/share/info/dir</filename> file ever
|
---|
| 68 | needs to be recreated, the following optional commands will accomplish
|
---|
| 69 | the task:</para>
|
---|
[554b366] | 70 |
|
---|
| 71 | <screen><userinput>cd /usr/share/info
|
---|
| 72 | rm dir
|
---|
| 73 | for f in *
|
---|
[673b0d8] | 74 | do install-info $f dir 2>/dev/null
|
---|
[554b366] | 75 | done</userinput></screen>
|
---|
| 76 |
|
---|
[73aedd1d] | 77 | </sect2>
|
---|
[6370fa6] | 78 |
|
---|
[c6cb3aa] | 79 | <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
---|
[673b0d8] | 80 |
|
---|
[c6cb3aa] | 81 | <segmentedlist>
|
---|
| 82 | <segtitle>Installed programs</segtitle>
|
---|
| 83 | <seglistitem><seg>info, infokey, install-info,
|
---|
| 84 | makeinfo, texi2dvi and texindex</seg></seglistitem>
|
---|
| 85 | </segmentedlist>
|
---|
[673b0d8] | 86 |
|
---|
[c6cb3aa] | 87 | <variablelist><title>Short descriptions</title>
|
---|
[673b0d8] | 88 |
|
---|
[b8a819f] | 89 | <varlistentry id="info">
|
---|
| 90 | <term><command>info</command></term>
|
---|
[c6cb3aa] | 91 | <listitem>
|
---|
[673b0d8] | 92 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
[ef13657] | 93 | <para>used to read Info documents. Info documents are similar to man
|
---|
| 94 | pages, but often go much deeper than just explaining all the command
|
---|
| 95 | line options. Compare for example <command>man bison</command> and
|
---|
| 96 | <command>info bison</command>.</para>
|
---|
[c6cb3aa] | 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
[673b0d8] | 99 |
|
---|
[b8a819f] | 100 | <varlistentry id="infokey">
|
---|
| 101 | <term><command>infokey</command></term>
|
---|
[c6cb3aa] | 102 | <listitem>
|
---|
[673b0d8] | 103 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
[ef13657] | 104 | <para>compiles a source file containing Info customizations into a
|
---|
| 105 | binary format.</para>
|
---|
[c6cb3aa] | 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
[73aedd1d] | 108 |
|
---|
[b8a819f] | 109 | <varlistentry id="install-info">
|
---|
| 110 | <term><command>install-info</command></term>
|
---|
[c6cb3aa] | 111 | <listitem>
|
---|
[673b0d8] | 112 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
[ef13657] | 113 | <para>used to install Info files. It updates entries in the Info index
|
---|
| 114 | file.</para>
|
---|
[c6cb3aa] | 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
[673b0d8] | 117 |
|
---|
[b8a819f] | 118 | <varlistentry id="makeinfo">
|
---|
| 119 | <term><command>makeinfo</command></term>
|
---|
[c6cb3aa] | 120 | <listitem>
|
---|
[673b0d8] | 121 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
[ef13657] | 122 | <para>translates the given Texinfo source documents into various other
|
---|
| 123 | formats: Info files, plain text, or HTML.</para>
|
---|
[c6cb3aa] | 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
[673b0d8] | 126 |
|
---|
[b8a819f] | 127 | <varlistentry id="texi2dvi">
|
---|
| 128 | <term><command>texi2dvi</command></term>
|
---|
[c6cb3aa] | 129 | <listitem>
|
---|
[673b0d8] | 130 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
[ef13657] | 131 | <para>used to format the given Texinfo document into a
|
---|
| 132 | device-independent file that can be printed.</para>
|
---|
[c6cb3aa] | 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
[673b0d8] | 135 |
|
---|
[b8a819f] | 136 | <varlistentry id="texindex">
|
---|
| 137 | <term><command>texindex</command></term>
|
---|
[c6cb3aa] | 138 | <listitem>
|
---|
[673b0d8] | 139 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
[ef13657] | 140 | <para>used to sort Texinfo index files.</para>
|
---|
[c6cb3aa] | 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 | </variablelist>
|
---|
[673b0d8] | 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | </sect1>
|
---|
[ef13657] | 148 |
|
---|