source: clfs-sysroot/BOOK/final-system/common/texinfo.xml@ a2bcc79

Last change on this file since a2bcc79 was 2270211, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Update Patches in the book.

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]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 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Texinfo</title>
27
28 <para os="a">Prepare Texinfo for compilation:</para>
29
[cee2ca2]30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/usr</userinput></screen>
[02095ae]32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">Install the package:</para>
38
[586feb7]39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]40
[51cbbb6]41 <para os="g">The Info documentation system uses a plain text file to hold
[02095ae]42 its list of menu entries. The file is located at
43 <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional
44 problems in the Makefiles of various packages, it can sometimes get out of
45 sync with the info pages installed on the system. If the
46 <filename>/usr/share/info/dir</filename> file ever needs to be recreated,
47 the following optional commands will accomplish the task:</para>
48
[51cbbb6]49<screen os="h" role="nodump"><userinput>cd ${CLFS}/usr/share/info
[02095ae]50rm dir
51for f in *
[65df7b1]52do install-info ${f} dir 2&gt;/dev/null
[02095ae]53done</userinput></screen>
54
55 </sect2>
56
57 <sect2 id="contents-texinfo" role="content">
58 <title>Contents of Texinfo</title>
59
60 <segmentedlist>
61 <segtitle>Installed programs</segtitle>
62
63 <seglistitem>
64 <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf,
65 and texindex</seg>
66 </seglistitem>
67 </segmentedlist>
68
69 <variablelist>
70 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
71 <?dbfo list-presentation="list"?>
72 <?dbhtml list-presentation="table"?>
73
74 <varlistentry id="info">
75 <term><command>info</command></term>
76 <listitem>
77 <para>Used to read info pages which are similar to man
78 pages, but often go much deeper than just explaining all the command
79 line options. For example, compare <command>man bison</command> and
80 <command>info bison</command>.</para>
81 <indexterm zone="ch-system-texinfo info">
82 <primary sortas="b-info">info</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="infokey">
88 <term><command>infokey</command></term>
89 <listitem>
90 <para>Compiles a source file containing Info customizations into a
91 binary format</para>
92 <indexterm zone="ch-system-texinfo infokey">
93 <primary sortas="b-infokey">infokey</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="install-info">
99 <term><command>install-info</command></term>
100 <listitem>
101 <para>Used to install info pages; it updates entries in the
102 <command>info</command> index file</para>
103 <indexterm zone="ch-system-texinfo install-info">
104 <primary sortas="b-install-info">install-info</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry id="makeinfo">
110 <term><command>makeinfo</command></term>
111 <listitem>
112 <para>Translates the given Texinfo source documents into
113 info pages, plain text, or HTML</para>
114 <indexterm zone="ch-system-texinfo makeinfo">
115 <primary sortas="b-makeinfo">makeinfo</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119
120 <varlistentry id="texi2dvi">
121 <term><command>texi2dvi</command></term>
122 <listitem>
123 <para>Used to format the given Texinfo document into a
124 device-independent file that can be printed</para>
125 <indexterm zone="ch-system-texinfo texi2dvi">
126 <primary sortas="b-texi2dvi">texi2dvi</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="texi2pdf">
132 <term><command>texi2pdf</command></term>
133 <listitem>
134 <para>Used to format the given Texinfo document into a
135 Portable Document Format (PDF) file</para>
136 <indexterm zone="ch-system-texinfo texi2pdf">
137 <primary sortas="b-texi2pdf">texi2pdf</primary>
138 </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">
147 <primary sortas="b-texindex">texindex</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 </variablelist>
153
154 </sect2>
155
156</sect1>
Note: See TracBrowser for help on using the repository browser.