[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[ddd5542] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-texinfo" role="wrap">
|
---|
[ddd5542] | 9 | <?dbhtml filename="texinfo.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>texinfo</productname>
|
---|
| 13 | <productnumber>&texinfo-version;</productnumber>
|
---|
| 14 | <address>&texinfo-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[ddd5542] | 17 | <title>Texinfo-&texinfo-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-texinfo">
|
---|
| 20 | <primary sortas="a-Texinfo">Texinfo</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
| 27 | converting info pages.</para>
|
---|
[673b0d8] | 28 |
|
---|
[ddd5542] | 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
[6370fa6] | 32 |
|
---|
[ddd5542] | 33 | <seglistitem>
|
---|
[e4a5635] | 34 | <seg>&texinfo-ch6-sbu;</seg>
|
---|
| 35 | <seg>&texinfo-ch6-du;</seg>
|
---|
[ddd5542] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
[5888299] | 38 |
|
---|
[ddd5542] | 39 | </sect2>
|
---|
[73aedd1d] | 40 |
|
---|
[ddd5542] | 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Texinfo</title>
|
---|
| 43 |
|
---|
| 44 | <para>Prepare Texinfo for compilation:</para>
|
---|
[2ca7e114] | 45 |
|
---|
[0445a3d] | 46 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[73aedd1d] | 47 |
|
---|
[ddd5542] | 48 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 51 |
|
---|
[0445a3d] | 52 | <para>To test the results, issue:</para>
|
---|
| 53 |
|
---|
[93ee748] | 54 | <screen><userinput remap="test">make -k check</userinput></screen>
|
---|
[73aedd1d] | 55 |
|
---|
[ddd5542] | 56 | <para>Install the package:</para>
|
---|
[73aedd1d] | 57 |
|
---|
[0445a3d] | 58 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 59 |
|
---|
[ddd5542] | 60 | <para>Optionally, install the components belonging in a TeX
|
---|
| 61 | installation:</para>
|
---|
| 62 | <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
|
---|
[73aedd1d] | 63 |
|
---|
[0445a3d] | 64 | <screen><userinput remap="install">make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
[73aedd1d] | 65 |
|
---|
[ddd5542] | 66 | <variablelist>
|
---|
| 67 | <title>The meaning of the make parameter:</title>
|
---|
| 68 |
|
---|
| 69 | <varlistentry>
|
---|
| 70 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>The <envar>TEXMF</envar> makefile variable holds the location
|
---|
| 73 | of the root of the TeX tree if, for example, a TeX package will be
|
---|
| 74 | installed later.</para>
|
---|
| 75 | </listitem>
|
---|
| 76 | </varlistentry>
|
---|
| 77 |
|
---|
| 78 | </variablelist>
|
---|
| 79 |
|
---|
| 80 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
| 81 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
| 82 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
| 83 | it can sometimes get out of sync with the info pages installed on the system.
|
---|
| 84 | If the <filename>/usr/share/info/dir</filename> file ever needs to be
|
---|
| 85 | recreated, the following optional commands will accomplish the task:</para>
|
---|
[554b366] | 86 |
|
---|
[de92788] | 87 | <screen role="nodump"><userinput>cd /usr/share/info
|
---|
[554b366] | 88 | rm dir
|
---|
| 89 | for f in *
|
---|
[673b0d8] | 90 | do install-info $f dir 2>/dev/null
|
---|
[554b366] | 91 | done</userinput></screen>
|
---|
| 92 |
|
---|
[ddd5542] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 id="contents-texinfo" role="content">
|
---|
| 96 | <title>Contents of Texinfo</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed programs</segtitle>
|
---|
| 100 |
|
---|
| 101 | <seglistitem>
|
---|
| 102 | <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf, and
|
---|
| 103 | texindex</seg>
|
---|
| 104 | </seglistitem>
|
---|
| 105 | </segmentedlist>
|
---|
| 106 |
|
---|
| 107 | <variablelist>
|
---|
| 108 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 109 | <?dbfo list-presentation="list"?>
|
---|
| 110 | <?dbhtml list-presentation="table"?>
|
---|
| 111 |
|
---|
| 112 | <varlistentry id="info">
|
---|
| 113 | <term><command>info</command></term>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>Used to read info pages which are similar to man pages, but
|
---|
| 116 | often go much deeper than just explaining all the available command
|
---|
| 117 | line options. For example, compare <command>man bison</command> and
|
---|
| 118 | <command>info bison</command>.</para>
|
---|
| 119 | <indexterm zone="ch-system-texinfo info">
|
---|
| 120 | <primary sortas="b-info">info</primary>
|
---|
| 121 | </indexterm>
|
---|
| 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="infokey">
|
---|
| 126 | <term><command>infokey</command></term>
|
---|
| 127 | <listitem>
|
---|
| 128 | <para>Compiles a source file containing Info customizations into a
|
---|
| 129 | binary format</para>
|
---|
| 130 | <indexterm zone="ch-system-texinfo infokey">
|
---|
| 131 | <primary sortas="b-infokey">infokey</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="install-info">
|
---|
| 137 | <term><command>install-info</command></term>
|
---|
| 138 | <listitem>
|
---|
| 139 | <para>Used to install info pages; it updates entries in the
|
---|
| 140 | <command>info</command> index file</para>
|
---|
| 141 | <indexterm zone="ch-system-texinfo install-info">
|
---|
| 142 | <primary sortas="b-install-info">install-info</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="makeinfo">
|
---|
| 148 | <term><command>makeinfo</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>Translates the given Texinfo source documents into
|
---|
| 151 | info pages, plain text, or HTML</para>
|
---|
| 152 | <indexterm zone="ch-system-texinfo makeinfo">
|
---|
| 153 | <primary sortas="b-makeinfo">makeinfo</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="texi2dvi">
|
---|
| 159 | <term><command>texi2dvi</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>Used to format the given Texinfo document into a
|
---|
| 162 | device-independent file that can be printed</para>
|
---|
| 163 | <indexterm zone="ch-system-texinfo texi2dvi">
|
---|
| 164 | <primary sortas="b-texi2dvi">texi2dvi</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="texi2pdf">
|
---|
| 170 | <term><command>texi2pdf</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>Used to format the given Texinfo document into a
|
---|
| 173 | Portable Document Format (PDF) file</para>
|
---|
| 174 | <indexterm zone="ch-system-texinfo texi2pdf">
|
---|
| 175 | <primary sortas="b-texi2pdf">texi2pdf</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="texindex">
|
---|
| 181 | <term><command>texindex</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>Used to sort Texinfo index files</para>
|
---|
| 184 | <indexterm zone="ch-system-texinfo texindex">
|
---|
| 185 | <primary sortas="b-texindex">texindex</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
[673b0d8] | 193 |
|
---|
| 194 | </sect1>
|
---|