[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 | ]>
|
---|
[752f4e5] | 6 | <sect1 id="ch-system-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,
|
---|
[69993f4] | 25 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
|
---|
[a001133] | 26 | </segmentedlist>
|
---|
| 27 | </sect2>
|
---|
[3554fa3a] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 30 | <title>Installation of Texinfo</title>
|
---|
| 31 |
|
---|
[343c80b] | 32 | <para>The following patch fixes a problem where the
|
---|
| 33 | <command>info</command> program sometimes crashes when hitting the
|
---|
[0ffc1a4] | 34 | <emphasis>Delete</emphasis> key on the keyboard:</para>
|
---|
[68ca4c9] | 35 |
|
---|
| 36 | <screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-segfault-1.patch</userinput></screen>
|
---|
| 37 |
|
---|
[73aedd1d] | 38 | <para>Prepare Texinfo for compilation:</para>
|
---|
| 39 |
|
---|
| 40 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | <para>Compile the package:</para>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput>make</userinput></screen>
|
---|
| 45 |
|
---|
[673b0d8] | 46 | <para>To test the results, issue:
|
---|
[8a5f906] | 47 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 48 |
|
---|
| 49 | <para>Install the package:</para>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput>make install</userinput></screen>
|
---|
| 52 |
|
---|
[ef13657] | 53 | <para>Optionally, install the components belonging in a TeX installation:</para>
|
---|
[73aedd1d] | 54 |
|
---|
| 55 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 56 |
|
---|
[5763f675] | 57 | <para>The meaning of the make parameter:</para>
|
---|
[73aedd1d] | 58 |
|
---|
[df8334f] | 59 | <variablelist>
|
---|
| 60 | <varlistentry>
|
---|
[8ad7980] | 61 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
[752f4e5] | 62 | <listitem><para>The <envar>TEXMF</envar> makefile variable holds the location of the
|
---|
[ef13657] | 63 | root of the TeX tree if, for example, a TeX package will be installed
|
---|
| 64 | later.</para></listitem>
|
---|
[df8334f] | 65 | </varlistentry>
|
---|
| 66 | </variablelist>
|
---|
[73aedd1d] | 67 |
|
---|
[38bb44a] | 68 | <beginpage/>
|
---|
[ef13657] | 69 | <para>The Info documentation system uses a plain text file to hold its
|
---|
| 70 | list of menu entries. The file is located at
|
---|
| 71 | <filename>/usr/share/info/dir</filename>. Unfortunately, due to
|
---|
| 72 | occasional problems in the Makefiles of various packages, it can
|
---|
| 73 | sometimes get out of step with the Info manuals installed on the
|
---|
| 74 | system. If the <filename>/usr/share/info/dir</filename> file ever
|
---|
| 75 | needs to be recreated, the following optional commands will accomplish
|
---|
| 76 | the task:</para>
|
---|
[554b366] | 77 |
|
---|
| 78 | <screen><userinput>cd /usr/share/info
|
---|
| 79 | rm dir
|
---|
| 80 | for f in *
|
---|
[673b0d8] | 81 | do install-info $f dir 2>/dev/null
|
---|
[554b366] | 82 | done</userinput></screen>
|
---|
| 83 |
|
---|
[73aedd1d] | 84 | </sect2>
|
---|
[6370fa6] | 85 |
|
---|
[c6cb3aa] | 86 | <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
---|
[673b0d8] | 87 |
|
---|
[c6cb3aa] | 88 | <segmentedlist>
|
---|
| 89 | <segtitle>Installed programs</segtitle>
|
---|
| 90 | <seglistitem><seg>info, infokey, install-info,
|
---|
[69993f4] | 91 | makeinfo, texi2dvi, and texindex</seg></seglistitem>
|
---|
[c6cb3aa] | 92 | </segmentedlist>
|
---|
[673b0d8] | 93 |
|
---|
[2256873] | 94 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[3ed279f] | 95 | <?dbfo list-presentation="list"?>
|
---|
[673b0d8] | 96 |
|
---|
[b8a819f] | 97 | <varlistentry id="info">
|
---|
| 98 | <term><command>info</command></term>
|
---|
[c6cb3aa] | 99 | <listitem>
|
---|
[2256873] | 100 | <para>Used to read Info documents which are similar to man
|
---|
[ef13657] | 101 | pages, but often go much deeper than just explaining all the command
|
---|
[69993f4] | 102 | line options. For example, compare <command>man bison</command> and
|
---|
[ef13657] | 103 | <command>info bison</command>.</para>
|
---|
[3ed279f] | 104 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
[c6cb3aa] | 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
[673b0d8] | 107 |
|
---|
[b8a819f] | 108 | <varlistentry id="infokey">
|
---|
| 109 | <term><command>infokey</command></term>
|
---|
[c6cb3aa] | 110 | <listitem>
|
---|
[2256873] | 111 | <para>Compiles a source file containing Info customizations into a
|
---|
| 112 | binary format</para>
|
---|
[3ed279f] | 113 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
[c6cb3aa] | 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
[73aedd1d] | 116 |
|
---|
[b8a819f] | 117 | <varlistentry id="install-info">
|
---|
| 118 | <term><command>install-info</command></term>
|
---|
[c6cb3aa] | 119 | <listitem>
|
---|
[2256873] | 120 | <para>Used to install Info files; it updates entries in the Info index
|
---|
| 121 | file</para>
|
---|
[3ed279f] | 122 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
[c6cb3aa] | 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
[673b0d8] | 125 |
|
---|
[b8a819f] | 126 | <varlistentry id="makeinfo">
|
---|
| 127 | <term><command>makeinfo</command></term>
|
---|
[c6cb3aa] | 128 | <listitem>
|
---|
[2256873] | 129 | <para>Translates the given Texinfo source documents into
|
---|
| 130 | info files, plain text, or HTML</para>
|
---|
[3ed279f] | 131 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
[c6cb3aa] | 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
[673b0d8] | 134 |
|
---|
[b8a819f] | 135 | <varlistentry id="texi2dvi">
|
---|
| 136 | <term><command>texi2dvi</command></term>
|
---|
[c6cb3aa] | 137 | <listitem>
|
---|
[2256873] | 138 | <para>Used to format the given Texinfo document into a
|
---|
| 139 | device-independent file that can be printed</para>
|
---|
[3ed279f] | 140 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
[c6cb3aa] | 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
[673b0d8] | 143 |
|
---|
[b8a819f] | 144 | <varlistentry id="texindex">
|
---|
| 145 | <term><command>texindex</command></term>
|
---|
[c6cb3aa] | 146 | <listitem>
|
---|
[2256873] | 147 | <para>Used to sort Texinfo index files</para>
|
---|
[3ed279f] | 148 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
[c6cb3aa] | 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 | </variablelist>
|
---|
[673b0d8] | 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | </sect1>
|
---|
[ef13657] | 156 |
|
---|