[673b0d8] | 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 | ]>
|
---|
[a001133] | 6 | <sect1 id="ch-system-texinfo" xreflabel="Texinfo" role="wrap">
|
---|
[673b0d8] | 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>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
| 14 | converting Info documents.</para>
|
---|
| 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
| 19 | <seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
|
---|
| 20 | </segmentedlist>
|
---|
[673b0d8] | 21 |
|
---|
[a001133] | 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>
|
---|
[3554fa3a] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 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 |
|
---|
[673b0d8] | 40 | <para>To test the results, issue:
|
---|
[8a5f906] | 41 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 42 |
|
---|
| 43 | <para>Install the package:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput>make install</userinput></screen>
|
---|
| 46 |
|
---|
[673b0d8] | 47 | <para>Optionally install the components belonging in a TeX installation:</para>
|
---|
[73aedd1d] | 48 |
|
---|
| 49 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 50 |
|
---|
[5763f675] | 51 | <para>The meaning of the make parameter:</para>
|
---|
[73aedd1d] | 52 |
|
---|
[df8334f] | 53 | <variablelist>
|
---|
| 54 | <varlistentry>
|
---|
[8ad7980] | 55 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
[df8334f] | 56 | <listitem><para>The TEXMF
|
---|
[73aedd1d] | 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>
|
---|
[df8334f] | 59 | </varlistentry>
|
---|
| 60 | </variablelist>
|
---|
[73aedd1d] | 61 |
|
---|
[554b366] | 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 *
|
---|
[673b0d8] | 73 | do install-info $f dir 2>/dev/null
|
---|
[554b366] | 74 | done</userinput></screen>
|
---|
| 75 |
|
---|
[73aedd1d] | 76 | </sect2>
|
---|
[6370fa6] | 77 |
|
---|
[5888299] | 78 |
|
---|
[c6cb3aa] | 79 | <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
---|
[673b0d8] | 80 |
|
---|
[c6cb3aa] | 81 | <segmentedlist>
|
---|
| 82 | <segtitle>Installed programs</segtitle>
|
---|
| 83 | <seglistitem><seg>info, infokey, install-info,
|
---|
| 84 | makeinfo, texi2dvi and texindex</seg></seglistitem>
|
---|
| 85 | </segmentedlist>
|
---|
[673b0d8] | 86 |
|
---|
[c6cb3aa] | 87 | <variablelist><title>Short descriptions</title>
|
---|
[673b0d8] | 88 |
|
---|
[b8a819f] | 89 | <varlistentry id="info">
|
---|
| 90 | <term><command>info</command></term>
|
---|
[c6cb3aa] | 91 | <listitem>
|
---|
[673b0d8] | 92 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
[c6cb3aa] | 93 | <para>is used to read Info documents. Info
|
---|
[673b0d8] | 94 | documents are a bit like man pages, but often go much deeper than just
|
---|
[8ad7980] | 95 | explaining all the flags. Compare for example <command>man tar</command>
|
---|
| 96 | and <command>info tar</command>.</para>
|
---|
[c6cb3aa] | 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
[673b0d8] | 99 |
|
---|
[b8a819f] | 100 | <varlistentry id="infokey">
|
---|
| 101 | <term><command>infokey</command></term>
|
---|
[c6cb3aa] | 102 | <listitem>
|
---|
[673b0d8] | 103 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
[c6cb3aa] | 104 | <para>compiles a source file containing Info
|
---|
[673b0d8] | 105 | customizations into a binary format.</para>
|
---|
[c6cb3aa] | 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
[73aedd1d] | 108 |
|
---|
[b8a819f] | 109 | <varlistentry id="install-info">
|
---|
| 110 | <term><command>install-info</command></term>
|
---|
[c6cb3aa] | 111 | <listitem>
|
---|
[673b0d8] | 112 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
[c6cb3aa] | 113 | <para>is used to install Info files. It updates entries in the Info index file.</para>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
[673b0d8] | 116 |
|
---|
[b8a819f] | 117 | <varlistentry id="makeinfo">
|
---|
| 118 | <term><command>makeinfo</command></term>
|
---|
[c6cb3aa] | 119 | <listitem>
|
---|
[673b0d8] | 120 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
[c6cb3aa] | 121 | <para>translates the given Texinfo source
|
---|
[673b0d8] | 122 | documents into various other formats: Info files, plain text, or HTML.</para>
|
---|
[c6cb3aa] | 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
[673b0d8] | 125 |
|
---|
[b8a819f] | 126 | <varlistentry id="texi2dvi">
|
---|
| 127 | <term><command>texi2dvi</command></term>
|
---|
[c6cb3aa] | 128 | <listitem>
|
---|
[673b0d8] | 129 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
[c6cb3aa] | 130 | <para>is used to format the given Texinfo
|
---|
[673b0d8] | 131 | document into a device-independent file that can be printed.</para>
|
---|
[c6cb3aa] | 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
[673b0d8] | 134 |
|
---|
[b8a819f] | 135 | <varlistentry id="texindex">
|
---|
| 136 | <term><command>texindex</command></term>
|
---|
[c6cb3aa] | 137 | <listitem>
|
---|
[673b0d8] | 138 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
[c6cb3aa] | 139 | <para>is used to sort Texinfo index files.</para>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 | </variablelist>
|
---|
[673b0d8] | 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | </sect1>
|
---|