source: chapter06/texinfo.xml@ 86333de

Last change on this file since 86333de was 9ed7b54, checked in by Jeremy Huntwork <jhuntwork@…>, 16 years ago

Merged revisions from trunk to jh branch:
r8410, r8411, r8412, r8413, r8414, r8415, r8416, r8417, r8418, r8419, r8420,
r8421, r8422, r8423, r8424, r8426, r8427, r8429, r8430, r8431, r8432, r8433,
r8434, r8435, r8436, r8437, r8438, r8439, r8440, r8441, r8442, r8443, r8444,
r8445, r8446, r8447, r8448, r8449, r8450, r8451, r8452, r8453, r8454, r8455,
r8456, r8457, r8458, r8459, r8460

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8461 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.2 KB
Line 
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">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-texinfo" role="wrap">
9 <?dbhtml filename="texinfo.html"?>
10
11 <sect1info condition="script">
12 <productname>texinfo</productname>
13 <productnumber>&texinfo-version;</productnumber>
14 <address>&texinfo-url;</address>
15 </sect1info>
16
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>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&texinfo-ch6-sbu;</seg>
35 <seg>&texinfo-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Texinfo</title>
43
44 <para>Prepare Texinfo for compilation:</para>
45
46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
47
48 <para>Compile the package:</para>
49
50<screen><userinput remap="make">make</userinput></screen>
51
52 <para>To test the results, issue:</para>
53
54<screen><userinput remap="test">make -k check</userinput></screen>
55
56 <para>Install the package:</para>
57
58<screen><userinput remap="install">make install</userinput></screen>
59
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? -->
63
64<screen><userinput remap="install">make TEXMF=/usr/share/texmf install-tex</userinput></screen>
65
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>
86
87<screen role="nodump"><userinput>cd /usr/share/info
88rm dir
89for f in *
90do install-info $f dir 2&gt;/dev/null
91done</userinput></screen>
92
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>
193
194</sect1>
Note: See TracBrowser for help on using the repository browser.