1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-texinfo" role="wrap">
|
---|
7 | <title>Texinfo-&texinfo-version;</title>
|
---|
8 | <?dbhtml filename="texinfo.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
|
---|
11 |
|
---|
12 | <sect2 role="package"><title/>
|
---|
13 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
14 | converting Info documents.</para>
|
---|
15 |
|
---|
16 | <segmentedlist>
|
---|
17 | <segtitle>&buildtime;</segtitle>
|
---|
18 | <segtitle>&diskspace;</segtitle>
|
---|
19 | <seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
|
---|
20 | </segmentedlist>
|
---|
21 |
|
---|
22 | <segmentedlist>
|
---|
23 | <segtitle>Texinfo installation depends on</segtitle>
|
---|
24 | <seglistitem><seg>Bash, Binutils, Coreutils,
|
---|
25 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
|
---|
26 | </segmentedlist>
|
---|
27 | </sect2>
|
---|
28 |
|
---|
29 | <sect2 role="installation">
|
---|
30 | <title>Installation of Texinfo</title>
|
---|
31 |
|
---|
32 | <para>The following patch fixes a problem where the
|
---|
33 | <command>info</command> program sometimes crashes when hitting the
|
---|
34 | <emphasis>Delete</emphasis> key on the keyboard:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-segfault-1.patch</userinput></screen>
|
---|
37 |
|
---|
38 | <para>Prepare Texinfo for compilation:</para>
|
---|
39 |
|
---|
40 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
41 |
|
---|
42 | <para>Compile the package:</para>
|
---|
43 |
|
---|
44 | <screen><userinput>make</userinput></screen>
|
---|
45 |
|
---|
46 | <para>To test the results, issue:
|
---|
47 | <userinput>make check</userinput>.</para>
|
---|
48 |
|
---|
49 | <para>Install the package:</para>
|
---|
50 |
|
---|
51 | <screen><userinput>make install</userinput></screen>
|
---|
52 |
|
---|
53 | <para>Optionally, install the components belonging in a TeX installation:</para>
|
---|
54 |
|
---|
55 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
56 |
|
---|
57 | <para>The meaning of the make parameter:</para>
|
---|
58 |
|
---|
59 | <variablelist>
|
---|
60 | <varlistentry>
|
---|
61 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
62 | <listitem><para>The <envar>TEXMF</envar> makefile variable holds the location of the
|
---|
63 | root of the TeX tree if, for example, a TeX package will be installed
|
---|
64 | later.</para></listitem>
|
---|
65 | </varlistentry>
|
---|
66 | </variablelist>
|
---|
67 |
|
---|
68 | <beginpage/>
|
---|
69 | <para>The Info documentation system uses a plain text file to hold its
|
---|
70 | list of menu entries. The file is located at
|
---|
71 | <filename>/usr/share/info/dir</filename>. Unfortunately, due to
|
---|
72 | occasional problems in the Makefiles of various packages, it can
|
---|
73 | sometimes get out of step with the Info manuals installed on the
|
---|
74 | system. If the <filename>/usr/share/info/dir</filename> file ever
|
---|
75 | needs to be recreated, the following optional commands will accomplish
|
---|
76 | the task:</para>
|
---|
77 |
|
---|
78 | <screen><userinput>cd /usr/share/info
|
---|
79 | rm dir
|
---|
80 | for f in *
|
---|
81 | do install-info $f dir 2>/dev/null
|
---|
82 | done</userinput></screen>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
---|
87 |
|
---|
88 | <segmentedlist>
|
---|
89 | <segtitle>Installed programs</segtitle>
|
---|
90 | <seglistitem><seg>info, infokey, install-info,
|
---|
91 | makeinfo, texi2dvi, and texindex</seg></seglistitem>
|
---|
92 | </segmentedlist>
|
---|
93 |
|
---|
94 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
95 | <?dbfo list-presentation="list"?>
|
---|
96 |
|
---|
97 | <varlistentry id="info">
|
---|
98 | <term><command>info</command></term>
|
---|
99 | <listitem>
|
---|
100 | <para>Used to read Info documents which are similar to man
|
---|
101 | pages, but often go much deeper than just explaining all the command
|
---|
102 | line options. For example, compare <command>man bison</command> and
|
---|
103 | <command>info bison</command>.</para>
|
---|
104 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
105 | </listitem>
|
---|
106 | </varlistentry>
|
---|
107 |
|
---|
108 | <varlistentry id="infokey">
|
---|
109 | <term><command>infokey</command></term>
|
---|
110 | <listitem>
|
---|
111 | <para>Compiles a source file containing Info customizations into a
|
---|
112 | binary format</para>
|
---|
113 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
114 | </listitem>
|
---|
115 | </varlistentry>
|
---|
116 |
|
---|
117 | <varlistentry id="install-info">
|
---|
118 | <term><command>install-info</command></term>
|
---|
119 | <listitem>
|
---|
120 | <para>Used to install Info files; it updates entries in the Info index
|
---|
121 | file</para>
|
---|
122 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
123 | </listitem>
|
---|
124 | </varlistentry>
|
---|
125 |
|
---|
126 | <varlistentry id="makeinfo">
|
---|
127 | <term><command>makeinfo</command></term>
|
---|
128 | <listitem>
|
---|
129 | <para>Translates the given Texinfo source documents into
|
---|
130 | info files, plain text, or HTML</para>
|
---|
131 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
132 | </listitem>
|
---|
133 | </varlistentry>
|
---|
134 |
|
---|
135 | <varlistentry id="texi2dvi">
|
---|
136 | <term><command>texi2dvi</command></term>
|
---|
137 | <listitem>
|
---|
138 | <para>Used to format the given Texinfo document into a
|
---|
139 | device-independent file that can be printed</para>
|
---|
140 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | <varlistentry id="texindex">
|
---|
145 | <term><command>texindex</command></term>
|
---|
146 | <listitem>
|
---|
147 | <para>Used to sort Texinfo index files</para>
|
---|
148 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
149 | </listitem>
|
---|
150 | </varlistentry>
|
---|
151 | </variablelist>
|
---|
152 |
|
---|
153 | </sect2>
|
---|
154 |
|
---|
155 | </sect1>
|
---|
156 |
|
---|