texinfo.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-texinfo" role="wrap">
  7. <title>Texinfo-&texinfo-version;</title>
  8. <?dbhtml filename="texinfo.html"?>
  9. <indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Texinfo package contains programs for reading, writing, and
  12. converting Info documents.</para>
  13. <segmentedlist>
  14. <segtitle>&buildtime;</segtitle>
  15. <segtitle>&diskspace;</segtitle>
  16. <seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
  17. </segmentedlist>
  18. <segmentedlist>
  19. <segtitle>Texinfo installation depends on</segtitle>
  20. <seglistitem><seg>Bash, Binutils, Coreutils,
  21. Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
  22. </segmentedlist>
  23. </sect2>
  24. <sect2 role="installation">
  25. <title>Installation of Texinfo</title>
  26. <para>Prepare Texinfo for compilation:</para>
  27. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  28. <para>Compile the package:</para>
  29. <screen><userinput>make</userinput></screen>
  30. <para>To test the results, issue:
  31. <userinput>make check</userinput>.</para>
  32. <para>Install the package:</para>
  33. <screen><userinput>make install</userinput></screen>
  34. <para>Optionally, install the components belonging in a TeX installation:</para>
  35. <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
  36. <para>The meaning of the make parameter:</para>
  37. <variablelist>
  38. <varlistentry>
  39. <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
  40. <listitem><para>The <envar>TEXMF</envar> makefile variable holds the location of the
  41. root of the TeX tree if, for example, a TeX package will be installed
  42. later.</para></listitem>
  43. </varlistentry>
  44. </variablelist>
  45. <para>The Info documentation system uses a plain text file to hold its
  46. list of menu entries. The file is located at
  47. <filename>/usr/share/info/dir</filename>. Unfortunately, due to
  48. occasional problems in the Makefiles of various packages, it can
  49. sometimes get out of step with the Info manuals installed on the
  50. system. If the <filename>/usr/share/info/dir</filename> file ever
  51. needs to be recreated, the following optional commands will accomplish
  52. the task:</para>
  53. <screen><userinput>cd /usr/share/info
  54. rm dir
  55. for f in *
  56. do install-info $f dir 2&gt;/dev/null
  57. done</userinput></screen>
  58. </sect2>
  59. <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
  60. <segmentedlist>
  61. <segtitle>Installed programs</segtitle>
  62. <seglistitem><seg>info, infokey, install-info,
  63. makeinfo, texi2dvi, and texindex</seg></seglistitem>
  64. </segmentedlist>
  65. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  66. <?dbfo list-presentation="list"?>
  67. <?dbhtml list-presentation="table"?>
  68. <varlistentry id="info">
  69. <term><command>info</command></term>
  70. <listitem>
  71. <para>Used to read Info documents which are similar to man
  72. pages, but often go much deeper than just explaining all the command
  73. line options. For example, compare <command>man bison</command> and
  74. <command>info bison</command>.</para>
  75. <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
  76. </listitem>
  77. </varlistentry>
  78. <varlistentry id="infokey">
  79. <term><command>infokey</command></term>
  80. <listitem>
  81. <para>Compiles a source file containing Info customizations into a
  82. binary format</para>
  83. <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="install-info">
  87. <term><command>install-info</command></term>
  88. <listitem>
  89. <para>Used to install Info files; it updates entries in the Info index
  90. file</para>
  91. <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
  92. </listitem>
  93. </varlistentry>
  94. <varlistentry id="makeinfo">
  95. <term><command>makeinfo</command></term>
  96. <listitem>
  97. <para>Translates the given Texinfo source documents into
  98. info files, plain text, or HTML</para>
  99. <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
  100. </listitem>
  101. </varlistentry>
  102. <varlistentry id="texi2dvi">
  103. <term><command>texi2dvi</command></term>
  104. <listitem>
  105. <para>Used to format the given Texinfo document into a
  106. device-independent file that can be printed</para>
  107. <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
  108. </listitem>
  109. </varlistentry>
  110. <varlistentry id="texindex">
  111. <term><command>texindex</command></term>
  112. <listitem>
  113. <para>Used to sort Texinfo index files</para>
  114. <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
  115. </listitem>
  116. </varlistentry>
  117. </variablelist>
  118. </sect2>
  119. </sect1>