texinfo.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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 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. <seglistitem>
  73. <seg>info, infokey, install-info, makeinfo, texi2dvi, texi2pdf, and
  74. texindex</seg>
  75. </seglistitem>
  76. </segmentedlist>
  77. <variablelist>
  78. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  79. <?dbfo list-presentation="list"?>
  80. <?dbhtml list-presentation="table"?>
  81. <varlistentry id="info">
  82. <term><command>info</command></term>
  83. <listitem>
  84. <para>Used to read info pages which are similar to man pages, but
  85. often go much deeper than just explaining all the available command
  86. line options. For example, compare <command>man bison</command> and
  87. <command>info bison</command>.</para>
  88. <indexterm zone="ch-system-texinfo info">
  89. <primary sortas="b-info">info</primary>
  90. </indexterm>
  91. </listitem>
  92. </varlistentry>
  93. <varlistentry id="infokey">
  94. <term><command>infokey</command></term>
  95. <listitem>
  96. <para>Compiles a source file containing Info customizations into a
  97. binary format</para>
  98. <indexterm zone="ch-system-texinfo infokey">
  99. <primary sortas="b-infokey">infokey</primary>
  100. </indexterm>
  101. </listitem>
  102. </varlistentry>
  103. <varlistentry id="install-info">
  104. <term><command>install-info</command></term>
  105. <listitem>
  106. <para>Used to install info pages; it updates entries in the
  107. <command>info</command> index file</para>
  108. <indexterm zone="ch-system-texinfo install-info">
  109. <primary sortas="b-install-info">install-info</primary>
  110. </indexterm>
  111. </listitem>
  112. </varlistentry>
  113. <varlistentry id="makeinfo">
  114. <term><command>makeinfo</command></term>
  115. <listitem>
  116. <para>Translates the given Texinfo source documents into
  117. info pages, plain text, or HTML</para>
  118. <indexterm zone="ch-system-texinfo makeinfo">
  119. <primary sortas="b-makeinfo">makeinfo</primary>
  120. </indexterm>
  121. </listitem>
  122. </varlistentry>
  123. <varlistentry id="texi2dvi">
  124. <term><command>texi2dvi</command></term>
  125. <listitem>
  126. <para>Used to format the given Texinfo document into a
  127. device-independent file that can be printed</para>
  128. <indexterm zone="ch-system-texinfo texi2dvi">
  129. <primary sortas="b-texi2dvi">texi2dvi</primary>
  130. </indexterm>
  131. </listitem>
  132. </varlistentry>
  133. <varlistentry id="texi2pdf">
  134. <term><command>texi2pdf</command></term>
  135. <listitem>
  136. <para>Used to format the given Texinfo document into a
  137. Portable Document Format (PDF) file</para>
  138. <indexterm zone="ch-system-texinfo texi2pdf">
  139. <primary sortas="b-texi2pdf">texi2pdf</primary>
  140. </indexterm>
  141. </listitem>
  142. </varlistentry>
  143. <varlistentry id="texindex">
  144. <term><command>texindex</command></term>
  145. <listitem>
  146. <para>Used to sort Texinfo index files</para>
  147. <indexterm zone="ch-system-texinfo texindex">
  148. <primary sortas="b-texindex">texindex</primary>
  149. </indexterm>
  150. </listitem>
  151. </varlistentry>
  152. </variablelist>
  153. </sect2>
  154. </sect1>