1
0

texinfo.xml 7.5 KB

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