source: chapter06/groff.xml@ ef57e3b

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 ef57e3b was ef57e3b, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Amplied the Index entries for Hotplug and Linux-Libc-Headers.
Tags corrections.

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

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