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

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

Add new compressors patches to file texinfo and man. Also add the file fixes patch.

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