source: chapter06/groff.xml@ b8a819f

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.0 6.1 6.1.1 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 b8a819f was b8a819f, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Changed the id's location in the Short descriptions sections to fix a bug in the PDF generation.

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

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