texinfo.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-texinfo" xreflabel="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, 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 TEXMF
  41. makefile variable holds the location of the root of your TeX tree if, for
  42. example, you plan to install a TeX package later on.</para></listitem>
  43. </varlistentry>
  44. </variablelist>
  45. <para>The Info documentation system uses a plain text file to hold its list of
  46. menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
  47. Unfortunately, due to occasional problems in the Makefiles of various packages,
  48. it can sometimes get out of step with the Info manuals actually installed on the
  49. system. If ever you need to recreate the
  50. <filename>/usr/share/info/dir</filename> file, the following optional commands
  51. will accomplish the task:</para>
  52. <screen><userinput>cd /usr/share/info
  53. rm dir
  54. for f in *
  55. do install-info $f dir 2&gt;/dev/null
  56. done</userinput></screen>
  57. </sect2>
  58. <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
  59. <segmentedlist>
  60. <segtitle>Installed programs</segtitle>
  61. <seglistitem><seg>info, infokey, install-info,
  62. makeinfo, texi2dvi and texindex</seg></seglistitem>
  63. </segmentedlist>
  64. <variablelist><title>Short descriptions</title>
  65. <varlistentry id="info">
  66. <term><command>info</command></term>
  67. <listitem>
  68. <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
  69. <para>is used to read Info documents. Info
  70. documents are a bit like man pages, but often go much deeper than just
  71. explaining all the flags. Compare for example <command>man tar</command>
  72. and <command>info tar</command>.</para>
  73. </listitem>
  74. </varlistentry>
  75. <varlistentry id="infokey">
  76. <term><command>infokey</command></term>
  77. <listitem>
  78. <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
  79. <para>compiles a source file containing Info
  80. customizations into a binary format.</para>
  81. </listitem>
  82. </varlistentry>
  83. <varlistentry id="install-info">
  84. <term><command>install-info</command></term>
  85. <listitem>
  86. <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
  87. <para>is used to install Info files. It updates entries in the Info index file.</para>
  88. </listitem>
  89. </varlistentry>
  90. <varlistentry id="makeinfo">
  91. <term><command>makeinfo</command></term>
  92. <listitem>
  93. <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
  94. <para>translates the given Texinfo source
  95. documents into various other formats: Info files, plain text, or HTML.</para>
  96. </listitem>
  97. </varlistentry>
  98. <varlistentry id="texi2dvi">
  99. <term><command>texi2dvi</command></term>
  100. <listitem>
  101. <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
  102. <para>is used to format the given Texinfo
  103. document into a device-independent file that can be printed.</para>
  104. </listitem>
  105. </varlistentry>
  106. <varlistentry id="texindex">
  107. <term><command>texindex</command></term>
  108. <listitem>
  109. <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
  110. <para>is used to sort Texinfo index files.</para>
  111. </listitem>
  112. </varlistentry>
  113. </variablelist>
  114. </sect2>
  115. </sect1>