[519ee45] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/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 | <segmentedlist>
|
---|
| 24 | <segtitle>&buildtime;</segtitle>
|
---|
| 25 | <segtitle>&diskspace;</segtitle>
|
---|
| 26 |
|
---|
| 27 | <seglistitem>
|
---|
| 28 | <seg>&texinfo-ch6-sbu;</seg>
|
---|
| 29 | <seg>&texinfo-ch6-du;</seg>
|
---|
| 30 | </seglistitem>
|
---|
| 31 | </segmentedlist>
|
---|
| 32 |
|
---|
| 33 | </sect2>
|
---|
| 34 |
|
---|
| 35 | <sect2 role="installation">
|
---|
| 36 | <title>Installation of Texinfo</title>
|
---|
| 37 |
|
---|
| 38 | <para>The <command>info</command> program makes assumptions such as that
|
---|
| 39 | a string occupies the same number of character cells on the screen and
|
---|
| 40 | bytes in memory and that one can break the string anywhere, which fail
|
---|
| 41 | in UTF-8 based locales. The patch below makes them valid by falling back
|
---|
| 42 | to English messages when a multibyte locale is in use:</para>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput>patch -Np1 -i ../&texinfo-multibyte-patch;</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para>Texinfo allows local users to overwrite arbitrary files via a symlink
|
---|
| 47 | attack on temporary files. Apply the following patch to fix this:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | <para>Prepare Texinfo for compilation:</para>
|
---|
| 52 |
|
---|
| 53 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 54 |
|
---|
| 55 | <para>Compile the package:</para>
|
---|
| 56 |
|
---|
| 57 | <screen><userinput>make</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | <para>To test the results, issue:
|
---|
| 60 | <userinput>make check</userinput>.</para>
|
---|
| 61 |
|
---|
| 62 | <para>Install the package:</para>
|
---|
| 63 |
|
---|
| 64 | <screen><userinput>make install</userinput></screen>
|
---|
| 65 |
|
---|
| 66 | <para>Optionally, install the components belonging in a TeX
|
---|
| 67 | installation:</para>
|
---|
| 68 | <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
|
---|
| 71 |
|
---|
| 72 | <variablelist>
|
---|
| 73 | <title>The meaning of the make parameter:</title>
|
---|
| 74 |
|
---|
| 75 | <varlistentry>
|
---|
| 76 | <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>The <envar>TEXMF</envar> makefile variable holds the location
|
---|
| 79 | of the root of the TeX tree if, for example, a TeX package will be
|
---|
| 80 | installed later.</para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 |
|
---|
| 84 | </variablelist>
|
---|
| 85 |
|
---|
| 86 | <para>The Info documentation system uses a plain text file to hold its list of
|
---|
| 87 | menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
|
---|
| 88 | Unfortunately, due to occasional problems in the Makefiles of various packages,
|
---|
| 89 | it can sometimes get out of sync with the info pages installed on the system.
|
---|
| 90 | If the <filename>/usr/share/info/dir</filename> file ever needs to be
|
---|
| 91 | recreated, the following optional commands will accomplish the task:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role="nodump"><userinput>cd /usr/share/info
|
---|
| 94 | rm dir
|
---|
| 95 | for f in *
|
---|
| 96 | do install-info $f dir 2>/dev/null
|
---|
| 97 | done</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 id="contents-texinfo" role="content">
|
---|
| 102 | <title>Contents of Texinfo</title>
|
---|
| 103 |
|
---|
| 104 | <segmentedlist>
|
---|
| 105 | <segtitle>Installed programs</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
| 108 | <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf, and
|
---|
| 109 | texindex</seg>
|
---|
| 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
| 112 |
|
---|
| 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
| 116 | <?dbhtml list-presentation="table"?>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="info">
|
---|
| 119 | <term><command>info</command></term>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>Used to read info pages which are similar to man pages, but
|
---|
| 122 | often go much deeper than just explaining all the available command
|
---|
| 123 | line options. For example, compare <command>man bison</command> and
|
---|
| 124 | <command>info bison</command>.</para>
|
---|
| 125 | <indexterm zone="ch-system-texinfo info">
|
---|
| 126 | <primary sortas="b-info">info</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="infokey">
|
---|
| 132 | <term><command>infokey</command></term>
|
---|
| 133 | <listitem>
|
---|
| 134 | <para>Compiles a source file containing Info customizations into a
|
---|
| 135 | binary format</para>
|
---|
| 136 | <indexterm zone="ch-system-texinfo infokey">
|
---|
| 137 | <primary sortas="b-infokey">infokey</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="install-info">
|
---|
| 143 | <term><command>install-info</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>Used to install info pages; it updates entries in the
|
---|
| 146 | <command>info</command> index file</para>
|
---|
| 147 | <indexterm zone="ch-system-texinfo install-info">
|
---|
| 148 | <primary sortas="b-install-info">install-info</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="makeinfo">
|
---|
| 154 | <term><command>makeinfo</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>Translates the given Texinfo source documents into
|
---|
| 157 | info pages, plain text, or HTML</para>
|
---|
| 158 | <indexterm zone="ch-system-texinfo makeinfo">
|
---|
| 159 | <primary sortas="b-makeinfo">makeinfo</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="texi2dvi">
|
---|
| 165 | <term><command>texi2dvi</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>Used to format the given Texinfo document into a
|
---|
| 168 | device-independent file that can be printed</para>
|
---|
| 169 | <indexterm zone="ch-system-texinfo texi2dvi">
|
---|
| 170 | <primary sortas="b-texi2dvi">texi2dvi</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="texi2pdf">
|
---|
| 176 | <term><command>texi2pdf</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>Used to format the given Texinfo document into a
|
---|
| 179 | Portable Document Format (PDF) file</para>
|
---|
| 180 | <indexterm zone="ch-system-texinfo texi2pdf">
|
---|
| 181 | <primary sortas="b-texi2pdf">texi2pdf</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="texindex">
|
---|
| 187 | <term><command>texindex</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>Used to sort Texinfo index files</para>
|
---|
| 190 | <indexterm zone="ch-system-texinfo texindex">
|
---|
| 191 | <primary sortas="b-texindex">texindex</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | </variablelist>
|
---|
| 197 |
|
---|
| 198 | </sect2>
|
---|
| 199 |
|
---|
| 200 | </sect1>
|
---|