source: chapter06/texinfo.xml@ 164c802

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 164c802 was e4a5635, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Replaced "<" by "less than".

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

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 <title>Texinfo-&texinfo-version;</title>
12
13 <indexterm zone="ch-system-texinfo">
14 <primary sortas="a-Texinfo">Texinfo</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Texinfo package contains programs for reading, writing, and
21 converting info pages.</para>
22
23 <segmentedlist>
24 <segtitle>&buildtime;</segtitle>
25 <segtitle>&diskspace;</segtitle>
26
27 <seglistitem>
28 <seg>&texinfo-ch6-sbu;</seg>
29 <seg>&texinfo-ch6-du;</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 </sect2>
34
35 <sect2 role="installation">
36 <title>Installation of Texinfo</title>
37
38 <para>The <command>info</command> program makes assumptions such as that
39 a string occupies the same number of character cells on the screen and
40 bytes in memory and that one can break the string anywhere, which fail
41 in UTF-8 based locales. The patch below makes them valid by falling back
42 to English messages when a multibyte locale is in use:</para>
43
44<screen><userinput>patch -Np1 -i ../&texinfo-multibyte-patch;</userinput></screen>
45
46 <para>Texinfo allows local users to overwrite arbitrary files via a symlink
47 attack on temporary files. Apply the following patch to fix this:</para>
48
49<screen><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen>
50
51 <para>Prepare Texinfo for compilation:</para>
52
53<screen><userinput>./configure --prefix=/usr</userinput></screen>
54
55 <para>Compile the package:</para>
56
57<screen><userinput>make</userinput></screen>
58
59 <para>To test the results, issue:
60 <userinput>make check</userinput>.</para>
61
62 <para>Install the package:</para>
63
64<screen><userinput>make install</userinput></screen>
65
66 <para>Optionally, install the components belonging in a TeX
67 installation:</para>
68 <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
69
70<screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
71
72 <variablelist>
73 <title>The meaning of the make parameter:</title>
74
75 <varlistentry>
76 <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
77 <listitem>
78 <para>The <envar>TEXMF</envar> makefile variable holds the location
79 of the root of the TeX tree if, for example, a TeX package will be
80 installed later.</para>
81 </listitem>
82 </varlistentry>
83
84 </variablelist>
85
86 <para>The Info documentation system uses a plain text file to hold its list of
87 menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
88 Unfortunately, due to occasional problems in the Makefiles of various packages,
89 it can sometimes get out of sync with the info pages installed on the system.
90 If the <filename>/usr/share/info/dir</filename> file ever needs to be
91 recreated, the following optional commands will accomplish the task:</para>
92
93<screen role="nodump"><userinput>cd /usr/share/info
94rm dir
95for f in *
96do install-info $f dir 2&gt;/dev/null
97done</userinput></screen>
98
99 </sect2>
100
101 <sect2 id="contents-texinfo" role="content">
102 <title>Contents of Texinfo</title>
103
104 <segmentedlist>
105 <segtitle>Installed programs</segtitle>
106
107 <seglistitem>
108 <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf, and
109 texindex</seg>
110 </seglistitem>
111 </segmentedlist>
112
113 <variablelist>
114 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
115 <?dbfo list-presentation="list"?>
116 <?dbhtml list-presentation="table"?>
117
118 <varlistentry id="info">
119 <term><command>info</command></term>
120 <listitem>
121 <para>Used to read info pages which are similar to man pages, but
122 often go much deeper than just explaining all the available command
123 line options. For example, compare <command>man bison</command> and
124 <command>info bison</command>.</para>
125 <indexterm zone="ch-system-texinfo info">
126 <primary sortas="b-info">info</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="infokey">
132 <term><command>infokey</command></term>
133 <listitem>
134 <para>Compiles a source file containing Info customizations into a
135 binary format</para>
136 <indexterm zone="ch-system-texinfo infokey">
137 <primary sortas="b-infokey">infokey</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="install-info">
143 <term><command>install-info</command></term>
144 <listitem>
145 <para>Used to install info pages; it updates entries in the
146 <command>info</command> index file</para>
147 <indexterm zone="ch-system-texinfo install-info">
148 <primary sortas="b-install-info">install-info</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="makeinfo">
154 <term><command>makeinfo</command></term>
155 <listitem>
156 <para>Translates the given Texinfo source documents into
157 info pages, plain text, or HTML</para>
158 <indexterm zone="ch-system-texinfo makeinfo">
159 <primary sortas="b-makeinfo">makeinfo</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="texi2dvi">
165 <term><command>texi2dvi</command></term>
166 <listitem>
167 <para>Used to format the given Texinfo document into a
168 device-independent file that can be printed</para>
169 <indexterm zone="ch-system-texinfo texi2dvi">
170 <primary sortas="b-texi2dvi">texi2dvi</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="texi2pdf">
176 <term><command>texi2pdf</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 texi2pdf">
181 <primary sortas="b-texi2pdf">texi2pdf</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="texindex">
187 <term><command>texindex</command></term>
188 <listitem>
189 <para>Used to sort Texinfo index files</para>
190 <indexterm zone="ch-system-texinfo texindex">
191 <primary sortas="b-texindex">texindex</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.