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