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" xreflabel="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, 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 TEXMF
|
---|
57 | makefile variable holds the location of the root of your TeX tree if, for
|
---|
58 | example, you plan to install a TeX package later on.</para></listitem>
|
---|
59 | </varlistentry>
|
---|
60 | </variablelist>
|
---|
61 |
|
---|
62 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
63 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
64 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
65 | it can sometimes get out of step with the Info manuals actually installed on the
|
---|
66 | system. If ever you need to recreate the
|
---|
67 | <filename>/usr/share/info/dir</filename> file, the following optional commands
|
---|
68 | will accomplish the task:</para>
|
---|
69 |
|
---|
70 | <screen><userinput>cd /usr/share/info
|
---|
71 | rm dir
|
---|
72 | for f in *
|
---|
73 | do install-info $f dir 2>/dev/null
|
---|
74 | done</userinput></screen>
|
---|
75 |
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 |
|
---|
79 | <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
---|
80 |
|
---|
81 | <segmentedlist>
|
---|
82 | <segtitle>Installed programs</segtitle>
|
---|
83 | <seglistitem><seg>info, infokey, install-info,
|
---|
84 | makeinfo, texi2dvi and texindex</seg></seglistitem>
|
---|
85 | </segmentedlist>
|
---|
86 |
|
---|
87 | <variablelist><title>Short descriptions</title>
|
---|
88 |
|
---|
89 | <varlistentry id="info">
|
---|
90 | <term><command>info</command></term>
|
---|
91 | <listitem>
|
---|
92 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
93 | <para>is used to read Info documents. Info
|
---|
94 | documents are a bit like man pages, but often go much deeper than just
|
---|
95 | explaining all the flags. Compare for example <command>man tar</command>
|
---|
96 | and <command>info tar</command>.</para>
|
---|
97 | </listitem>
|
---|
98 | </varlistentry>
|
---|
99 |
|
---|
100 | <varlistentry id="infokey">
|
---|
101 | <term><command>infokey</command></term>
|
---|
102 | <listitem>
|
---|
103 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
104 | <para>compiles a source file containing Info
|
---|
105 | customizations into a binary format.</para>
|
---|
106 | </listitem>
|
---|
107 | </varlistentry>
|
---|
108 |
|
---|
109 | <varlistentry id="install-info">
|
---|
110 | <term><command>install-info</command></term>
|
---|
111 | <listitem>
|
---|
112 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
113 | <para>is used to install Info files. It updates entries in the Info index file.</para>
|
---|
114 | </listitem>
|
---|
115 | </varlistentry>
|
---|
116 |
|
---|
117 | <varlistentry id="makeinfo">
|
---|
118 | <term><command>makeinfo</command></term>
|
---|
119 | <listitem>
|
---|
120 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
121 | <para>translates the given Texinfo source
|
---|
122 | documents into various other formats: Info files, plain text, or HTML.</para>
|
---|
123 | </listitem>
|
---|
124 | </varlistentry>
|
---|
125 |
|
---|
126 | <varlistentry id="texi2dvi">
|
---|
127 | <term><command>texi2dvi</command></term>
|
---|
128 | <listitem>
|
---|
129 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
130 | <para>is used to format the given Texinfo
|
---|
131 | document into a device-independent file that can be printed.</para>
|
---|
132 | </listitem>
|
---|
133 | </varlistentry>
|
---|
134 |
|
---|
135 | <varlistentry id="texindex">
|
---|
136 | <term><command>texindex</command></term>
|
---|
137 | <listitem>
|
---|
138 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
139 | <para>is used to sort Texinfo index files.</para>
|
---|
140 | </listitem>
|
---|
141 | </varlistentry>
|
---|
142 | </variablelist>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | </sect1>
|
---|