1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
8 <sect1 id="ch-system-texinfo" role="wrap">
9 <?dbhtml filename="texinfo.html"?>
11 <sect1info condition="script">
12 <productname>texinfo</productname>
13 <productnumber>&texinfo-version;</productnumber>
14 <address>&texinfo-url;</address>
17 <title>Texinfo-&texinfo-version;</title>
19 <indexterm zone="ch-system-texinfo">
20 <primary sortas="a-Texinfo">Texinfo</primary>
23 <sect2 role="package">
26 <para>The Texinfo package contains programs for reading, writing, and
27 converting info pages.</para>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
34 <seg>&texinfo-ch6-sbu;</seg>
35 <seg>&texinfo-ch6-du;</seg>
41 <sect2 role="installation">
42 <title>Installation of Texinfo</title>
44 <para>Prepare Texinfo for compilation:</para>
46 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
49 <title>The meaning of the configure options:</title>
52 <term><parameter>--disable-static</parameter></term>
54 <para>In this case, the top-level configure script will complain that
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>
64 <para>Compile the package:</para>
66 <screen><userinput remap="make">make</userinput></screen>
68 <para>To test the results, issue:</para>
70 <screen><userinput remap="test">make check</userinput></screen>
72 <para>Install the package:</para>
74 <screen><userinput remap="install">make install</userinput></screen>
76 <para>Optionally, install the components belonging in a TeX
78 <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
80 <screen><userinput remap="install">make TEXMF=/usr/share/texmf install-tex</userinput></screen>
83 <title>The meaning of the make parameter:</title>
86 <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
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>
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>
103 <screen role="nodump"><userinput>pushd /usr/share/info
106 do install-info $f dir 2>/dev/null
108 popd</userinput></screen>
112 <sect2 id="contents-texinfo" role="content">
113 <title>Contents of Texinfo</title>
116 <segtitle>Installed programs</segtitle>
117 <segtitle>Installed library</segtitle>
118 <segtitle>Installed directories</segtitle>
121 <seg>info, install-info, makeinfo (link to texi2any),
122 pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg>
123 <seg>MiscXS.so, Parsetexi.so, and XSParagraph.so
124 (all in /usr/lib/texinfo)</seg>
125 <seg>/usr/share/texinfo and /usr/lib/texinfo</seg>
130 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
131 <?dbfo list-presentation="list"?>
132 <?dbhtml list-presentation="table"?>
134 <varlistentry id="info">
135 <term><command>info</command></term>
137 <para>Used to read info pages which are similar to man pages, but
138 often go much deeper than just explaining all the available command
139 line options [For example, compare <command>man bison</command> and
140 <command>info bison</command>.]</para>
141 <indexterm zone="ch-system-texinfo info">
142 <primary sortas="b-info">info</primary>
147 <varlistentry id="install-info">
148 <term><command>install-info</command></term>
150 <para>Used to install info pages; it updates entries in the
151 <command>info</command> index file</para>
152 <indexterm zone="ch-system-texinfo install-info">
153 <primary sortas="b-install-info">install-info</primary>
158 <varlistentry id="makeinfo">
159 <term><command>makeinfo</command></term>
161 <para>Translates the given Texinfo source documents into
162 info pages, plain text, or HTML</para>
163 <indexterm zone="ch-system-texinfo makeinfo">
164 <primary sortas="b-makeinfo">makeinfo</primary>
169 <varlistentry id="pdftexi2dvi">
170 <term><command>pdftexi2dvi</command></term>
172 <para>Used to format the given Texinfo document into a
173 Portable Document Format (PDF) file</para>
174 <indexterm zone="ch-system-texinfo pdftexi2dvi">
175 <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
180 <varlistentry id="pod2texi">
181 <term><command>pod2texi</command></term>
183 <para>Converts Pod to Texinfo format</para>
184 <indexterm zone="ch-system-texinfo pod2texi">
185 <primary sortas="b-pod2texi">pod2texi</primary>
190 <varlistentry id="texi2any">
191 <term><command>texi2any</command></term>
193 <para>Translate Texinfo source documentation to
194 various other formats</para>
195 <indexterm zone="ch-system-texinfo texi2any">
196 <primary sortas="b-texiany">texi2any</primary>
201 <varlistentry id="texi2dvi">
202 <term><command>texi2dvi</command></term>
204 <para>Used to format the given Texinfo document into a
205 device-independent file that can be printed</para>
206 <indexterm zone="ch-system-texinfo texi2dvi">
207 <primary sortas="b-texi2dvi">texi2dvi</primary>
212 <varlistentry id="texi2pdf">
213 <term><command>texi2pdf</command></term>
215 <para>Used to format the given Texinfo document into a
216 Portable Document Format (PDF) file</para>
217 <indexterm zone="ch-system-texinfo texi2pdf">
218 <primary sortas="b-texi2pdf">texi2pdf</primary>
223 <varlistentry id="texindex">
224 <term><command>texindex</command></term>
226 <para>Used to sort Texinfo index files</para>
227 <indexterm zone="ch-system-texinfo texindex">
228 <primary sortas="b-texindex">texindex</primary>