source: BOOK/final-system/common/texinfo.xml@ 5d307e8

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5d307e8 was 9b4d9e7, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Use pushd and popd when regenerating the info db after installing texinfo.

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[6af3a34]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
[3f8be484]32 <para os="a">Prepare Texinfo for compilation:</para>
33
[e0e40d3]34<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
[3f8be484]35
[e0e40d3]36 <para os="c">Compile the package:</para>
[3f8be484]37
[e0e40d3]38<screen os="d"><userinput>make</userinput></screen>
[3f8be484]39
[e0e40d3]40 <para os="e">To test the results, issue:
[3f8be484]41 <userinput>make check</userinput>.</para>
42
[e0e40d3]43 <para os="f">Install the package:</para>
[3f8be484]44
[e0e40d3]45<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]46
[5921622]47 <para os="h">The Info documentation system uses a plain text file to hold
[3f8be484]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
[9b4d9e7]55<screen os="i" role="nodump"><userinput>pushd /usr/share/info
[3f8be484]56rm dir
57for f in *
58do install-info $f dir 2&gt;/dev/null
[9b4d9e7]59done
60popd</userinput></screen>
[3f8be484]61
62 </sect2>
63
64 <sect2 id="contents-texinfo" role="content">
65 <title>Contents of Texinfo</title>
66
67 <segmentedlist>
68 <segtitle>Installed programs</segtitle>
[61ad0b7f]69 <segtitle>Installed directory</segtitle>
[3f8be484]70
71 <seglistitem>
[427015f]72 <seg>info, infokey, install-info, makeinfo, pdftexi2dvi, texi2dvi,
73 texi2pdf, and texindex</seg>
[61ad0b7f]74 <seg>/usr/share/texinfo</seg>
[3f8be484]75 </seglistitem>
76 </segmentedlist>
77
78 <variablelist>
79 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80 <?dbfo list-presentation="list"?>
81 <?dbhtml list-presentation="table"?>
82
83 <varlistentry id="info">
84 <term><command>info</command></term>
85 <listitem>
86 <para>Used to read info pages which are similar to man
87 pages, but often go much deeper than just explaining all the command
88 line options. For example, compare <command>man bison</command> and
89 <command>info bison</command>.</para>
90 <indexterm zone="ch-system-texinfo info">
91 <primary sortas="b-info">info</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry id="infokey">
97 <term><command>infokey</command></term>
98 <listitem>
99 <para>Compiles a source file containing Info customizations into a
100 binary format</para>
101 <indexterm zone="ch-system-texinfo infokey">
102 <primary sortas="b-infokey">infokey</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="install-info">
108 <term><command>install-info</command></term>
109 <listitem>
110 <para>Used to install info pages; it updates entries in the
111 <command>info</command> index file</para>
112 <indexterm zone="ch-system-texinfo install-info">
113 <primary sortas="b-install-info">install-info</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="makeinfo">
119 <term><command>makeinfo</command></term>
120 <listitem>
121 <para>Translates the given Texinfo source documents into
122 info pages, plain text, or HTML</para>
123 <indexterm zone="ch-system-texinfo makeinfo">
124 <primary sortas="b-makeinfo">makeinfo</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
[427015f]129 <varlistentry id="pdftexi2dvi">
130 <term><command>pdftexi2dvi</command></term>
131 <listitem>
132 <para>Shell script that run <command>texi2dvi --pdf</command></para>
133 <indexterm zone="ch-system-texinfo pdftexi2dvi">
134 <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
[3f8be484]139 <varlistentry id="texi2dvi">
140 <term><command>texi2dvi</command></term>
141 <listitem>
142 <para>Used to format the given Texinfo document into a
143 device-independent file that can be printed</para>
144 <indexterm zone="ch-system-texinfo texi2dvi">
145 <primary sortas="b-texi2dvi">texi2dvi</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="texi2pdf">
151 <term><command>texi2pdf</command></term>
152 <listitem>
153 <para>Used to format the given Texinfo document into a
154 Portable Document Format (PDF) file</para>
155 <indexterm zone="ch-system-texinfo texi2pdf">
156 <primary sortas="b-texi2pdf">texi2pdf</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="texindex">
162 <term><command>texindex</command></term>
163 <listitem>
164 <para>Used to sort Texinfo index files</para>
165 <indexterm zone="ch-system-texinfo texindex">
166 <primary sortas="b-texindex">texindex</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.