source: chapter06/texinfo.xml@ 9e2b55c

6.0
Last change on this file since 9e2b55c was 752f4e5, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Tags corrections, Chapter 6.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4132 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[673b0d8]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]>
[752f4e5]6<sect1 id="ch-system-texinfo" role="wrap">
[673b0d8]7<title>Texinfo-&texinfo-version;</title>
8<?dbhtml filename="texinfo.html"?>
9
10<indexterm zone="ch-system-texinfo"><primary sortas="a-Texinfo">Texinfo</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[5888299]13<para>The Texinfo package contains programs for reading, writing, and
14converting Info documents.</para>
15
[a001133]16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.2 SBU</seg><seg>17 MB</seg></seglistitem>
20</segmentedlist>
[673b0d8]21
[a001133]22<segmentedlist>
23<segtitle>Texinfo installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils,
[69993f4]25Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
[a001133]26</segmentedlist>
27</sect2>
[3554fa3a]28
[a001133]29<sect2 role="installation">
[73aedd1d]30<title>Installation of Texinfo</title>
31
32<para>Prepare Texinfo for compilation:</para>
33
34<screen><userinput>./configure --prefix=/usr</userinput></screen>
35
36<para>Compile the package:</para>
37
38<screen><userinput>make</userinput></screen>
39
[673b0d8]40<para>To test the results, issue:
[8a5f906]41<userinput>make check</userinput>.</para>
[73aedd1d]42
43<para>Install the package:</para>
44
45<screen><userinput>make install</userinput></screen>
46
[ef13657]47<para>Optionally, install the components belonging in a TeX installation:</para>
[73aedd1d]48
49<screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
50
[5763f675]51<para>The meaning of the make parameter:</para>
[73aedd1d]52
[df8334f]53<variablelist>
54<varlistentry>
[8ad7980]55<term><parameter>TEXMF=/usr/share/texmf</parameter></term>
[752f4e5]56<listitem><para>The <envar>TEXMF</envar> makefile variable holds the location of the
[ef13657]57root of the TeX tree if, for example, a TeX package will be installed
58later.</para></listitem>
[df8334f]59</varlistentry>
60</variablelist>
[73aedd1d]61
[ef13657]62<para>The Info documentation system uses a plain text file to hold its
63list of menu entries. The file is located at
64<filename>/usr/share/info/dir</filename>. Unfortunately, due to
65occasional problems in the Makefiles of various packages, it can
66sometimes get out of step with the Info manuals installed on the
67system. If the <filename>/usr/share/info/dir</filename> file ever
68needs to be recreated, the following optional commands will accomplish
69the task:</para>
[554b366]70
71<screen><userinput>cd /usr/share/info
72rm dir
73for f in *
[673b0d8]74do install-info $f dir 2&gt;/dev/null
[554b366]75done</userinput></screen>
76
[73aedd1d]77</sect2>
[6370fa6]78
[c6cb3aa]79<sect2 id="contents-texinfo" role="content"><title>Contents of Texinfo</title>
[673b0d8]80
[c6cb3aa]81<segmentedlist>
82<segtitle>Installed programs</segtitle>
83<seglistitem><seg>info, infokey, install-info,
[69993f4]84makeinfo, texi2dvi, and texindex</seg></seglistitem>
[c6cb3aa]85</segmentedlist>
[673b0d8]86
[3ed279f]87<variablelist><bridgehead renderas="sect3">Short descriptions</bridgehead>
88<?dbfo list-presentation="list"?>
[673b0d8]89
[b8a819f]90<varlistentry id="info">
91<term><command>info</command></term>
[c6cb3aa]92<listitem>
[ef13657]93<para>used to read Info documents. Info documents are similar to man
94pages, but often go much deeper than just explaining all the command
[69993f4]95line options. For example, compare <command>man bison</command> and
[ef13657]96<command>info bison</command>.</para>
[3ed279f]97<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
[c6cb3aa]98</listitem>
99</varlistentry>
[673b0d8]100
[b8a819f]101<varlistentry id="infokey">
102<term><command>infokey</command></term>
[c6cb3aa]103<listitem>
[ef13657]104<para>compiles a source file containing Info customizations into a
105binary format.</para>
[3ed279f]106<indexterm zone="ch-system-texinfo infokey"><primary sortas="b-infokey">infokey</primary></indexterm>
[c6cb3aa]107</listitem>
108</varlistentry>
[73aedd1d]109
[b8a819f]110<varlistentry id="install-info">
111<term><command>install-info</command></term>
[c6cb3aa]112<listitem>
[ef13657]113<para>used to install Info files. It updates entries in the Info index
114file.</para>
[3ed279f]115<indexterm zone="ch-system-texinfo install-info"><primary sortas="b-install-info">install-info</primary></indexterm>
[c6cb3aa]116</listitem>
117</varlistentry>
[673b0d8]118
[b8a819f]119<varlistentry id="makeinfo">
120<term><command>makeinfo</command></term>
[c6cb3aa]121<listitem>
[69993f4]122<para>translates the given Texinfo source documents into
123info files, plain text, or HTML.</para>
[3ed279f]124<indexterm zone="ch-system-texinfo makeinfo"><primary sortas="b-makeinfo">makeinfo</primary></indexterm>
[c6cb3aa]125</listitem>
126</varlistentry>
[673b0d8]127
[b8a819f]128<varlistentry id="texi2dvi">
129<term><command>texi2dvi</command></term>
[c6cb3aa]130<listitem>
[ef13657]131<para>used to format the given Texinfo document into a
132device-independent file that can be printed.</para>
[3ed279f]133<indexterm zone="ch-system-texinfo texi2dvi"><primary sortas="b-texi2dvi">texi2dvi</primary></indexterm>
[c6cb3aa]134</listitem>
135</varlistentry>
[673b0d8]136
[b8a819f]137<varlistentry id="texindex">
138<term><command>texindex</command></term>
[c6cb3aa]139<listitem>
[ef13657]140<para>used to sort Texinfo index files.</para>
[3ed279f]141<indexterm zone="ch-system-texinfo texindex"><primary sortas="b-texindex">texindex</primary></indexterm>
[c6cb3aa]142</listitem>
143</varlistentry>
144</variablelist>
[673b0d8]145
146</sect2>
147
148</sect1>
[ef13657]149
Note: See TracBrowser for help on using the repository browser.