[67300de] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-texinfo" role="wrap">
|
---|
| 9 | <?dbhtml filename="texinfo.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Texinfo-&texinfo-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-texinfo">
|
---|
| 14 | <primary sortas="a-Texinfo">Texinfo</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Texinfo package contains programs for reading, writing, and
|
---|
| 21 | converting info pages.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Texinfo</title>
|
---|
| 27 |
|
---|
| 28 | <para os="a">Prepare Texinfo for compilation:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="c">Compile the package:</para>
|
---|
| 33 |
|
---|
| 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para os="e">To test the results, issue:
|
---|
| 37 | <userinput>make check</userinput>.</para>
|
---|
| 38 |
|
---|
| 39 | <para os="f">Install the package:</para>
|
---|
| 40 |
|
---|
| 41 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | <para os="h">The Info documentation system uses a plain text file to hold
|
---|
| 44 | its list of menu entries. The file is located at
|
---|
| 45 | <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional
|
---|
| 46 | problems in the Makefiles of various packages, it can sometimes get out of
|
---|
| 47 | sync with the info pages installed on the system. If the
|
---|
| 48 | <filename>/usr/share/info/dir</filename> file ever needs to be recreated,
|
---|
| 49 | the following optional commands will accomplish the task:</para>
|
---|
| 50 |
|
---|
| 51 | <screen os="i" role="nodump"><userinput>cd /usr/share/info
|
---|
| 52 | rm dir
|
---|
| 53 | for f in *
|
---|
| 54 | do install-info $f dir 2>/dev/null
|
---|
| 55 | done</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2 id="contents-texinfo" role="content">
|
---|
| 60 | <title>Contents of Texinfo</title>
|
---|
| 61 |
|
---|
| 62 | <segmentedlist>
|
---|
| 63 | <segtitle>Installed programs</segtitle>
|
---|
| 64 |
|
---|
| 65 | <seglistitem>
|
---|
| 66 | <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf,
|
---|
| 67 | and texindex</seg>
|
---|
| 68 | </seglistitem>
|
---|
| 69 | </segmentedlist>
|
---|
| 70 |
|
---|
| 71 | <variablelist>
|
---|
| 72 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 73 | <?dbfo list-presentation="list"?>
|
---|
| 74 | <?dbhtml list-presentation="table"?>
|
---|
| 75 |
|
---|
| 76 | <varlistentry id="info">
|
---|
| 77 | <term><command>info</command></term>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>Used to read info pages which are similar to man
|
---|
| 80 | pages, but often go much deeper than just explaining all the command
|
---|
| 81 | line options. For example, compare <command>man bison</command> and
|
---|
| 82 | <command>info bison</command>.</para>
|
---|
| 83 | <indexterm zone="ch-system-texinfo info">
|
---|
| 84 | <primary sortas="b-info">info</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="infokey">
|
---|
| 90 | <term><command>infokey</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Compiles a source file containing Info customizations into a
|
---|
| 93 | binary format</para>
|
---|
| 94 | <indexterm zone="ch-system-texinfo infokey">
|
---|
| 95 | <primary sortas="b-infokey">infokey</primary>
|
---|
| 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
| 100 | <varlistentry id="install-info">
|
---|
| 101 | <term><command>install-info</command></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>Used to install info pages; it updates entries in the
|
---|
| 104 | <command>info</command> index file</para>
|
---|
| 105 | <indexterm zone="ch-system-texinfo install-info">
|
---|
| 106 | <primary sortas="b-install-info">install-info</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 | </listitem>
|
---|
| 109 | </varlistentry>
|
---|
| 110 |
|
---|
| 111 | <varlistentry id="makeinfo">
|
---|
| 112 | <term><command>makeinfo</command></term>
|
---|
| 113 | <listitem>
|
---|
| 114 | <para>Translates the given Texinfo source documents into
|
---|
| 115 | info pages, plain text, or HTML</para>
|
---|
| 116 | <indexterm zone="ch-system-texinfo makeinfo">
|
---|
| 117 | <primary sortas="b-makeinfo">makeinfo</primary>
|
---|
| 118 | </indexterm>
|
---|
| 119 | </listitem>
|
---|
| 120 | </varlistentry>
|
---|
| 121 |
|
---|
| 122 | <varlistentry id="texi2dvi">
|
---|
| 123 | <term><command>texi2dvi</command></term>
|
---|
| 124 | <listitem>
|
---|
| 125 | <para>Used to format the given Texinfo document into a
|
---|
| 126 | device-independent file that can be printed</para>
|
---|
| 127 | <indexterm zone="ch-system-texinfo texi2dvi">
|
---|
| 128 | <primary sortas="b-texi2dvi">texi2dvi</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="texi2pdf">
|
---|
| 134 | <term><command>texi2pdf</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>Used to format the given Texinfo document into a
|
---|
| 137 | Portable Document Format (PDF) file</para>
|
---|
| 138 | <indexterm zone="ch-system-texinfo texi2pdf">
|
---|
| 139 | <primary sortas="b-texi2pdf">texi2pdf</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="texindex">
|
---|
| 145 | <term><command>texindex</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>Used to sort Texinfo index files</para>
|
---|
| 148 | <indexterm zone="ch-system-texinfo texindex">
|
---|
| 149 | <primary sortas="b-texindex">texindex</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | </variablelist>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | </sect1>
|
---|