[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 |
|
---|
| 53 | <itemizedlist>
|
---|
| 54 | <listitem><para><userinput>TEXMF=/usr/share/texmf</userinput>: The TEXMF
|
---|
| 55 | makefile variable holds the location of the root of your TeX tree if, for
|
---|
| 56 | example, you plan to install a TeX package later on.</para></listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
[554b366] | 59 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
| 60 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
| 61 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
| 62 | it can sometimes get out of step with the Info manuals actually installed on the
|
---|
| 63 | system. If ever you need to recreate the
|
---|
| 64 | <filename>/usr/share/info/dir</filename> file, the following optional commands
|
---|
| 65 | will accomplish the task:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput>cd /usr/share/info
|
---|
| 68 | rm dir
|
---|
| 69 | for f in *
|
---|
[673b0d8] | 70 | do install-info $f dir 2>/dev/null
|
---|
[554b366] | 71 | done</userinput></screen>
|
---|
| 72 |
|
---|
[73aedd1d] | 73 | </sect2>
|
---|
[6370fa6] | 74 |
|
---|
[5888299] | 75 |
|
---|
[673b0d8] | 76 | <sect2 id="contents-texinfo"><title>Contents of Texinfo</title>
|
---|
| 77 |
|
---|
| 78 | <para><emphasis>Installed programs</emphasis>: info, infokey, install-info,
|
---|
| 79 | makeinfo, texi2dvi and texindex</para>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2><title>Short descriptions</title>
|
---|
| 84 |
|
---|
| 85 | <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
---|
| 86 | <para id="info"><command>info</command> is used to read Info documents. Info
|
---|
| 87 | documents are a bit like man pages, but often go much deeper than just
|
---|
| 88 | explaining all the flags. Compare for example man tar and info tar.</para>
|
---|
| 89 |
|
---|
| 90 | <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
|
---|
| 91 | <para id="infokey"><command>infokey</command> compiles a source file containing Info
|
---|
| 92 | customizations into a binary format.</para>
|
---|
[73aedd1d] | 93 |
|
---|
[673b0d8] | 94 | <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
|
---|
| 95 | <para id="install-info"><command>install-info</command> is used to install Info files. It
|
---|
| 96 | updates entries in the Info index file.</para>
|
---|
| 97 |
|
---|
| 98 | <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
|
---|
| 99 | <para id="makeinfo"><command>makeinfo</command> translates the given Texinfo source
|
---|
| 100 | documents into various other formats: Info files, plain text, or HTML.</para>
|
---|
| 101 |
|
---|
| 102 | <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
|
---|
| 103 | <para id="texi2dvi"><command>texi2dvi</command> is used to format the given Texinfo
|
---|
| 104 | document into a device-independent file that can be printed.</para>
|
---|
| 105 |
|
---|
| 106 | <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
|
---|
| 107 | <para id="texindex"><command>texindex</command> is used to sort Texinfo index files.</para>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 |
|
---|
| 112 |
|
---|
| 113 | </sect1>
|
---|