source: chapter06/texinfo.xml@ 9c9d585

Last change on this file since 9c9d585 was 1fe35e1, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter06/*.xml) RELAX NG validation fixes

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

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