source: final-system/common/texinfo.xml@ 53f5896

Last change on this file since 53f5896 was 0f06076, checked in by Jim Gifford <clfs@…>, 19 years ago

r3371@server (orig r1554): chris | 2006-05-10 14:03:44 -0700
Removed dependency info from individual package instructions

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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">Texinfo allows local users to overwrite arbitrary files via a symlink
29 attack on temporary files. Apply the following patch to fix this:</para>
30
31<screen os="p2"><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen>
32
33 <para os="a">Prepare Texinfo for compilation:</para>
34
[e6423a01]35<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
[bf8c11f]36
[e6423a01]37 <para os="c">Compile the package:</para>
[bf8c11f]38
[e6423a01]39<screen os="d"><userinput>make</userinput></screen>
[bf8c11f]40
[e6423a01]41 <para os="e">To test the results, issue:
[bf8c11f]42 <userinput>make check</userinput>.</para>
43
[e6423a01]44 <para os="f">Install the package:</para>
[bf8c11f]45
[e6423a01]46<screen os="g"><userinput>make install</userinput></screen>
[bf8c11f]47
[e6423a01]48 <para os="h">Optionally, install the components belonging in a TeX
[bf8c11f]49 installation:</para>
50
[e6423a01]51<screen os="i"><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
[bf8c11f]52
[e6423a01]53 <variablelist os="j">
[bf8c11f]54 <title>The meaning of the make parameter:</title>
55
56 <varlistentry>
57 <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
58 <listitem>
59 <para>The <envar>TEXMF</envar> makefile variable holds the location
60 of the root of the TeX tree if, for example, a TeX package will be
61 installed later.</para>
62 </listitem>
63 </varlistentry>
64
65 </variablelist>
66
[e6423a01]67 <para os="k">The Info documentation system uses a plain text file to hold
[bf8c11f]68 its list of menu entries. The file is located at
69 <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional
70 problems in the Makefiles of various packages, it can sometimes get out of
71 sync with the info pages installed on the system. If the
72 <filename>/usr/share/info/dir</filename> file ever needs to be recreated,
73 the following optional commands will accomplish the task:</para>
74
[3680b28]75<screen os="l" role="nodump"><userinput>cd /usr/share/info
[bf8c11f]76rm dir
77for f in *
78do install-info $f dir 2&gt;/dev/null
79done</userinput></screen>
80
81 </sect2>
82
83 <sect2 id="contents-texinfo" role="content">
84 <title>Contents of Texinfo</title>
85
86 <segmentedlist>
87 <segtitle>Installed programs</segtitle>
88
89 <seglistitem>
90 <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf,
91 and texindex</seg>
92 </seglistitem>
93 </segmentedlist>
94
95 <variablelist>
96 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
97 <?dbfo list-presentation="list"?>
98 <?dbhtml list-presentation="table"?>
99
100 <varlistentry id="info">
101 <term><command>info</command></term>
102 <listitem>
103 <para>Used to read info pages which are similar to man
104 pages, but often go much deeper than just explaining all the command
105 line options. For example, compare <command>man bison</command> and
106 <command>info bison</command>.</para>
107 <indexterm zone="ch-system-texinfo info">
108 <primary sortas="b-info">info</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="infokey">
114 <term><command>infokey</command></term>
115 <listitem>
116 <para>Compiles a source file containing Info customizations into a
117 binary format</para>
118 <indexterm zone="ch-system-texinfo infokey">
119 <primary sortas="b-infokey">infokey</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="install-info">
125 <term><command>install-info</command></term>
126 <listitem>
127 <para>Used to install info pages; it updates entries in the
128 <command>info</command> index file</para>
129 <indexterm zone="ch-system-texinfo install-info">
130 <primary sortas="b-install-info">install-info</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="makeinfo">
136 <term><command>makeinfo</command></term>
137 <listitem>
138 <para>Translates the given Texinfo source documents into
139 info pages, plain text, or HTML</para>
140 <indexterm zone="ch-system-texinfo makeinfo">
141 <primary sortas="b-makeinfo">makeinfo</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="texi2dvi">
147 <term><command>texi2dvi</command></term>
148 <listitem>
149 <para>Used to format the given Texinfo document into a
150 device-independent file that can be printed</para>
151 <indexterm zone="ch-system-texinfo texi2dvi">
152 <primary sortas="b-texi2dvi">texi2dvi</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="texi2pdf">
158 <term><command>texi2pdf</command></term>
159 <listitem>
160 <para>Used to format the given Texinfo document into a
161 Portable Document Format (PDF) file</para>
162 <indexterm zone="ch-system-texinfo texi2pdf">
163 <primary sortas="b-texi2pdf">texi2pdf</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="texindex">
169 <term><command>texindex</command></term>
170 <listitem>
171 <para>Used to sort Texinfo index files</para>
172 <indexterm zone="ch-system-texinfo texindex">
173 <primary sortas="b-texindex">texindex</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 </variablelist>
179
180 </sect2>
181
182</sect1>
Note: See TracBrowser for help on using the repository browser.