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">
|
---|
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 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
13 | converting Info documents.</para>
|
---|
14 |
|
---|
15 | <screen>&buildtime; 0.2 SBU
|
---|
16 | &diskspace; 17 MB</screen>
|
---|
17 |
|
---|
18 | <para>Texinfo installation depends on: Bash, Binutils, Coreutils,
|
---|
19 | Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed.</para>
|
---|
20 |
|
---|
21 |
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Installation of Texinfo</title>
|
---|
25 |
|
---|
26 | <para>Prepare Texinfo for compilation:</para>
|
---|
27 |
|
---|
28 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
29 |
|
---|
30 | <para>Compile the package:</para>
|
---|
31 |
|
---|
32 | <screen><userinput>make</userinput></screen>
|
---|
33 |
|
---|
34 | <para>To test the results, issue:
|
---|
35 | <userinput>make check</userinput>.</para>
|
---|
36 |
|
---|
37 | <para>Install the package:</para>
|
---|
38 |
|
---|
39 | <screen><userinput>make install</userinput></screen>
|
---|
40 |
|
---|
41 | <para>Optionally install the components belonging in a TeX installation:</para>
|
---|
42 |
|
---|
43 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
44 |
|
---|
45 | <para>The meaning of the make parameter:</para>
|
---|
46 |
|
---|
47 | <itemizedlist>
|
---|
48 | <listitem><para><userinput>TEXMF=/usr/share/texmf</userinput>: The TEXMF
|
---|
49 | makefile variable holds the location of the root of your TeX tree if, for
|
---|
50 | example, you plan to install a TeX package later on.</para></listitem>
|
---|
51 | </itemizedlist>
|
---|
52 |
|
---|
53 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
54 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
55 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
56 | it can sometimes get out of step with the Info manuals actually installed on the
|
---|
57 | system. If ever you need to recreate the
|
---|
58 | <filename>/usr/share/info/dir</filename> file, the following optional commands
|
---|
59 | will accomplish the task:</para>
|
---|
60 |
|
---|
61 | <screen><userinput>cd /usr/share/info
|
---|
62 | rm dir
|
---|
63 | for f in *
|
---|
64 | do install-info $f dir 2>/dev/null
|
---|
65 | done</userinput></screen>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 |
|
---|
70 | <sect2 id="contents-texinfo"><title>Contents of Texinfo</title>
|
---|
71 |
|
---|
72 | <para><emphasis>Installed programs</emphasis>: info, infokey, install-info,
|
---|
73 | makeinfo, texi2dvi and texindex</para>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | <sect2><title>Short descriptions</title>
|
---|
78 |
|
---|
79 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
80 | <para id="info"><command>info</command> is used to read Info documents. Info
|
---|
81 | documents are a bit like man pages, but often go much deeper than just
|
---|
82 | explaining all the flags. Compare for example man tar and info tar.</para>
|
---|
83 |
|
---|
84 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
85 | <para id="infokey"><command>infokey</command> compiles a source file containing Info
|
---|
86 | customizations into a binary format.</para>
|
---|
87 |
|
---|
88 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
89 | <para id="install-info"><command>install-info</command> is used to install Info files. It
|
---|
90 | updates entries in the Info index file.</para>
|
---|
91 |
|
---|
92 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
93 | <para id="makeinfo"><command>makeinfo</command> translates the given Texinfo source
|
---|
94 | documents into various other formats: Info files, plain text, or HTML.</para>
|
---|
95 |
|
---|
96 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
97 | <para id="texi2dvi"><command>texi2dvi</command> is used to format the given Texinfo
|
---|
98 | document into a device-independent file that can be printed.</para>
|
---|
99 |
|
---|
100 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
101 | <para id="texindex"><command>texindex</command> is used to sort Texinfo index files.</para>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 |
|
---|
106 |
|
---|
107 | </sect1>
|
---|