source: BOOK/final-system/common/texinfo.xml @ 6af3a34

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 6af3a34 was 6af3a34, checked in by Jim Gifford <clfs@…>, 15 years ago

Added Patches to File, Man, Tar, and Texinfo to support XZ Utils

  • Property mode set to 100644
File size: 5.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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="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
32    <para os="a">Prepare Texinfo for compilation:</para>
33
34<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
35
36    <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40    <para os="e">To test the results, issue:
41    <userinput>make check</userinput>.</para>
42
43    <para os="f">Install the package:</para>
44
45<screen os="g"><userinput>make install</userinput></screen>
46
47    <para os="h">The Info documentation system uses a plain text file to hold
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
55<screen os="i" role="nodump"><userinput>cd /usr/share/info
56rm dir
57for f in *
58do install-info $f dir 2&gt;/dev/null
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, pdftexi2dvi, texi2dvi,
71        texi2pdf, 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="pdftexi2dvi">
127        <term><command>pdftexi2dvi</command></term>
128        <listitem>
129          <para>Shell script that run <command>texi2dvi --pdf</command></para>
130          <indexterm zone="ch-system-texinfo pdftexi2dvi">
131            <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
132          </indexterm>
133        </listitem>
134      </varlistentry>
135
136      <varlistentry id="texi2dvi">
137        <term><command>texi2dvi</command></term>
138        <listitem>
139          <para>Used to format the given Texinfo document into a
140          device-independent file that can be printed</para>
141          <indexterm zone="ch-system-texinfo texi2dvi">
142            <primary sortas="b-texi2dvi">texi2dvi</primary>
143          </indexterm>
144        </listitem>
145      </varlistentry>
146
147      <varlistentry id="texi2pdf">
148        <term><command>texi2pdf</command></term>
149        <listitem>
150          <para>Used to format the given Texinfo document into a
151          Portable Document Format (PDF) file</para>
152          <indexterm zone="ch-system-texinfo texi2pdf">
153            <primary sortas="b-texi2pdf">texi2pdf</primary>
154          </indexterm>
155        </listitem>
156      </varlistentry>
157
158      <varlistentry id="texindex">
159        <term><command>texindex</command></term>
160        <listitem>
161          <para>Used to sort Texinfo index files</para>
162          <indexterm zone="ch-system-texinfo texindex">
163            <primary sortas="b-texindex">texindex</primary>
164          </indexterm>
165        </listitem>
166      </varlistentry>
167
168    </variablelist>
169
170  </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.