texinfo.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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">
  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. <para>The Texinfo package contains programs for reading, writing, and
  11. converting Info documents.</para>
  12. <screen>&buildtime; 0.2 SBU
  13. &diskspace; 17 MB</screen>
  14. <para>Texinfo installation depends on: Bash, Binutils, Coreutils,
  15. Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed.</para>
  16. <sect2>
  17. <title>Installation of Texinfo</title>
  18. <para>Prepare Texinfo for compilation:</para>
  19. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  20. <para>Compile the package:</para>
  21. <screen><userinput>make</userinput></screen>
  22. <para>To test the results, issue:
  23. <userinput>make check</userinput>.</para>
  24. <para>Install the package:</para>
  25. <screen><userinput>make install</userinput></screen>
  26. <para>Optionally install the components belonging in a TeX installation:</para>
  27. <screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
  28. <para>The meaning of the make parameter:</para>
  29. <itemizedlist>
  30. <listitem><para><userinput>TEXMF=/usr/share/texmf</userinput>: The TEXMF
  31. makefile variable holds the location of the root of your TeX tree if, for
  32. example, you plan to install a TeX package later on.</para></listitem>
  33. </itemizedlist>
  34. <para>The Info documentation system uses a plain text file to hold its list of
  35. menu entries. The file is located at <filename>/usr/share/info/dir</filename>.
  36. Unfortunately, due to occasional problems in the Makefiles of various packages,
  37. it can sometimes get out of step with the Info manuals actually installed on the
  38. system. If ever you need to recreate the
  39. <filename>/usr/share/info/dir</filename> file, the following optional commands
  40. will accomplish the task:</para>
  41. <screen><userinput>cd /usr/share/info
  42. rm dir
  43. for f in *
  44. do install-info $f dir 2&gt;/dev/null
  45. done</userinput></screen>
  46. </sect2>
  47. <sect2 id="contents-texinfo"><title>Contents of Texinfo</title>
  48. <para><emphasis>Installed programs</emphasis>: info, infokey, install-info,
  49. makeinfo, texi2dvi and texindex</para>
  50. </sect2>
  51. <sect2><title>Short descriptions</title>
  52. <indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
  53. <para id="info"><command>info</command> is used to read Info documents. Info
  54. documents are a bit like man pages, but often go much deeper than just
  55. explaining all the flags. Compare for example man tar and info tar.</para>
  56. <indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
  57. <para id="infokey"><command>infokey</command> compiles a source file containing Info
  58. customizations into a binary format.</para>
  59. <indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
  60. <para id="install-info"><command>install-info</command> is used to install Info files. It
  61. updates entries in the Info index file.</para>
  62. <indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
  63. <para id="makeinfo"><command>makeinfo</command> translates the given Texinfo source
  64. documents into various other formats: Info files, plain text, or HTML.</para>
  65. <indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
  66. <para id="texi2dvi"><command>texi2dvi</command> is used to format the given Texinfo
  67. document into a device-independent file that can be printed.</para>
  68. <indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
  69. <para id="texindex"><command>texindex</command> is used to sort Texinfo index files.</para>
  70. </sect2>
  71. </sect1>