source: chapter06/texinfo.xml@ 81a10d8

6.0
Last change on this file since 81a10d8 was 68ca4c9, checked in by Jeremy Utley <jeremy@…>, 20 years ago

Added the texinfo segfault patch

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

  • Property mode set to 100644
File size: 4.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-texinfo" role="wrap">
7<title>Texinfo-&texinfo-version;</title>
8<?dbhtml filename="texinfo.html"?>
9
10<indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Texinfo package contains programs for reading, writing, and
14converting Info documents.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Texinfo installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils,
25Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
26</segmentedlist>
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Texinfo</title>
31
32<para>Placeholder for patch information</para>
33
34<screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-segfault-1.patch</userinput></screen>
35
36<para>Prepare Texinfo for compilation:</para>
37
38<screen><userinput>./configure --prefix=/usr</userinput></screen>
39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
44<para>To test the results, issue:
45<userinput>make check</userinput>.</para>
46
47<para>Install the package:</para>
48
49<screen><userinput>make install</userinput></screen>
50
51<para>Optionally, install the components belonging in a TeX installation:</para>
52
53<screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
54
55<para>The meaning of the make parameter:</para>
56
57<variablelist>
58<varlistentry>
59<term><parameter>TEXMF=/usr/share/texmf</parameter></term>
60<listitem><para>The <envar>TEXMF</envar> makefile variable holds the location of the
61root of the TeX tree if, for example, a TeX package will be installed
62later.</para></listitem>
63</varlistentry>
64</variablelist>
65
66<beginpage/>
67<para>The Info documentation system uses a plain text file to hold its
68list of menu entries. The file is located at
69<filename>/usr/share/info/dir</filename>. Unfortunately, due to
70occasional problems in the Makefiles of various packages, it can
71sometimes get out of step with the Info manuals installed on the
72system. If the <filename>/usr/share/info/dir</filename> file ever
73needs to be recreated, the following optional commands will accomplish
74the task:</para>
75
76<screen><userinput>cd /usr/share/info
77rm dir
78for f in *
79do install-info $f dir 2&gt;/dev/null
80done</userinput></screen>
81
82</sect2>
83
84<sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
85
86<segmentedlist>
87<segtitle>Installed programs</segtitle>
88<seglistitem><seg>info, infokey, install-info,
89makeinfo, texi2dvi, and texindex</seg></seglistitem>
90</segmentedlist>
91
92<variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
93<?dbfo list-presentation="list"?>
94
95<varlistentry id="info">
96<term><command>info</command></term>
97<listitem>
98<para>used to read Info documents. Info documents are similar to man
99pages, but often go much deeper than just explaining all the command
100line options. For example, compare <command>man bison</command> and
101<command>info bison</command>.</para>
102<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
103</listitem>
104</varlistentry>
105
106<varlistentry id="infokey">
107<term><command>infokey</command></term>
108<listitem>
109<para>compiles a source file containing Info customizations into a
110binary format.</para>
111<indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
112</listitem>
113</varlistentry>
114
115<varlistentry id="install-info">
116<term><command>install-info</command></term>
117<listitem>
118<para>used to install Info files. It updates entries in the Info index
119file.</para>
120<indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
121</listitem>
122</varlistentry>
123
124<varlistentry id="makeinfo">
125<term><command>makeinfo</command></term>
126<listitem>
127<para>translates the given Texinfo source documents into
128info files, plain text, or HTML.</para>
129<indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
130</listitem>
131</varlistentry>
132
133<varlistentry id="texi2dvi">
134<term><command>texi2dvi</command></term>
135<listitem>
136<para>used to format the given Texinfo document into a
137device-independent file that can be printed.</para>
138<indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
139</listitem>
140</varlistentry>
141
142<varlistentry id="texindex">
143<term><command>texindex</command></term>
144<listitem>
145<para>used to sort Texinfo index files.</para>
146<indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
147</listitem>
148</varlistentry>
149</variablelist>
150
151</sect2>
152
153</sect1>
154
Note: See TracBrowser for help on using the repository browser.