source: chapter06/groff.xml@ ef13657

6.0
Last change on this file since ef13657 was ef13657, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4000 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 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-groff" xreflabel="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>Groff installation depends on</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24Gawk, GCC, Glibc, Grep, Make, 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 <emphasis>PAGE</emphasis>
32to contain the default paper size. For those in the United States, the
33command below is appropriate. Elsewhere, the
34<parameter>PAGE=letter</parameter> may need to be changed to
35<parameter>PAGE=A4</parameter>.</para>
36
37<para>Prepare Groff for compilation:</para>
38
39<screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen>
40
41<para>Compile the package:</para>
42
43<screen><userinput>make</userinput></screen>
44
45<para>Install the package:</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</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><title>Short descriptions</title>
70
71<varlistentry 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 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 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 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 a troff EQN (equation) into a cropped image.</para>
102</listitem>
103</varlistentry>
104
105<varlistentry 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>a <command>groff</command> preprocessor for gremlin files.</para>
110</listitem>
111</varlistentry>
112
113<varlistentry 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>a driver for <command>groff</command> that produces TeX dvi format.</para>
118</listitem>
119</varlistentry>
120
121<varlistentry 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>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 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 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 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 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 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 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 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 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 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>creates an inverted index for the bibliographic databases with a specified file for
209use with <command>refer</command>, <command>lookbib</command>, and <command>lkbib</command>.</para>
210</listitem>
211</varlistentry>
212
213<varlistentry 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 references that contain
218specified keys and reports any references found.</para>
219</listitem>
220</varlistentry>
221
222<varlistentry 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 (unless the standard input
227is not a terminal), reads from the standard input a line containing a
228set of keywords, searches the bibliographic databases in a specified
229file for references containing those keywords, prints any references
230found on the standard output, and repeats this process until the end
231of input.</para>
232</listitem>
233</varlistentry>
234
235<varlistentry 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>a simple preprocessor for <command>groff</command>.</para>
240</listitem>
241</varlistentry>
242
243<varlistentry 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 American Standard Code for Information
248Interchange (ASCII) output.</para>
249</listitem>
250</varlistentry>
251
252<varlistentry 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>a script that emulates the <command>nroff</command> command using <command>groff</command>.</para>
257</listitem>
258</varlistentry>
259
260<varlistentry 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 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 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 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 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 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 standard output, except
306that lines between <emphasis>.[</emphasis> and <emphasis>.]</emphasis>
307are interpreted as citations, and lines between
308<emphasis>.R1</emphasis> and <emphasis>.R2</emphasis> are interpreted
309as commands about how citations are to be processed.</para>
310</listitem>
311</varlistentry>
312
313<varlistentry id="soelim">
314<term><command>soelim</command></term>
315<listitem>
316<indexterm zone="ch-system-groff soelim"><primary sortas="b-soelim">soelim</primary></indexterm>
317<para>reads files and replaces lines of the form
318<emphasis>.so file</emphasis> by the contents of the mentioned
319<emphasis>file</emphasis>.</para>
320</listitem>
321</varlistentry>
322
323<varlistentry id="tbl">
324<term><command>tbl</command></term>
325<listitem>
326<indexterm zone="ch-system-groff tbl"><primary sortas="b-tbl">tbl</primary></indexterm>
327<para>compiles descriptions of tables embedded
328within troff input files into commands that are understood by <command>troff</command>.</para>
329</listitem>
330</varlistentry>
331
332<varlistentry id="tfmtodit">
333<term><command>tfmtodit</command></term>
334<listitem>
335<indexterm zone="ch-system-groff tfmtodit"><primary sortas="b-tfmtodit">tfmtodit</primary></indexterm>
336<para>creates a font file for use with <command>groff -Tdvi</command>.</para>
337</listitem>
338</varlistentry>
339
340<varlistentry id="troff">
341<term><command>troff</command></term>
342<listitem>
343<indexterm zone="ch-system-groff troff"><primary sortas="b-troff">troff</primary></indexterm>
344<para>is highly compatible with Unix <command>troff</command>. Usually it should be invoked using the
345<command>groff</command> command, which will also run preprocessors and post-processors in the
346appropriate order and with the appropriate options.</para>
347</listitem>
348</varlistentry>
349
350<varlistentry id="zsoelim">
351<term><command>zsoelim</command></term>
352<listitem>
353<indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm>
354<para>is the GNU implementation of <command>soelim</command>.</para>
355</listitem>
356</varlistentry>
357</variablelist>
358
359</sect2>
360
361</sect1>
362
Note: See TracBrowser for help on using the repository browser.