[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 |
|
---|
[2ca7e114] | 34 | <para>The patch listed below fixes a known segfault in texinfo:</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 |
|
---|
[73aedd1d] | 40 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | <para>Compile the package:</para>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput>make</userinput></screen>
|
---|
| 45 |
|
---|
[673b0d8] | 46 | <para>To test the results, issue:
|
---|
[8a5f906] | 47 | <userinput>make check</userinput>.</para>
|
---|
[73aedd1d] | 48 |
|
---|
| 49 | <para>Install the package:</para>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput>make install</userinput></screen>
|
---|
| 52 |
|
---|
[673b0d8] | 53 | <para>Optionally install the components belonging in a TeX installation:</para>
|
---|
[73aedd1d] | 54 |
|
---|
| 55 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 56 |
|
---|
[5763f675] | 57 | <para>The meaning of the make parameter:</para>
|
---|
[73aedd1d] | 58 |
|
---|
[df8334f] | 59 | <variablelist>
|
---|
| 60 | <varlistentry>
|
---|
[8ad7980] | 61 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
[df8334f] | 62 | <listitem><para>The TEXMF
|
---|
[73aedd1d] | 63 | makefile variable holds the location of the root of your TeX tree if, for
|
---|
| 64 | example, you plan to install a TeX package later on.</para></listitem>
|
---|
[df8334f] | 65 | </varlistentry>
|
---|
| 66 | </variablelist>
|
---|
[73aedd1d] | 67 |
|
---|
[554b366] | 68 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
| 69 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
| 70 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
| 71 | it can sometimes get out of step with the Info manuals actually installed on the
|
---|
| 72 | system. If ever you need to recreate the
|
---|
| 73 | <filename>/usr/share/info/dir</filename> file, the following optional commands
|
---|
| 74 | will accomplish the task:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput>cd /usr/share/info
|
---|
| 77 | rm dir
|
---|
| 78 | for f in *
|
---|
[673b0d8] | 79 | do install-info $f dir 2>/dev/null
|
---|
[554b366] | 80 | done</userinput></screen>
|
---|
| 81 |
|
---|
[73aedd1d] | 82 | </sect2>
|
---|
[6370fa6] | 83 |
|
---|
[5888299] | 84 |
|
---|
[c6cb3aa] | 85 | <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
|
---|
[673b0d8] | 86 |
|
---|
[c6cb3aa] | 87 | <segmentedlist>
|
---|
| 88 | <segtitle>Installed programs</segtitle>
|
---|
| 89 | <seglistitem><seg>info, infokey, install-info,
|
---|
| 90 | makeinfo, texi2dvi and texindex</seg></seglistitem>
|
---|
| 91 | </segmentedlist>
|
---|
[673b0d8] | 92 |
|
---|
[c6cb3aa] | 93 | <variablelist><title>Short descriptions</title>
|
---|
[673b0d8] | 94 |
|
---|
[b8a819f] | 95 | <varlistentry id="info">
|
---|
| 96 | <term><command>info</command></term>
|
---|
[c6cb3aa] | 97 | <listitem>
|
---|
[673b0d8] | 98 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
[c6cb3aa] | 99 | <para>is used to read Info documents. Info
|
---|
[673b0d8] | 100 | documents are a bit like man pages, but often go much deeper than just
|
---|
[8ad7980] | 101 | explaining all the flags. Compare for example <command>man tar</command>
|
---|
| 102 | and <command>info tar</command>.</para>
|
---|
[c6cb3aa] | 103 | </listitem>
|
---|
| 104 | </varlistentry>
|
---|
[673b0d8] | 105 |
|
---|
[b8a819f] | 106 | <varlistentry id="infokey">
|
---|
| 107 | <term><command>infokey</command></term>
|
---|
[c6cb3aa] | 108 | <listitem>
|
---|
[673b0d8] | 109 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
[c6cb3aa] | 110 | <para>compiles a source file containing Info
|
---|
[673b0d8] | 111 | customizations into a binary format.</para>
|
---|
[c6cb3aa] | 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
[73aedd1d] | 114 |
|
---|
[b8a819f] | 115 | <varlistentry id="install-info">
|
---|
| 116 | <term><command>install-info</command></term>
|
---|
[c6cb3aa] | 117 | <listitem>
|
---|
[673b0d8] | 118 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
[c6cb3aa] | 119 | <para>is used to install Info files. It updates entries in the Info index file.</para>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
[673b0d8] | 122 |
|
---|
[b8a819f] | 123 | <varlistentry id="makeinfo">
|
---|
| 124 | <term><command>makeinfo</command></term>
|
---|
[c6cb3aa] | 125 | <listitem>
|
---|
[673b0d8] | 126 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
[c6cb3aa] | 127 | <para>translates the given Texinfo source
|
---|
[673b0d8] | 128 | documents into various other formats: Info files, plain text, or HTML.</para>
|
---|
[c6cb3aa] | 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
[673b0d8] | 131 |
|
---|
[b8a819f] | 132 | <varlistentry id="texi2dvi">
|
---|
| 133 | <term><command>texi2dvi</command></term>
|
---|
[c6cb3aa] | 134 | <listitem>
|
---|
[673b0d8] | 135 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
[c6cb3aa] | 136 | <para>is used to format the given Texinfo
|
---|
[673b0d8] | 137 | document into a device-independent file that can be printed.</para>
|
---|
[c6cb3aa] | 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
[673b0d8] | 140 |
|
---|
[b8a819f] | 141 | <varlistentry id="texindex">
|
---|
| 142 | <term><command>texindex</command></term>
|
---|
[c6cb3aa] | 143 | <listitem>
|
---|
[673b0d8] | 144 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
[c6cb3aa] | 145 | <para>is used to sort Texinfo index files.</para>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 | </variablelist>
|
---|
[673b0d8] | 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | </sect1>
|
---|