texinfo.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. <sect1 id="ch-system-texinfo" role="wrap">
  8. <?dbhtml filename="texinfo.html"?>
  9. <sect1info condition="script">
  10. <productname>texinfo</productname>
  11. <productnumber>&texinfo-version;</productnumber>
  12. <address>&texinfo-url;</address>
  13. </sect1info>
  14. <title>Texinfo-&texinfo-version;</title>
  15. <indexterm zone="ch-system-texinfo">
  16. <primary sortas="a-Texinfo">Texinfo</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Texinfo package contains programs for reading, writing, and
  21. converting info pages.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&texinfo-ch6-sbu;</seg>
  27. <seg>&texinfo-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Texinfo</title>
  33. <para>Fix an incompatibility between the test suite and Perl-&perl-version;:</para>
  34. <screen><userinput remap="pre">patch -Np1 -i ../&texinfo-test-patch;</userinput></screen>
  35. <para>Prepare Texinfo for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  37. <para>Compile the package:</para>
  38. <screen><userinput remap="make">make</userinput></screen>
  39. <note><para>One test in the test suite fails due to out of date
  40. perl code.</para></note>
  41. <para>To test the results, issue:</para>
  42. <screen><userinput remap="test">make check</userinput></screen>
  43. <para>Install the package:</para>
  44. <screen><userinput remap="install">make install</userinput></screen>
  45. <para>Optionally, install the components belonging in a TeX
  46. installation:</para>
  47. <!-- FIXME: doesn't the TeX installation in BLFS overwrite files there? -->
  48. <screen><userinput remap="install">make TEXMF=/usr/share/texmf install-tex</userinput></screen>
  49. <variablelist>
  50. <title>The meaning of the make parameter:</title>
  51. <varlistentry>
  52. <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
  53. <listitem>
  54. <para>The <envar>TEXMF</envar> makefile variable holds the location
  55. of the root of the TeX tree if, for example, a TeX package will be
  56. installed later.</para>
  57. </listitem>
  58. </varlistentry>
  59. </variablelist>
  60. <para>The Info documentation system uses a plain text file to hold its list of
  61. menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
  62. Unfortunately, due to occasional problems in the Makefiles of various packages,
  63. it can sometimes get out of sync with the info pages installed on the system.
  64. If the <filename>/usr/share/info/dir</filename> file ever needs to be
  65. recreated, the following optional commands will accomplish the task:</para>
  66. <screen role="nodump"><userinput>cd /usr/share/info
  67. rm -v dir
  68. for f in *
  69. do install-info $f dir 2&gt;/dev/null
  70. done</userinput></screen>
  71. </sect2>
  72. <sect2 id="contents-texinfo" role="content">
  73. <title>Contents of Texinfo</title>
  74. <segmentedlist>
  75. <segtitle>Installed programs</segtitle>
  76. <segtitle>Installed directory</segtitle>
  77. <seglistitem>
  78. <seg>info, infokey, install-info, makeinfo, pdftexi2dvi,
  79. pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg>
  80. <seg>/usr/share/texinfo</seg>
  81. </seglistitem>
  82. </segmentedlist>
  83. <variablelist>
  84. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  85. <?dbfo list-presentation="list"?>
  86. <?dbhtml list-presentation="table"?>
  87. <varlistentry id="info">
  88. <term><command>info</command></term>
  89. <listitem>
  90. <para>Used to read info pages which are similar to man pages, but
  91. often go much deeper than just explaining all the available command
  92. line options. For example, compare <command>man bison</command> and
  93. <command>info bison</command>.</para>
  94. <indexterm zone="ch-system-texinfo info">
  95. <primary sortas="b-info">info</primary>
  96. </indexterm>
  97. </listitem>
  98. </varlistentry>
  99. <varlistentry id="infokey">
  100. <term><command>infokey</command></term>
  101. <listitem>
  102. <para>Compiles a source file containing Info customizations into a
  103. binary format</para>
  104. <indexterm zone="ch-system-texinfo infokey">
  105. <primary sortas="b-infokey">infokey</primary>
  106. </indexterm>
  107. </listitem>
  108. </varlistentry>
  109. <varlistentry id="install-info">
  110. <term><command>install-info</command></term>
  111. <listitem>
  112. <para>Used to install info pages; it updates entries in the
  113. <command>info</command> index file</para>
  114. <indexterm zone="ch-system-texinfo install-info">
  115. <primary sortas="b-install-info">install-info</primary>
  116. </indexterm>
  117. </listitem>
  118. </varlistentry>
  119. <varlistentry id="makeinfo">
  120. <term><command>makeinfo</command></term>
  121. <listitem>
  122. <para>Translates the given Texinfo source documents into
  123. info pages, plain text, or HTML</para>
  124. <indexterm zone="ch-system-texinfo makeinfo">
  125. <primary sortas="b-makeinfo">makeinfo</primary>
  126. </indexterm>
  127. </listitem>
  128. </varlistentry>
  129. <varlistentry id="pdftexi2dvi">
  130. <term><command>pdftexi2dvi</command></term>
  131. <listitem>
  132. <para>Used to format the given Texinfo document into a
  133. Portable Document Format (PDF) file</para>
  134. <indexterm zone="ch-system-texinfo pdftexi2dvi">
  135. <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
  136. </indexterm>
  137. </listitem>
  138. </varlistentry>
  139. <varlistentry id="pod2texi">
  140. <term><command>pod2texi</command></term>
  141. <listitem>
  142. <para>Converts Pod to Texinfo format</para>
  143. <indexterm zone="ch-system-texinfo pod2texi">
  144. <primary sortas="b-pod2texi">pod2texi</primary>
  145. </indexterm>
  146. </listitem>
  147. </varlistentry>
  148. <varlistentry id="texi2any">
  149. <term><command>texi2any</command></term>
  150. <listitem>
  151. <para>Translate Texinfo source documentation to
  152. various other formats</para>
  153. <indexterm zone="ch-system-texinfo texi2any">
  154. <primary sortas="b-texiany">texi2any</primary>
  155. </indexterm>
  156. </listitem>
  157. </varlistentry>
  158. <varlistentry id="texi2dvi">
  159. <term><command>texi2dvi</command></term>
  160. <listitem>
  161. <para>Used to format the given Texinfo document into a
  162. device-independent file that can be printed</para>
  163. <indexterm zone="ch-system-texinfo texi2dvi">
  164. <primary sortas="b-texi2dvi">texi2dvi</primary>
  165. </indexterm>
  166. </listitem>
  167. </varlistentry>
  168. <varlistentry id="texi2pdf">
  169. <term><command>texi2pdf</command></term>
  170. <listitem>
  171. <para>Used to format the given Texinfo document into a
  172. Portable Document Format (PDF) file</para>
  173. <indexterm zone="ch-system-texinfo texi2pdf">
  174. <primary sortas="b-texi2pdf">texi2pdf</primary>
  175. </indexterm>
  176. </listitem>
  177. </varlistentry>
  178. <varlistentry id="texindex">
  179. <term><command>texindex</command></term>
  180. <listitem>
  181. <para>Used to sort Texinfo index files</para>
  182. <indexterm zone="ch-system-texinfo texindex">
  183. <primary sortas="b-texindex">texindex</primary>
  184. </indexterm>
  185. </listitem>
  186. </varlistentry>
  187. </variablelist>
  188. </sect2>
  189. </sect1>