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