source: chapter06/texinfo.xml@ 7370801

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7370801 was a1a7f4f, checked in by Archaic <archaic@…>, 19 years ago

Brought (hopefully) all references of man/info pages into conformity. Updated typography to reflect this.

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

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