source: chapter08/texinfo.xml@ 0e1e2537

arm
Last change on this file since 0e1e2537 was d672ab7, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at end o lines - chapter08

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