texinfo.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. <para>The patch listed below fixes a known segfault in texinfo:</para>
  28. <screen><userinput>patch -Np1 -i ../texinfo-&texinfo-version;-segfault-1.patch</userinput></screen>
  29. <para>Prepare Texinfo for compilation:</para>
  30. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  31. <para>Compile the package:</para>
  32. <screen><userinput>make</userinput></screen>
  33. <para>To test the results, issue:
  34. <userinput>make check</userinput>.</para>
  35. <para>Install the package:</para>
  36. <screen><userinput>make install</userinput></screen>
  37. <para>Optionally install the components belonging in a TeX installation:</para>
  38. <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
  39. <para>The meaning of the make parameter:</para>
  40. <variablelist>
  41. <varlistentry>
  42. <term><parameter>TEXMF=/usr/share/texmf</parameter></term>
  43. <listitem><para>The TEXMF
  44. makefile variable holds the location of the root of your TeX tree if, for
  45. example, you plan to install a TeX package later on.</para></listitem>
  46. </varlistentry>
  47. </variablelist>
  48. <para>The Info documentation system uses a plain text file to hold its list of
  49. menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
  50. Unfortunately, due to occasional problems in the Makefiles of various packages,
  51. it can sometimes get out of step with the Info manuals actually installed on the
  52. system. If ever you need to recreate the
  53. <filename>/usr/share/info/dir</filename> file, the following optional commands
  54. will accomplish the task:</para>
  55. <screen><userinput>cd /usr/share/info
  56. rm dir
  57. for f in *
  58. do install-info $f dir 2&gt;/dev/null
  59. done</userinput></screen>
  60. </sect2>
  61. <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
  62. <segmentedlist>
  63. <segtitle>Installed programs</segtitle>
  64. <seglistitem><seg>info, infokey, install-info,
  65. makeinfo, texi2dvi and texindex</seg></seglistitem>
  66. </segmentedlist>
  67. <variablelist><title>Short descriptions</title>
  68. <varlistentry id="info">
  69. <term><command>info</command></term>
  70. <listitem>
  71. <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
  72. <para>is used to read Info documents. Info
  73. documents are a bit like man pages, but often go much deeper than just
  74. explaining all the flags. Compare for example <command>man tar</command>
  75. and <command>info tar</command>.</para>
  76. </listitem>
  77. </varlistentry>
  78. <varlistentry id="infokey">
  79. <term><command>infokey</command></term>
  80. <listitem>
  81. <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
  82. <para>compiles a source file containing Info
  83. customizations into a binary format.</para>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="install-info">
  87. <term><command>install-info</command></term>
  88. <listitem>
  89. <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
  90. <para>is used to install Info files. It updates entries in the Info index file.</para>
  91. </listitem>
  92. </varlistentry>
  93. <varlistentry id="makeinfo">
  94. <term><command>makeinfo</command></term>
  95. <listitem>
  96. <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
  97. <para>translates the given Texinfo source
  98. documents into various other formats: Info files, plain text, or HTML.</para>
  99. </listitem>
  100. </varlistentry>
  101. <varlistentry id="texi2dvi">
  102. <term><command>texi2dvi</command></term>
  103. <listitem>
  104. <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
  105. <para>is used to format the given Texinfo
  106. document into a device-independent file that can be printed.</para>
  107. </listitem>
  108. </varlistentry>
  109. <varlistentry id="texindex">
  110. <term><command>texindex</command></term>
  111. <listitem>
  112. <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
  113. <para>is used to sort Texinfo index files.</para>
  114. </listitem>
  115. </varlistentry>
  116. </variablelist>
  117. </sect2>
  118. </sect1>