[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 |
|
---|
[1f1055a] | 46 | <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
|
---|
[73aedd1d] | 47 |
|
---|
[5d4e1b1] | 48 | <variablelist>
|
---|
| 49 | <title>The meaning of the configure options:</title>
|
---|
| 50 |
|
---|
| 51 | <varlistentry>
|
---|
| 52 | <term><parameter>--disable-static</parameter></term>
|
---|
| 53 | <listitem>
|
---|
[947141c] | 54 | <para>In this case, the top-level configure script will complain that
|
---|
[5d4e1b1] | 55 | this is an unrecognized option, but the configure script for
|
---|
| 56 | XSParagraph recognizes it and uses it to disable installing a static
|
---|
| 57 | <filename class="libraryfile">XSParagraph.a</filename> to <filename
|
---|
| 58 | class="directory">/usr/lib/texinfo</filename>.</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </varlistentry>
|
---|
| 61 |
|
---|
| 62 | </variablelist>
|
---|
| 63 |
|
---|
[ddd5542] | 64 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 65 |
|
---|
[0445a3d] | 66 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 67 |
|
---|
[0445a3d] | 68 | <para>To test the results, issue:</para>
|
---|
| 69 |
|
---|
[b3d709a] | 70 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[73aedd1d] | 71 |
|
---|
[ddd5542] | 72 | <para>Install the package:</para>
|
---|
[73aedd1d] | 73 |
|
---|
[0445a3d] | 74 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 75 |
|
---|
[ddd5542] | 76 | <para>Optionally, install the components belonging in a TeX
|
---|
| 77 | installation:</para>
|
---|
| 78 | <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
|
---|
[73aedd1d] | 79 |
|
---|
[0445a3d] | 80 | <screen><userinput remap="install">make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
[73aedd1d] | 81 |
|
---|
[ddd5542] | 82 | <variablelist>
|
---|
| 83 | <title>The meaning of the make parameter:</title>
|
---|
| 84 |
|
---|
| 85 | <varlistentry>
|
---|
| 86 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
| 87 | <listitem>
|
---|
| 88 | <para>The <envar>TEXMF</envar> makefile variable holds the location
|
---|
| 89 | of the root of the TeX tree if, for example, a TeX package will be
|
---|
| 90 | installed later.</para>
|
---|
| 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 |
|
---|
| 94 | </variablelist>
|
---|
| 95 |
|
---|
| 96 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
| 97 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
| 98 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
| 99 | it can sometimes get out of sync with the info pages installed on the system.
|
---|
| 100 | If the <filename>/usr/share/info/dir</filename> file ever needs to be
|
---|
| 101 | recreated, the following optional commands will accomplish the task:</para>
|
---|
[554b366] | 102 |
|
---|
[1bbaab3] | 103 | <screen role="nodump"><userinput>pushd /usr/share/info
|
---|
[d9ed5f37] | 104 | rm -v dir
|
---|
[554b366] | 105 | for f in *
|
---|
[1bbaab3] | 106 | do install-info $f dir 2>/dev/null
|
---|
| 107 | done
|
---|
| 108 | popd</userinput></screen>
|
---|
[554b366] | 109 |
|
---|
[ddd5542] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 id="contents-texinfo" role="content">
|
---|
| 113 | <title>Contents of Texinfo</title>
|
---|
| 114 |
|
---|
| 115 | <segmentedlist>
|
---|
| 116 | <segtitle>Installed programs</segtitle>
|
---|
[1f1055a] | 117 | <segtitle>Installed library</segtitle>
|
---|
| 118 | <segtitle>Installed directories</segtitle>
|
---|
[ddd5542] | 119 |
|
---|
| 120 | <seglistitem>
|
---|
[040ecb6] | 121 | <seg>info, install-info, makeinfo (link to texi2any),
|
---|
[f6b1d91] | 122 | pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg>
|
---|
[1f1055a] | 123 | <seg>XSParagraph.so</seg>
|
---|
| 124 | <seg>/usr/share/texinfo and /usr/lib/texinfo</seg>
|
---|
[ddd5542] | 125 | </seglistitem>
|
---|
| 126 | </segmentedlist>
|
---|
| 127 |
|
---|
| 128 | <variablelist>
|
---|
| 129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 130 | <?dbfo list-presentation="list"?>
|
---|
| 131 | <?dbhtml list-presentation="table"?>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="info">
|
---|
| 134 | <term><command>info</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>Used to read info pages which are similar to man pages, but
|
---|
| 137 | often go much deeper than just explaining all the available command
|
---|
[7bb9fda] | 138 | line options [For example, compare <command>man bison</command> and
|
---|
| 139 | <command>info bison</command>.]</para>
|
---|
[ddd5542] | 140 | <indexterm zone="ch-system-texinfo info">
|
---|
| 141 | <primary sortas="b-info">info</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="install-info">
|
---|
| 147 | <term><command>install-info</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>Used to install info pages; it updates entries in the
|
---|
| 150 | <command>info</command> index file</para>
|
---|
| 151 | <indexterm zone="ch-system-texinfo install-info">
|
---|
| 152 | <primary sortas="b-install-info">install-info</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="makeinfo">
|
---|
| 158 | <term><command>makeinfo</command></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>Translates the given Texinfo source documents into
|
---|
| 161 | info pages, plain text, or HTML</para>
|
---|
| 162 | <indexterm zone="ch-system-texinfo makeinfo">
|
---|
| 163 | <primary sortas="b-makeinfo">makeinfo</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[90aae6b] | 168 | <varlistentry id="pdftexi2dvi">
|
---|
| 169 | <term><command>pdftexi2dvi</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>Used to format the given Texinfo document into a
|
---|
| 172 | Portable Document Format (PDF) file</para>
|
---|
| 173 | <indexterm zone="ch-system-texinfo pdftexi2dvi">
|
---|
| 174 | <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
[dd06b53] | 179 | <varlistentry id="pod2texi">
|
---|
| 180 | <term><command>pod2texi</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>Converts Pod to Texinfo format</para>
|
---|
| 183 | <indexterm zone="ch-system-texinfo pod2texi">
|
---|
| 184 | <primary sortas="b-pod2texi">pod2texi</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="texi2any">
|
---|
| 190 | <term><command>texi2any</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>Translate Texinfo source documentation to
|
---|
| 193 | various other formats</para>
|
---|
| 194 | <indexterm zone="ch-system-texinfo texi2any">
|
---|
| 195 | <primary sortas="b-texiany">texi2any</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
[ddd5542] | 200 | <varlistentry id="texi2dvi">
|
---|
| 201 | <term><command>texi2dvi</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>Used to format the given Texinfo document into a
|
---|
| 204 | device-independent file that can be printed</para>
|
---|
| 205 | <indexterm zone="ch-system-texinfo texi2dvi">
|
---|
| 206 | <primary sortas="b-texi2dvi">texi2dvi</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="texi2pdf">
|
---|
| 212 | <term><command>texi2pdf</command></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>Used to format the given Texinfo document into a
|
---|
| 215 | Portable Document Format (PDF) file</para>
|
---|
| 216 | <indexterm zone="ch-system-texinfo texi2pdf">
|
---|
| 217 | <primary sortas="b-texi2pdf">texi2pdf</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="texindex">
|
---|
| 223 | <term><command>texindex</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>Used to sort Texinfo index files</para>
|
---|
| 226 | <indexterm zone="ch-system-texinfo texindex">
|
---|
| 227 | <primary sortas="b-texindex">texindex</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | </variablelist>
|
---|
| 233 |
|
---|
| 234 | </sect2>
|
---|
[673b0d8] | 235 |
|
---|
| 236 | </sect1>
|
---|