source: chapter06/texinfo.xml@ 3711cc6

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since 3711cc6 was 3711cc6, checked in by Krejzi <krejzi@…>, 11 years ago

Sync systemd and development branches.

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

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