texinfo.xml 8.0 KB

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