source: chapter06/groff.xml@ 8d5ffbfd

Last change on this file since 8d5ffbfd was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

  • Property mode set to 100644
File size: 13.3 KB
Line 
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-groff" role="wrap">
7<title>Groff-&groff-version;</title>
8<?dbhtml filename="groff.html"?>
9
10<indexterm zone="ch-system-groff"><primary sortas="a-Groff">Groff</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The Groff package contains programs for processing and formatting text.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.5 SBU</seg><seg>43 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>&dependencies;</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24Gawk, GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Groff</title>
30
31<para>Groff expects the environment variable <envar>PAGE</envar>
32to contain the default paper size. For users in the United States,
33<parameter>PAGE=letter</parameter> is appropriate. Elsewhere,
34<parameter>PAGE=A4</parameter> may be more suitable.</para>
35
36<para>Prepare Groff for compilation:</para>
37
38<screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen>
39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
44<para>Install the package:</para>
45
46<screen><userinput>make install</userinput></screen>
47
48<para>Some documentation programs, such as <command>xman</command>,
49will not work properly without the following symlinks:</para>
50
51<screen><userinput>ln -s soelim /usr/bin/zsoelim
52ln -s eqn /usr/bin/geqn
53ln -s tbl /usr/bin/gtbl</userinput></screen>
54
55
56</sect2>
57
58
59<sect2 id="contents-groff" role="content"><title>Contents of Groff</title>
60
61<segmentedlist>
62<segtitle>Installed programs</segtitle>
63<seglistitem><seg>addftinfo, afmtodit, eqn, eqn2graph, geqn (link to eqn), grn,
64grodvi, groff, groffer, grog, grolbp, grolj4, grops, grotty, gtbl (link to tbl), hpftodit,
65indxbib, lkbib, lookbib, mmroff, neqn, nroff, pfbtops, pic, pic2graph, post-grohtml,
66pre-grohtml, refer, soelim, tbl, tfmtodit, troff, and zsoelim (link to soelim)</seg></seglistitem>
67</segmentedlist>
68
69<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
70<?dbfo list-presentation="list"?>
71<?dbhtml list-presentation="table"?>
72
73<varlistentry id="addftinfo">
74<term><command>addftinfo</command></term>
75<listitem>
76<para>Reads a troff font file and adds some
77additional font-metric information that is used by the <command>groff</command> system</para>
78<indexterm zone="ch-system-groff addftinfo"><primary sortas="b-addftinfo">addftinfo</primary></indexterm>
79</listitem>
80</varlistentry>
81
82<varlistentry id="afmtodit">
83<term><command>afmtodit</command></term>
84<listitem>
85<para>Creates a font file for use with <command>groff</command> and <command>grops</command></para>
86<indexterm zone="ch-system-groff afmtodit"><primary sortas="b-afmtodit">afmtodit</primary></indexterm>
87</listitem>
88</varlistentry>
89
90<varlistentry id="eqn">
91<term><command>eqn</command></term>
92<listitem>
93<para>Compiles descriptions of equations embedded
94within troff input files into commands that are understood by <command>troff</command></para>
95<indexterm zone="ch-system-groff eqn"><primary sortas="b-eqn">eqn</primary></indexterm>
96</listitem>
97</varlistentry>
98
99<varlistentry id="eqn2graph">
100<term><command>eqn2graph</command></term>
101<listitem>
102<para>Converts a troff EQN (equation) into a cropped image</para>
103<indexterm zone="ch-system-groff eqn2graph"><primary sortas="b-eqn2graph">eqn2graph</primary></indexterm>
104</listitem>
105</varlistentry>
106
107<varlistentry id="geqn">
108<term><command>eqn</command></term>
109<listitem>
110<para>A link to <command>eqn</command></para>
111<indexterm zone="ch-system-groff geqn"><primary sortas="b-geqn">geqn</primary></indexterm>
112</listitem>
113</varlistentry>
114
115<varlistentry id="grn">
116<term><command>grn</command></term>
117<listitem>
118<para>A <command>groff</command> preprocessor for gremlin files</para>
119<indexterm zone="ch-system-groff grn"><primary sortas="b-grn">grn</primary></indexterm>
120</listitem>
121</varlistentry>
122
123<varlistentry id="grodvi">
124<term><command>grodvi</command></term>
125<listitem>
126<para>A driver for <command>groff</command> that produces TeX dvi format</para>
127<indexterm zone="ch-system-groff grodvi"><primary sortas="b-grodvi">grodvi</primary></indexterm>
128</listitem>
129</varlistentry>
130
131<varlistentry id="groff">
132<term><command>groff</command></term>
133<listitem>
134<para>A front-end to the groff document
135formatting system; normally, it runs the <command>troff</command> program and a post-processor
136appropriate for the selected device</para>
137<indexterm zone="ch-system-groff groff"><primary sortas="b-groff">groff</primary></indexterm>
138</listitem>
139</varlistentry>
140
141<varlistentry id="groffer">
142<term><command>groffer</command></term>
143<listitem>
144<para>Displays groff files and man pages on X and tty terminals</para>
145<indexterm zone="ch-system-groff groffer"><primary sortas="b-groffer">groffer</primary></indexterm>
146</listitem>
147</varlistentry>
148
149<varlistentry id="grog">
150<term><command>grog</command></term>
151<listitem>
152<para>Reads files and guesses which of the <command>groff</command>
153options <parameter>-e</parameter>, <parameter>-man</parameter>,
154<parameter>-me</parameter>, <parameter>-mm</parameter>,
155<parameter>-ms</parameter>, <parameter>-p</parameter>, <parameter>-s</parameter>,
156and <parameter>-t</parameter> are required for printing
157files, and reports the <command>groff</command> command including those options</para>
158<indexterm zone="ch-system-groff grog"><primary sortas="b-grog">grog</primary></indexterm>
159</listitem>
160</varlistentry>
161
162<varlistentry id="grolbp">
163<term><command>grolbp</command></term>
164<listitem>
165<para>Is a <command>groff</command> driver for Canon CAPSL printers
166(LBP-4 and LBP-8 series laser printers)</para>
167<indexterm zone="ch-system-groff grolbp"><primary sortas="b-grolbp">grolbp</primary></indexterm>
168</listitem>
169</varlistentry>
170
171<varlistentry id="grolj4">
172<term><command>grolj4</command></term>
173<listitem>
174<para>Is a driver for <command>groff</command> that produces output
175in PCL5 format suitable for an HP Laserjet 4 printer</para>
176<indexterm zone="ch-system-groff grolj4"><primary sortas="b-grolj4">grolj4</primary></indexterm>
177</listitem>
178</varlistentry>
179
180<varlistentry id="grops">
181<term><command>grops</command></term>
182<listitem>
183<para>Translates the output of GNU <command>troff</command> to PostScript</para>
184
185<indexterm zone="ch-system-groff grops"><primary sortas="b-grops">grops</primary></indexterm>
186</listitem>
187</varlistentry>
188
189<varlistentry id="grotty">
190<term><command>grotty</command></term>
191<listitem>
192<para>Translates the output of GNU <command>troff</command> into
193a form suitable for typewriter-like devices</para>
194<indexterm zone="ch-system-groff grotty"><primary sortas="b-grotty">grotty</primary></indexterm>
195</listitem>
196</varlistentry>
197
198<varlistentry id="gtbl">
199<term><command>gtbl</command></term>
200<listitem>
201<para>Is the GNU implementation of <command>tbl</command></para>
202<indexterm zone="ch-system-groff gtbl"><primary sortas="b-gtbl">gtbl</primary></indexterm>
203</listitem>
204</varlistentry>
205
206<varlistentry id="hpftodit">
207<term><command>hpftodit</command></term>
208<listitem>
209<para>Creates a font file for use with
210<command>groff -Tlj4</command> from an HP-tagged font metric file</para>
211<indexterm zone="ch-system-groff hpftodit"><primary sortas="b-hpftodit">hpftodit</primary></indexterm>
212</listitem>
213</varlistentry>
214
215<varlistentry id="indxbib">
216<term><command>indxbib</command></term>
217<listitem>
218<para>Creates an inverted index for the bibliographic databases with a specified file for
219use with <command>refer</command>, <command>lookbib</command>, and <command>lkbib</command></para>
220<indexterm zone="ch-system-groff indxbib"><primary sortas="b-indxbib">indxbib</primary></indexterm>
221</listitem>
222</varlistentry>
223
224<varlistentry id="lkbib">
225<term><command>lkbib</command></term>
226<listitem>
227<para>Searches bibliographic databases for references that contain
228specified keys and reports any references found</para>
229<indexterm zone="ch-system-groff lkbib"><primary sortas="b-lkbib">lkbib</primary></indexterm>
230</listitem>
231</varlistentry>
232
233<varlistentry id="lookbib">
234<term><command>lookbib</command></term>
235<listitem>
236<para>Prints a prompt on the standard error (unless the standard input
237is not a terminal), reads a line containing a
238set of keywords from the standard input, searches the bibliographic databases in a specified
239file for references containing those keywords, prints any references
240found on the standard output, and repeats this process until the end
241of input</para>
242<indexterm zone="ch-system-groff lookbib"><primary sortas="b-lookbib">lookbib</primary></indexterm>
243</listitem>
244</varlistentry>
245
246<varlistentry id="mmroff">
247<term><command>mmroff</command></term>
248<listitem>
249<para>A simple preprocessor for <command>groff</command></para>
250<indexterm zone="ch-system-groff mmroff"><primary sortas="b-mmroff">mmroff</primary></indexterm>
251</listitem>
252</varlistentry>
253
254<varlistentry id="neqn">
255<term><command>neqn</command></term>
256<listitem>
257<para>Formats equations for American Standard Code for Information
258Interchange (ASCII) output</para>
259<indexterm zone="ch-system-groff neqn"><primary sortas="b-neqn">neqn</primary></indexterm>
260</listitem>
261</varlistentry>
262
263<varlistentry id="nroff">
264<term><command>nroff</command></term>
265<listitem>
266<para>A script that emulates the <command>nroff</command> command using <command>groff</command></para>
267<indexterm zone="ch-system-groff nroff"><primary sortas="b-nroff">nroff</primary></indexterm>
268</listitem>
269</varlistentry>
270
271<varlistentry id="pfbtops">
272<term><command>pfbtops</command></term>
273<listitem>
274<para>Translates a PostScript font in <filename class="extension">.pfb</filename> format to ASCII</para>
275<indexterm zone="ch-system-groff pfbtops"><primary sortas="b-pfbtops">pfbtops</primary></indexterm>
276</listitem>
277</varlistentry>
278
279<varlistentry id="pic">
280<term><command>pic</command></term>
281<listitem>
282<para>Compiles descriptions of pictures embedded
283within troff or TeX input files into commands understood by TeX or <command>troff</command></para>
284<indexterm zone="ch-system-groff pic"><primary sortas="b-pic">pic</primary></indexterm>
285</listitem>
286</varlistentry>
287
288<varlistentry id="pic2graph">
289<term><command>pic2graph</command></term>
290<listitem>
291<para>Converts a PIC diagram into a cropped image</para>
292<indexterm zone="ch-system-groff pic2graph"><primary sortas="b-pic2graph">pic2graph</primary></indexterm>
293</listitem>
294</varlistentry>
295
296<varlistentry id="post-grohtml">
297<term><command>post-grohtml</command></term>
298<listitem>
299<para>Translates the output of GNU <command>troff</command> to html</para>
300<indexterm zone="ch-system-groff post-grohtml"><primary sortas="b-post-grohtml">post-grohtml</primary></indexterm>
301</listitem>
302</varlistentry>
303
304<varlistentry id="pre-grohtml">
305<term><command>pre-grohtml </command></term>
306<listitem>
307<para>Translates the output of GNU <command>troff</command> to html</para>
308<indexterm zone="ch-system-groff pre-grohtml"><primary sortas="b-pre-grohtml">pre-grohtml</primary></indexterm>
309</listitem>
310</varlistentry>
311
312<varlistentry id="refer">
313<term><command>refer</command></term>
314<listitem>
315<para>Copies the contents of a file to the standard output, except
316that lines between <emphasis>.[</emphasis> and <emphasis>.]</emphasis>
317are interpreted as citations, and lines between
318<emphasis>.R1</emphasis> and <emphasis>.R2</emphasis> are interpreted
319as commands for how citations are to be processed</para>
320<indexterm zone="ch-system-groff refer"><primary sortas="b-refer">refer</primary></indexterm>
321</listitem>
322</varlistentry>
323
324<varlistentry id="soelim">
325<term><command>soelim</command></term>
326<listitem>
327<para>Reads files and replaces lines of the form
328<emphasis>.so file</emphasis> by the contents of the mentioned
329<emphasis>file</emphasis></para>
330<indexterm zone="ch-system-groff soelim"><primary sortas="b-soelim">soelim</primary></indexterm>
331</listitem>
332</varlistentry>
333
334<varlistentry id="tbl">
335<term><command>tbl</command></term>
336<listitem>
337<para>Compiles descriptions of tables embedded
338within troff input files into commands that are understood by <command>troff</command></para>
339<indexterm zone="ch-system-groff tbl"><primary sortas="b-tbl">tbl</primary></indexterm>
340</listitem>
341</varlistentry>
342
343<varlistentry id="tfmtodit">
344<term><command>tfmtodit</command></term>
345<listitem>
346<para>Creates a font file for use with <command>groff -Tdvi</command></para>
347<indexterm zone="ch-system-groff tfmtodit"><primary sortas="b-tfmtodit">tfmtodit</primary></indexterm>
348</listitem>
349</varlistentry>
350
351<varlistentry id="troff">
352<term><command>troff</command></term>
353<listitem>
354<para>Is highly compatible with Unix <command>troff</command>; it
355should usually be invoked using the
356<command>groff</command> command, which will also run preprocessors and post-processors in the
357appropriate order and with the appropriate options</para>
358<indexterm zone="ch-system-groff troff"><primary sortas="b-troff">troff</primary></indexterm>
359</listitem>
360</varlistentry>
361
362<varlistentry id="zsoelim">
363<term><command>zsoelim</command></term>
364<listitem>
365<para>Is the GNU implementation of <command>soelim</command></para>
366<indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm>
367</listitem>
368</varlistentry>
369</variablelist>
370
371</sect2>
372
373</sect1>
374
Note: See TracBrowser for help on using the repository browser.