source: chapter06/groff.xml@ 1375d26

Last change on this file since 1375d26 was 1fe35e1, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter06/*.xml) RELAX NG validation fixes

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

  • Property mode set to 100644
File size: 13.1 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1fe35e1]2<!DOCTYPE section [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[1fe35e1]6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-groff" xreflabel="Groff" role="wrap">
8<info><title>Groff-&groff-version;</title></info>
[673b0d8]9<?dbhtml filename="groff.html"?>
10
11<indexterm zone="ch-system-groff"><primary sortas="a-Groff">Groff</primary></indexterm>
[6370fa6]12
[1fe35e1]13<section role="package"><info><title/></info>
[5888299]14<para>The Groff package contains programs for processing and formatting text.</para>
15
[a001133]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>
[1fe35e1]27</section>
[73aedd1d]28
[1fe35e1]29<section role="installation">
30<info><title>Installation of Groff</title></info>
[73aedd1d]31
32<para>Groff expects the environment variable PAGE to contain the default paper
[17476c5]33size. For those in the United States, the command below is appropriate. If you
[73aedd1d]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
[ba7d4fd]39<screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen>
[73aedd1d]40
41<para>Compile the package:</para>
42
43<screen><userinput>make</userinput></screen>
44
[673b0d8]45<para>Now install it:</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
[1fe35e1]56</section>
[6370fa6]57
[5888299]58
[1fe35e1]59<section xml:id="contents-groff" role="content"><info><title>Contents of Groff</title></info>
[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
[1fe35e1]71<varlistentry xml:id="addftinfo">
[b8a819f]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
[1fe35e1]80<varlistentry xml:id="afmtodit">
[b8a819f]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
[1fe35e1]88<varlistentry xml:id="eqn">
[b8a819f]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
[1fe35e1]97<varlistentry xml:id="eqn2graph">
[b8a819f]98<term><command>eqn2graph</command></term>
[c6cb3aa]99<listitem>
[673b0d8]100<indexterm zone="ch-system-groff eqn2graph"><primary sortas="b-eqn2graph">eqn2graph</primary></indexterm>
[c6cb3aa]101<para>converts an EQN equation into a cropped image.</para>
102</listitem>
103</varlistentry>
[673b0d8]104
[1fe35e1]105<varlistentry xml:id="grn">
[b8a819f]106<term><command>grn</command></term>
[c6cb3aa]107<listitem>
[673b0d8]108<indexterm zone="ch-system-groff grn"><primary sortas="b-grn">grn</primary></indexterm>
[ef57e3b]109<para>is a <command>groff</command> preprocessor for gremlin files.</para>
[c6cb3aa]110</listitem>
111</varlistentry>
[673b0d8]112
[1fe35e1]113<varlistentry xml:id="grodvi">
[b8a819f]114<term><command>grodvi</command></term>
[c6cb3aa]115<listitem>
[673b0d8]116<indexterm zone="ch-system-groff grodvi"><primary sortas="b-grodvi">grodvi</primary></indexterm>
[ef57e3b]117<para>is a driver for <command>groff</command> that produces TeX dvi format.</para>
[c6cb3aa]118</listitem>
119</varlistentry>
[673b0d8]120
[1fe35e1]121<varlistentry xml:id="groff">
[b8a819f]122<term><command>groff</command></term>
[c6cb3aa]123<listitem>
[673b0d8]124<indexterm zone="ch-system-groff groff"><primary sortas="b-groff">groff</primary></indexterm>
[c6cb3aa]125<para>is a front-end to the groff document
[ef57e3b]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
[1fe35e1]131<varlistentry xml:id="groffer">
[b8a819f]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
[1fe35e1]139<varlistentry xml:id="grog">
[b8a819f]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
[1fe35e1]152<varlistentry xml:id="grolbp">
[b8a819f]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
[1fe35e1]161<varlistentry xml:id="grolj4">
[b8a819f]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
[1fe35e1]170<varlistentry xml:id="grops">
[b8a819f]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
[1fe35e1]178<varlistentry xml:id="grotty">
[b8a819f]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
[1fe35e1]187<varlistentry xml:id="gtbl">
[b8a819f]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
[1fe35e1]195<varlistentry xml:id="hpftodit">
[b8a819f]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
[1fe35e1]204<varlistentry xml:id="indxbib">
[b8a819f]205<term><command>indxbib</command></term>
[c6cb3aa]206<listitem>
[673b0d8]207<indexterm zone="ch-system-groff indxbib"><primary sortas="b-indxbib">indxbib</primary></indexterm>
[c6cb3aa]208<para>makes an inverted index for the bibliographic databases a specified file for
[ef57e3b]209use with <command>refer</command>, <command>lookbib</command>, and <command>lkbib</command>.</para>
[c6cb3aa]210</listitem>
211</varlistentry>
212
[1fe35e1]213<varlistentry xml:id="lkbib">
[b8a819f]214<term><command>lkbib</command></term>
[c6cb3aa]215<listitem>
[673b0d8]216<indexterm zone="ch-system-groff lkbib"><primary sortas="b-lkbib">lkbib</primary></indexterm>
[c6cb3aa]217<para>searches bibliographic databases for
[673b0d8]218references that contain specified keys and reports any references found.</para>
[c6cb3aa]219</listitem>
220</varlistentry>
[673b0d8]221
[1fe35e1]222<varlistentry xml:id="lookbib">
[b8a819f]223<term><command>lookbib</command></term>
[c6cb3aa]224<listitem>
[673b0d8]225<indexterm zone="ch-system-groff lookbib"><primary sortas="b-lookbib">lookbib</primary></indexterm>
[c6cb3aa]226<para>prints a prompt on the standard error
[673b0d8]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>
[c6cb3aa]232</listitem>
233</varlistentry>
[673b0d8]234
[1fe35e1]235<varlistentry xml:id="mmroff">
[b8a819f]236<term><command>mmroff</command></term>
[c6cb3aa]237<listitem>
[673b0d8]238<indexterm zone="ch-system-groff mmroff"><primary sortas="b-mmroff">mmroff</primary></indexterm>
[ef57e3b]239<para>is a simple preprocessor for <command>groff</command>.</para>
[c6cb3aa]240</listitem>
241</varlistentry>
[673b0d8]242
[1fe35e1]243<varlistentry xml:id="neqn">
[b8a819f]244<term><command>neqn</command></term>
[c6cb3aa]245<listitem>
[673b0d8]246<indexterm zone="ch-system-groff neqn"><primary sortas="b-neqn">neqn</primary></indexterm>
[c6cb3aa]247<para>formats equations for ASCII (American Standard Code for Information
248Interchange) output.</para>
249</listitem>
250</varlistentry>
251
[1fe35e1]252<varlistentry xml:id="nroff">
[b8a819f]253<term><command>nroff</command></term>
[c6cb3aa]254<listitem>
[673b0d8]255<indexterm zone="ch-system-groff nroff"><primary sortas="b-nroff">nroff</primary></indexterm>
[ef57e3b]256<para>is a script that emulates the <command>nroff</command> command using <command>groff</command>.</para>
[c6cb3aa]257</listitem>
258</varlistentry>
[673b0d8]259
[1fe35e1]260<varlistentry xml:id="pfbtops">
[b8a819f]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
[1fe35e1]268<varlistentry xml:id="pic">
[b8a819f]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
[1fe35e1]277<varlistentry xml:id="pic2graph">
[b8a819f]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
[1fe35e1]285<varlistentry xml:id="pre-grohtml">
[b8a819f]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
[1fe35e1]293<varlistentry xml:id="post-grohtml">
[b8a819f]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
[1fe35e1]301<varlistentry xml:id="refer">
[b8a819f]302<term><command>refer</command></term>
[c6cb3aa]303<listitem>
[673b0d8]304<indexterm zone="ch-system-groff refer"><primary sortas="b-refer">refer</primary></indexterm>
[c6cb3aa]305<para>copies the contents of a file to the
[673b0d8]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>
[c6cb3aa]309</listitem>
310</varlistentry>
[673b0d8]311
[1fe35e1]312<varlistentry xml:id="soelim">
[b8a819f]313<term><command>soelim</command></term>
[c6cb3aa]314<listitem>
[673b0d8]315<indexterm zone="ch-system-groff soelim"><primary sortas="b-soelim">soelim</primary></indexterm>
[c6cb3aa]316<para>reads files and replaces lines of the form
[673b0d8]317<emphasis>.so file</emphasis> by the contents of the mentioned
318<emphasis>file</emphasis>.</para>
[c6cb3aa]319</listitem>
320</varlistentry>
[673b0d8]321
[1fe35e1]322<varlistentry xml:id="tbl">
[b8a819f]323<term><command>tbl</command></term>
[c6cb3aa]324<listitem>
[673b0d8]325<indexterm zone="ch-system-groff tbl"><primary sortas="b-tbl">tbl</primary></indexterm>
[c6cb3aa]326<para>compiles descriptions of tables embedded
[ef57e3b]327within troff input files into commands that are understood by <command>troff</command>.</para>
[c6cb3aa]328</listitem>
329</varlistentry>
[673b0d8]330
[1fe35e1]331<varlistentry xml:id="tfmtodit">
[b8a819f]332<term><command>tfmtodit</command></term>
[c6cb3aa]333<listitem>
[673b0d8]334<indexterm zone="ch-system-groff tfmtodit"><primary sortas="b-tfmtodit">tfmtodit</primary></indexterm>
[ef57e3b]335<para>creates a font file for use with <command>groff -Tdvi</command>.</para>
[c6cb3aa]336</listitem>
337</varlistentry>
[673b0d8]338
[1fe35e1]339<varlistentry xml:id="troff">
[b8a819f]340<term><command>troff</command></term>
[c6cb3aa]341<listitem>
[673b0d8]342<indexterm zone="ch-system-groff troff"><primary sortas="b-troff">troff</primary></indexterm>
[ef57e3b]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
[c6cb3aa]345appropriate order and with the appropriate options.</para>
346</listitem>
347</varlistentry>
348
[1fe35e1]349<varlistentry xml:id="zsoelim">
[b8a819f]350<term><command>zsoelim</command></term>
[c6cb3aa]351<listitem>
[673b0d8]352<indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm>
[ef57e3b]353<para>is the GNU implementation of <command>soelim</command>.</para>
[c6cb3aa]354</listitem>
355</varlistentry>
356</variablelist>
[673b0d8]357
[1fe35e1]358</section>
[673b0d8]359
[1fe35e1]360</section>
Note: See TracBrowser for help on using the repository browser.