texinfo.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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-fin-sbu;</seg>
  27. <seg>&texinfo-fin-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 option:</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 directories</segtitle>
  88. <seglistitem>
  89. <seg>info, install-info, makeinfo (link to texi2any),
  90. pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg>
  91. <seg>MiscXS.so, Parsetexi.so, and XSParagraph.so
  92. (all in /usr/lib/texinfo)</seg>
  93. <seg>/usr/share/texinfo and /usr/lib/texinfo</seg>
  94. </seglistitem>
  95. </segmentedlist>
  96. <variablelist>
  97. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  98. <?dbfo list-presentation="list"?>
  99. <?dbhtml list-presentation="table"?>
  100. <varlistentry id="info">
  101. <term><command>info</command></term>
  102. <listitem>
  103. <para>Used to read info pages which are similar to man pages, but
  104. often go much deeper than just explaining all the available command
  105. line options [For example, compare <command>man bison</command> and
  106. <command>info bison</command>.]</para>
  107. <indexterm zone="ch-system-texinfo info">
  108. <primary sortas="b-info">info</primary>
  109. </indexterm>
  110. </listitem>
  111. </varlistentry>
  112. <varlistentry id="install-info">
  113. <term><command>install-info</command></term>
  114. <listitem>
  115. <para>Used to install info pages; it updates entries in the
  116. <command>info</command> index file</para>
  117. <indexterm zone="ch-system-texinfo install-info">
  118. <primary sortas="b-install-info">install-info</primary>
  119. </indexterm>
  120. </listitem>
  121. </varlistentry>
  122. <varlistentry id="makeinfo">
  123. <term><command>makeinfo</command></term>
  124. <listitem>
  125. <para>Translates the given Texinfo source documents into
  126. info pages, plain text, or HTML</para>
  127. <indexterm zone="ch-system-texinfo makeinfo">
  128. <primary sortas="b-makeinfo">makeinfo</primary>
  129. </indexterm>
  130. </listitem>
  131. </varlistentry>
  132. <varlistentry id="pdftexi2dvi">
  133. <term><command>pdftexi2dvi</command></term>
  134. <listitem>
  135. <para>Used to format the given Texinfo document into a
  136. Portable Document Format (PDF) file</para>
  137. <indexterm zone="ch-system-texinfo pdftexi2dvi">
  138. <primary sortas="b-pdftexi2dvi">pdftexi2dvi</primary>
  139. </indexterm>
  140. </listitem>
  141. </varlistentry>
  142. <varlistentry id="pod2texi">
  143. <term><command>pod2texi</command></term>
  144. <listitem>
  145. <para>Converts Pod to Texinfo format</para>
  146. <indexterm zone="ch-system-texinfo pod2texi">
  147. <primary sortas="b-pod2texi">pod2texi</primary>
  148. </indexterm>
  149. </listitem>
  150. </varlistentry>
  151. <varlistentry id="texi2any">
  152. <term><command>texi2any</command></term>
  153. <listitem>
  154. <para>Translate Texinfo source documentation to
  155. various other formats</para>
  156. <indexterm zone="ch-system-texinfo texi2any">
  157. <primary sortas="b-texiany">texi2any</primary>
  158. </indexterm>
  159. </listitem>
  160. </varlistentry>
  161. <varlistentry id="texi2dvi">
  162. <term><command>texi2dvi</command></term>
  163. <listitem>
  164. <para>Used to format the given Texinfo document into a
  165. device-independent file that can be printed</para>
  166. <indexterm zone="ch-system-texinfo texi2dvi">
  167. <primary sortas="b-texi2dvi">texi2dvi</primary>
  168. </indexterm>
  169. </listitem>
  170. </varlistentry>
  171. <varlistentry id="texi2pdf">
  172. <term><command>texi2pdf</command></term>
  173. <listitem>
  174. <para>Used to format the given Texinfo document into a
  175. Portable Document Format (PDF) file</para>
  176. <indexterm zone="ch-system-texinfo texi2pdf">
  177. <primary sortas="b-texi2pdf">texi2pdf</primary>
  178. </indexterm>
  179. </listitem>
  180. </varlistentry>
  181. <varlistentry id="texindex">
  182. <term><command>texindex</command></term>
  183. <listitem>
  184. <para>Used to sort Texinfo index files</para>
  185. <indexterm zone="ch-system-texinfo texindex">
  186. <primary sortas="b-texindex">texindex</primary>
  187. </indexterm>
  188. </listitem>
  189. </varlistentry>
  190. </variablelist>
  191. </sect2>
  192. </sect1>