source: chapter06/groff.xml@ 1dc34de7

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