[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[673b0d8] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[673b0d8] | 7 | ]>
|
---|
[81fd230] | 8 | <sect1 id="ch-system-texinfo" role="wrap">
|
---|
[673b0d8] | 9 | <title>Texinfo-&texinfo-version;</title>
|
---|
| 10 | <?dbhtml filename="texinfo.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
|
---|
[6370fa6] | 13 |
|
---|
[a001133] | 14 | <sect2 role="package"><title/>
|
---|
[81fd230] | 15 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
[a1a7f4f] | 16 | converting info pages.</para>
|
---|
[5888299] | 17 |
|
---|
[a001133] | 18 | <segmentedlist>
|
---|
| 19 | <segtitle>&buildtime;</segtitle>
|
---|
| 20 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 21 | <seglistitem><seg>0.2 SBU</seg><seg>14.7 MB</seg></seglistitem>
|
---|
[a001133] | 22 | </segmentedlist>
|
---|
[673b0d8] | 23 |
|
---|
[81fd230] | 24 | <segmentedlist>
|
---|
[45992ae] | 25 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 26 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
| 27 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
|
---|
| 28 | </segmentedlist>
|
---|
[a001133] | 29 | </sect2>
|
---|
[3554fa3a] | 30 |
|
---|
[a001133] | 31 | <sect2 role="installation">
|
---|
[73aedd1d] | 32 | <title>Installation of Texinfo</title>
|
---|
| 33 |
|
---|
[50993e3] | 34 | <para>Texinfo allows local users to overwrite arbitrary files via a symlink
|
---|
| 35 | attack on temporary files. Apply the following patch to fix this:</para>
|
---|
| 36 |
|
---|
| 37 | <screen><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen>
|
---|
| 38 |
|
---|
[2ca7e114] | 39 | <para>Prepare Texinfo for compilation:</para>
|
---|
| 40 |
|
---|
[73aedd1d] | 41 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | <para>Compile the package:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput>make</userinput></screen>
|
---|
| 46 |
|
---|
[673b0d8] | 47 | <para>To test the results, issue:
|
---|
[8a5f906] | 48 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 49 |
|
---|
| 50 | <para>Install the package:</para>
|
---|
| 51 |
|
---|
| 52 | <screen><userinput>make install</userinput></screen>
|
---|
| 53 |
|
---|
[81fd230] | 54 | <para>Optionally, install the components belonging in a TeX installation:</para>
|
---|
[73aedd1d] | 55 |
|
---|
| 56 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 57 |
|
---|
[81fd230] | 58 | <para>The meaning of the make parameter:</para>
|
---|
| 59 |
|
---|
| 60 | <variablelist>
|
---|
| 61 | <varlistentry>
|
---|
| 62 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
| 63 | <listitem><para>The <envar>TEXMF</envar> makefile variable holds the location of the
|
---|
| 64 | root of the TeX tree if, for example, a TeX package will be installed
|
---|
| 65 | later.</para></listitem>
|
---|
| 66 | </varlistentry>
|
---|
| 67 | </variablelist>
|
---|
| 68 |
|
---|
| 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
|
---|
[a1a7f4f] | 73 | sometimes get out of sync with the info pages installed on the
|
---|
[81fd230] | 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 |
|
---|
[de92788] | 78 | <screen role="nodump"><userinput>cd /usr/share/info
|
---|
[554b366] | 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 |
|
---|
[81fd230] | 88 | <segmentedlist>
|
---|
| 89 | <segtitle>Installed programs</segtitle>
|
---|
| 90 | <seglistitem><seg>info, infokey, install-info,
|
---|
[54799d6] | 91 | makeinfo, texi2dvi, texi2pdf, and texindex</seg></seglistitem>
|
---|
[81fd230] | 92 | </segmentedlist>
|
---|
| 93 |
|
---|
| 94 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 95 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 96 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 97 |
|
---|
| 98 | <varlistentry id="info">
|
---|
| 99 | <term><command>info</command></term>
|
---|
| 100 | <listitem>
|
---|
[a1a7f4f] | 101 | <para>Used to read info pages which are similar to man pages, but often go much
|
---|
| 102 | deeper than just explaining all the available command line options. For example,
|
---|
| 103 | compare <command>man bison</command> and <command>info bison</command>.</para>
|
---|
[81fd230] | 104 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="infokey">
|
---|
| 109 | <term><command>infokey</command></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>Compiles a source file containing Info customizations into a
|
---|
| 112 | binary format</para>
|
---|
| 113 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
| 117 | <varlistentry id="install-info">
|
---|
| 118 | <term><command>install-info</command></term>
|
---|
| 119 | <listitem>
|
---|
[a1a7f4f] | 120 | <para>Used to install info pages; it updates entries in the
|
---|
| 121 | <command>info</command> index file</para>
|
---|
[81fd230] | 122 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
| 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="makeinfo">
|
---|
| 127 | <term><command>makeinfo</command></term>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>Translates the given Texinfo source documents into
|
---|
[a1a7f4f] | 130 | info pages, plain text, or HTML</para>
|
---|
[81fd230] | 131 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="texi2dvi">
|
---|
| 136 | <term><command>texi2dvi</command></term>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>Used to format the given Texinfo document into a
|
---|
| 139 | device-independent file that can be printed</para>
|
---|
| 140 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
[54799d6] | 144 | <varlistentry id="texi2pdf">
|
---|
| 145 | <term><command>texi2pdf</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>Used to format the given Texinfo document into a
|
---|
| 148 | Portable Document Format (PDF) file</para>
|
---|
| 149 | <indexterm zone="ch-system-texinfo texi2pdf"><primary sortas="b-texi2pdf">texi2pdf</primary></indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
[81fd230] | 153 | <varlistentry id="texindex">
|
---|
| 154 | <term><command>texindex</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>Used to sort Texinfo index files</para>
|
---|
| 157 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 | </variablelist>
|
---|
[673b0d8] | 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | </sect1>
|
---|
[81fd230] | 165 |
|
---|