source: chapter06/texinfo.xml@ e1ad8a8

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.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 e1ad8a8 was 0445a3d, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added remap attributes to userinput tags in packages pages.

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

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