texinfo.xml 7.8 KB

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