source: chapter06/texinfo.xml@ 69993f4

6.0
Last change on this file since 69993f4 was 69993f4, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Second round of edits for final release

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

  • Property mode set to 100644
File size: 4.8 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" xreflabel="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>Prepare Texinfo for compilation:</para>
33
34<screen><userinput>./configure --prefix=/usr</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
40<para>To test the results, issue:
41<userinput>make check</userinput>.</para>
42
43<para>Install the package:</para>
44
45<screen><userinput>make install</userinput></screen>
46
47<para>Optionally, install the components belonging in a TeX installation:</para>
48
49<screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
50
51<para>The meaning of the make parameter:</para>
52
53<variablelist>
54<varlistentry>
55<term><parameter>TEXMF=/usr/share/texmf</parameter></term>
56<listitem><para>The TEXMF makefile variable holds the location of the
57root of the TeX tree if, for example, a TeX package will be installed
58later.</para></listitem>
59</varlistentry>
60</variablelist>
61
62<para>The Info documentation system uses a plain text file to hold its
63list of menu entries. The file is located at
64<filename>/usr/share/info/dir</filename>. Unfortunately, due to
65occasional problems in the Makefiles of various packages, it can
66sometimes get out of step with the Info manuals installed on the
67system. If the <filename>/usr/share/info/dir</filename> file ever
68needs to be recreated, the following optional commands will accomplish
69the task:</para>
70
71<screen><userinput>cd /usr/share/info
72rm dir
73for f in *
74do install-info $f dir 2&gt;/dev/null
75done</userinput></screen>
76
77</sect2>
78
79<sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
80
81<segmentedlist>
82<segtitle>Installed programs</segtitle>
83<seglistitem><seg>info, infokey, install-info,
84makeinfo, texi2dvi, and texindex</seg></seglistitem>
85</segmentedlist>
86
87<variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
88<?dbfo list-presentation="list"?>
89
90<varlistentry id="info">
91<term><command>info</command></term>
92<listitem>
93<para>used to read Info documents. Info documents are similar to man
94pages, but often go much deeper than just explaining all the command
95line options. For example, compare <command>man bison</command> and
96<command>info bison</command>.</para>
97<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
98</listitem>
99</varlistentry>
100
101<varlistentry id="infokey">
102<term><command>infokey</command></term>
103<listitem>
104<para>compiles a source file containing Info customizations into a
105binary format.</para>
106<indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
107</listitem>
108</varlistentry>
109
110<varlistentry id="install-info">
111<term><command>install-info</command></term>
112<listitem>
113<para>used to install Info files. It updates entries in the Info index
114file.</para>
115<indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
116</listitem>
117</varlistentry>
118
119<varlistentry id="makeinfo">
120<term><command>makeinfo</command></term>
121<listitem>
122<para>translates the given Texinfo source documents into
123info files, plain text, or HTML.</para>
124<indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
125</listitem>
126</varlistentry>
127
128<varlistentry id="texi2dvi">
129<term><command>texi2dvi</command></term>
130<listitem>
131<para>used to format the given Texinfo document into a
132device-independent file that can be printed.</para>
133<indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
134</listitem>
135</varlistentry>
136
137<varlistentry id="texindex">
138<term><command>texindex</command></term>
139<listitem>
140<para>used to sort Texinfo index files.</para>
141<indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
142</listitem>
143</varlistentry>
144</variablelist>
145
146</sect2>
147
148</sect1>
149
Note: See TracBrowser for help on using the repository browser.