texinfo.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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 pages.</para>
  13. <segmentedlist>
  14. <segtitle>&buildtime;</segtitle>
  15. <segtitle>&diskspace;</segtitle>
  16. <seglistitem><seg>0.2 SBU</seg><seg>14.7 MB</seg></seglistitem>
  17. </segmentedlist>
  18. <segmentedlist>
  19. <segtitle>&dependencies;</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>Texinfo allows local users to overwrite arbitrary files via a symlink attack
  27. on temporary files. Apply the following patch to fix this:</para>
  28. <screen><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-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 <envar>TEXMF</envar> makefile variable holds the location of the
  44. root of the TeX tree if, for example, a TeX package will be installed
  45. later.</para></listitem>
  46. </varlistentry>
  47. </variablelist>
  48. <para>The Info documentation system uses a plain text file to hold its
  49. list of menu entries. The file is located at
  50. <filename>/usr/share/info/dir</filename>. Unfortunately, due to
  51. occasional problems in the Makefiles of various packages, it can
  52. sometimes get out of sync with the info pages installed on the
  53. system. If the <filename>/usr/share/info/dir</filename> file ever
  54. needs to be recreated, the following optional commands will accomplish
  55. the task:</para>
  56. <screen role="nodump"><userinput>cd /usr/share/info
  57. rm dir
  58. for f in *
  59. do install-info $f dir 2&gt;/dev/null
  60. done</userinput></screen>
  61. <beginpage/>
  62. </sect2>
  63. <sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
  64. <segmentedlist>
  65. <segtitle>Installed programs</segtitle>
  66. <seglistitem><seg>info, infokey, install-info,
  67. makeinfo, texi2dvi, texi2pdf, and texindex</seg></seglistitem>
  68. </segmentedlist>
  69. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  70. <?dbfo list-presentation="list"?>
  71. <?dbhtml list-presentation="table"?>
  72. <varlistentry id="info">
  73. <term><command>info</command></term>
  74. <listitem>
  75. <para>Used to read info pages which are similar to man pages, but often go much
  76. deeper than just explaining all the available command line options. For example,
  77. compare <command>man bison</command> and <command>info bison</command>.</para>
  78. <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
  79. </listitem>
  80. </varlistentry>
  81. <varlistentry id="infokey">
  82. <term><command>infokey</command></term>
  83. <listitem>
  84. <para>Compiles a source file containing Info customizations into a
  85. binary format</para>
  86. <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
  87. </listitem>
  88. </varlistentry>
  89. <varlistentry id="install-info">
  90. <term><command>install-info</command></term>
  91. <listitem>
  92. <para>Used to install info pages; it updates entries in the
  93. <command>info</command> index file</para>
  94. <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
  95. </listitem>
  96. </varlistentry>
  97. <varlistentry id="makeinfo">
  98. <term><command>makeinfo</command></term>
  99. <listitem>
  100. <para>Translates the given Texinfo source documents into
  101. info pages, plain text, or HTML</para>
  102. <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="texi2dvi">
  106. <term><command>texi2dvi</command></term>
  107. <listitem>
  108. <para>Used to format the given Texinfo document into a
  109. device-independent file that can be printed</para>
  110. <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
  111. </listitem>
  112. </varlistentry>
  113. <varlistentry id="texi2pdf">
  114. <term><command>texi2pdf</command></term>
  115. <listitem>
  116. <para>Used to format the given Texinfo document into a
  117. Portable Document Format (PDF) file</para>
  118. <indexterm zone="ch-system-texinfo texi2pdf"><primary sortas="b-texi2pdf">texi2pdf</primary></indexterm>
  119. </listitem>
  120. </varlistentry>
  121. <varlistentry id="texindex">
  122. <term><command>texindex</command></term>
  123. <listitem>
  124. <para>Used to sort Texinfo index files</para>
  125. <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
  126. </listitem>
  127. </varlistentry>
  128. </variablelist>
  129. </sect2>
  130. </sect1>