source: chapter06/groff.xml@ 90bfa70

Last change on this file since 90bfa70 was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

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

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