1
0

texinfo.xml 6.7 KB

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