source: chapter06/groff.xml@ 386babed

Last change on this file since 386babed was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

  • Property mode set to 100644
File size: 13.3 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c2133bc]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[752f4e5]6<sect1 id="ch-system-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>
[a0e1913]22<segtitle>&dependencies;</segtitle>
[a001133]23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
[69993f4]24Gawk, GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
[a001133]25</segmentedlist>
26</sect2>
[73aedd1d]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Groff</title>
30
[752f4e5]31<para>Groff expects the environment variable <envar>PAGE</envar>
[7e0cfc1]32to contain the default paper size. For users in the United States,
33<parameter>PAGE=letter</parameter> is appropriate. Elsewhere,
34<parameter>PAGE=A4</parameter> may be more suitable.</para>
[73aedd1d]35
36<para>Prepare Groff for compilation:</para>
37
[9c9cfbff]38<screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen>
[73aedd1d]39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
[ef13657]44<para>Install the package:</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
[b48b8c5]55
[73aedd1d]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,
[69993f4]66pre-grohtml, refer, soelim, tbl, tfmtodit, troff, and zsoelim (link to soelim)</seg></seglistitem>
[c6cb3aa]67</segmentedlist>
[673b0d8]68
[2256873]69<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
[3ed279f]70<?dbfo list-presentation="list"?>
[c5f9180]71<?dbhtml list-presentation="table"?>
[673b0d8]72
[b8a819f]73<varlistentry id="addftinfo">
74<term><command>addftinfo</command></term>
[c6cb3aa]75<listitem>
[2256873]76<para>Reads a troff font file and adds some
77additional font-metric information that is used by the <command>groff</command> system</para>
[3ed279f]78<indexterm zone="ch-system-groff addftinfo"><primary sortas="b-addftinfo">addftinfo</primary></indexterm>
[c6cb3aa]79</listitem>
80</varlistentry>
[673b0d8]81
[b8a819f]82<varlistentry id="afmtodit">
83<term><command>afmtodit</command></term>
[c6cb3aa]84<listitem>
[2256873]85<para>Creates a font file for use with <command>groff</command> and <command>grops</command></para>
[3ed279f]86<indexterm zone="ch-system-groff afmtodit"><primary sortas="b-afmtodit">afmtodit</primary></indexterm>
[c6cb3aa]87</listitem>
88</varlistentry>
[673b0d8]89
[b8a819f]90<varlistentry id="eqn">
91<term><command>eqn</command></term>
[c6cb3aa]92<listitem>
[2256873]93<para>Compiles descriptions of equations embedded
94within troff input files into commands that are understood by <command>troff</command></para>
[3ed279f]95<indexterm zone="ch-system-groff eqn"><primary sortas="b-eqn">eqn</primary></indexterm>
[c6cb3aa]96</listitem>
97</varlistentry>
[673b0d8]98
[b8a819f]99<varlistentry id="eqn2graph">
100<term><command>eqn2graph</command></term>
[c6cb3aa]101<listitem>
[2256873]102<para>Converts a troff EQN (equation) into a cropped image</para>
[3ed279f]103<indexterm zone="ch-system-groff eqn2graph"><primary sortas="b-eqn2graph">eqn2graph</primary></indexterm>
[c6cb3aa]104</listitem>
105</varlistentry>
[673b0d8]106
[2256873]107<varlistentry id="geqn">
108<term><command>eqn</command></term>
109<listitem>
110<para>A link to <command>eqn</command></para>
111<indexterm zone="ch-system-groff geqn"><primary sortas="b-geqn">geqn</primary></indexterm>
112</listitem>
113</varlistentry>
114
[b8a819f]115<varlistentry id="grn">
116<term><command>grn</command></term>
[c6cb3aa]117<listitem>
[2256873]118<para>A <command>groff</command> preprocessor for gremlin files</para>
[3ed279f]119<indexterm zone="ch-system-groff grn"><primary sortas="b-grn">grn</primary></indexterm>
[c6cb3aa]120</listitem>
121</varlistentry>
[673b0d8]122
[b8a819f]123<varlistentry id="grodvi">
124<term><command>grodvi</command></term>
[c6cb3aa]125<listitem>
[2256873]126<para>A driver for <command>groff</command> that produces TeX dvi format</para>
[3ed279f]127<indexterm zone="ch-system-groff grodvi"><primary sortas="b-grodvi">grodvi</primary></indexterm>
[c6cb3aa]128</listitem>
129</varlistentry>
[673b0d8]130
[b8a819f]131<varlistentry id="groff">
132<term><command>groff</command></term>
[c6cb3aa]133<listitem>
[2256873]134<para>A front-end to the groff document
135formatting system; normally, it runs the <command>troff</command> program and a post-processor
136appropriate for the selected device</para>
[3ed279f]137<indexterm zone="ch-system-groff groff"><primary sortas="b-groff">groff</primary></indexterm>
[c6cb3aa]138</listitem>
139</varlistentry>
[673b0d8]140
[b8a819f]141<varlistentry id="groffer">
142<term><command>groffer</command></term>
[c6cb3aa]143<listitem>
[2256873]144<para>Displays groff files and man pages on X and tty terminals</para>
[3ed279f]145<indexterm zone="ch-system-groff groffer"><primary sortas="b-groffer">groffer</primary></indexterm>
[c6cb3aa]146</listitem>
147</varlistentry>
[673b0d8]148
[b8a819f]149<varlistentry id="grog">
150<term><command>grog</command></term>
[c6cb3aa]151<listitem>
[2256873]152<para>Reads files and guesses which of the <command>groff</command>
[ef57e3b]153options <parameter>-e</parameter>, <parameter>-man</parameter>,
154<parameter>-me</parameter>, <parameter>-mm</parameter>,
155<parameter>-ms</parameter>, <parameter>-p</parameter>, <parameter>-s</parameter>,
156and <parameter>-t</parameter> are required for printing
[2256873]157files, and reports the <command>groff</command> command including those options</para>
[3ed279f]158<indexterm zone="ch-system-groff grog"><primary sortas="b-grog">grog</primary></indexterm>
[c6cb3aa]159</listitem>
160</varlistentry>
[673b0d8]161
[b8a819f]162<varlistentry id="grolbp">
163<term><command>grolbp</command></term>
[c6cb3aa]164<listitem>
[2256873]165<para>Is a <command>groff</command> driver for Canon CAPSL printers
166(LBP-4 and LBP-8 series laser printers)</para>
[3ed279f]167<indexterm zone="ch-system-groff grolbp"><primary sortas="b-grolbp">grolbp</primary></indexterm>
[c6cb3aa]168</listitem>
169</varlistentry>
[673b0d8]170
[b8a819f]171<varlistentry id="grolj4">
172<term><command>grolj4</command></term>
[c6cb3aa]173<listitem>
[2256873]174<para>Is a driver for <command>groff</command> that produces output
175in PCL5 format suitable for an HP Laserjet 4 printer</para>
[3ed279f]176<indexterm zone="ch-system-groff grolj4"><primary sortas="b-grolj4">grolj4</primary></indexterm>
[c6cb3aa]177</listitem>
178</varlistentry>
[673b0d8]179
[b8a819f]180<varlistentry id="grops">
181<term><command>grops</command></term>
[c6cb3aa]182<listitem>
[2256873]183<para>Translates the output of GNU <command>troff</command> to PostScript</para>
[b48b8c5]184
[3ed279f]185<indexterm zone="ch-system-groff grops"><primary sortas="b-grops">grops</primary></indexterm>
[c6cb3aa]186</listitem>
187</varlistentry>
[6370fa6]188
[b8a819f]189<varlistentry id="grotty">
190<term><command>grotty</command></term>
[c6cb3aa]191<listitem>
[2256873]192<para>Translates the output of GNU <command>troff</command> into
193a form suitable for typewriter-like devices</para>
[3ed279f]194<indexterm zone="ch-system-groff grotty"><primary sortas="b-grotty">grotty</primary></indexterm>
[c6cb3aa]195</listitem>
196</varlistentry>
[673b0d8]197
[b8a819f]198<varlistentry id="gtbl">
199<term><command>gtbl</command></term>
[c6cb3aa]200<listitem>
[2256873]201<para>Is the GNU implementation of <command>tbl</command></para>
[3ed279f]202<indexterm zone="ch-system-groff gtbl"><primary sortas="b-gtbl">gtbl</primary></indexterm>
[c6cb3aa]203</listitem>
204</varlistentry>
[673b0d8]205
[b8a819f]206<varlistentry id="hpftodit">
207<term><command>hpftodit</command></term>
[c6cb3aa]208<listitem>
[2256873]209<para>Creates a font file for use with
210<command>groff -Tlj4</command> from an HP-tagged font metric file</para>
[3ed279f]211<indexterm zone="ch-system-groff hpftodit"><primary sortas="b-hpftodit">hpftodit</primary></indexterm>
[c6cb3aa]212</listitem>
213</varlistentry>
[673b0d8]214
[b8a819f]215<varlistentry id="indxbib">
216<term><command>indxbib</command></term>
[c6cb3aa]217<listitem>
[2256873]218<para>Creates an inverted index for the bibliographic databases with a specified file for
219use with <command>refer</command>, <command>lookbib</command>, and <command>lkbib</command></para>
[3ed279f]220<indexterm zone="ch-system-groff indxbib"><primary sortas="b-indxbib">indxbib</primary></indexterm>
[c6cb3aa]221</listitem>
222</varlistentry>
223
[b8a819f]224<varlistentry id="lkbib">
225<term><command>lkbib</command></term>
[c6cb3aa]226<listitem>
[2256873]227<para>Searches bibliographic databases for references that contain
228specified keys and reports any references found</para>
[3ed279f]229<indexterm zone="ch-system-groff lkbib"><primary sortas="b-lkbib">lkbib</primary></indexterm>
[c6cb3aa]230</listitem>
231</varlistentry>
[673b0d8]232
[b8a819f]233<varlistentry id="lookbib">
234<term><command>lookbib</command></term>
[c6cb3aa]235<listitem>
[2256873]236<para>Prints a prompt on the standard error (unless the standard input
[69993f4]237is not a terminal), reads a line containing a
238set of keywords from the standard input, searches the bibliographic databases in a specified
[ef13657]239file for references containing those keywords, prints any references
240found on the standard output, and repeats this process until the end
[2256873]241of input</para>
[3ed279f]242<indexterm zone="ch-system-groff lookbib"><primary sortas="b-lookbib">lookbib</primary></indexterm>
[c6cb3aa]243</listitem>
244</varlistentry>
[673b0d8]245
[b8a819f]246<varlistentry id="mmroff">
247<term><command>mmroff</command></term>
[c6cb3aa]248<listitem>
[2256873]249<para>A simple preprocessor for <command>groff</command></para>
[3ed279f]250<indexterm zone="ch-system-groff mmroff"><primary sortas="b-mmroff">mmroff</primary></indexterm>
[c6cb3aa]251</listitem>
252</varlistentry>
[673b0d8]253
[b8a819f]254<varlistentry id="neqn">
255<term><command>neqn</command></term>
[c6cb3aa]256<listitem>
[2256873]257<para>Formats equations for American Standard Code for Information
258Interchange (ASCII) output</para>
[3ed279f]259<indexterm zone="ch-system-groff neqn"><primary sortas="b-neqn">neqn</primary></indexterm>
[c6cb3aa]260</listitem>
261</varlistentry>
262
[b8a819f]263<varlistentry id="nroff">
264<term><command>nroff</command></term>
[c6cb3aa]265<listitem>
[2256873]266<para>A script that emulates the <command>nroff</command> command using <command>groff</command></para>
[3ed279f]267<indexterm zone="ch-system-groff nroff"><primary sortas="b-nroff">nroff</primary></indexterm>
[c6cb3aa]268</listitem>
269</varlistentry>
[673b0d8]270
[b8a819f]271<varlistentry id="pfbtops">
272<term><command>pfbtops</command></term>
[c6cb3aa]273<listitem>
[2256873]274<para>Translates a PostScript font in <filename class="extension">.pfb</filename> format to ASCII</para>
[3ed279f]275<indexterm zone="ch-system-groff pfbtops"><primary sortas="b-pfbtops">pfbtops</primary></indexterm>
[c6cb3aa]276</listitem>
277</varlistentry>
[673b0d8]278
[b8a819f]279<varlistentry id="pic">
280<term><command>pic</command></term>
[c6cb3aa]281<listitem>
[2256873]282<para>Compiles descriptions of pictures embedded
283within troff or TeX input files into commands understood by TeX or <command>troff</command></para>
[3ed279f]284<indexterm zone="ch-system-groff pic"><primary sortas="b-pic">pic</primary></indexterm>
[c6cb3aa]285</listitem>
286</varlistentry>
[673b0d8]287
[b8a819f]288<varlistentry id="pic2graph">
289<term><command>pic2graph</command></term>
[c6cb3aa]290<listitem>
[2256873]291<para>Converts a PIC diagram into a cropped image</para>
[3ed279f]292<indexterm zone="ch-system-groff pic2graph"><primary sortas="b-pic2graph">pic2graph</primary></indexterm>
[c6cb3aa]293</listitem>
294</varlistentry>
[673b0d8]295
[2256873]296<varlistentry id="post-grohtml">
297<term><command>post-grohtml</command></term>
[c6cb3aa]298<listitem>
[2256873]299<para>Translates the output of GNU <command>troff</command> to html</para>
300<indexterm zone="ch-system-groff post-grohtml"><primary sortas="b-post-grohtml">post-grohtml</primary></indexterm>
[c6cb3aa]301</listitem>
302</varlistentry>
[673b0d8]303
[2256873]304<varlistentry id="pre-grohtml">
305<term><command>pre-grohtml </command></term>
[c6cb3aa]306<listitem>
[2256873]307<para>Translates the output of GNU <command>troff</command> to html</para>
308<indexterm zone="ch-system-groff pre-grohtml"><primary sortas="b-pre-grohtml">pre-grohtml</primary></indexterm>
[c6cb3aa]309</listitem>
310</varlistentry>
[673b0d8]311
[b8a819f]312<varlistentry id="refer">
313<term><command>refer</command></term>
[c6cb3aa]314<listitem>
[2256873]315<para>Copies the contents of a file to the standard output, except
[ef13657]316that lines between <emphasis>.[</emphasis> and <emphasis>.]</emphasis>
317are interpreted as citations, and lines between
318<emphasis>.R1</emphasis> and <emphasis>.R2</emphasis> are interpreted
[2256873]319as commands for how citations are to be processed</para>
[3ed279f]320<indexterm zone="ch-system-groff refer"><primary sortas="b-refer">refer</primary></indexterm>
[c6cb3aa]321</listitem>
322</varlistentry>
[673b0d8]323
[b8a819f]324<varlistentry id="soelim">
325<term><command>soelim</command></term>
[c6cb3aa]326<listitem>
[2256873]327<para>Reads files and replaces lines of the form
[673b0d8]328<emphasis>.so file</emphasis> by the contents of the mentioned
[2256873]329<emphasis>file</emphasis></para>
[3ed279f]330<indexterm zone="ch-system-groff soelim"><primary sortas="b-soelim">soelim</primary></indexterm>
[c6cb3aa]331</listitem>
332</varlistentry>
[673b0d8]333
[b8a819f]334<varlistentry id="tbl">
335<term><command>tbl</command></term>
[c6cb3aa]336<listitem>
[2256873]337<para>Compiles descriptions of tables embedded
338within troff input files into commands that are understood by <command>troff</command></para>
[3ed279f]339<indexterm zone="ch-system-groff tbl"><primary sortas="b-tbl">tbl</primary></indexterm>
[c6cb3aa]340</listitem>
341</varlistentry>
[673b0d8]342
[b8a819f]343<varlistentry id="tfmtodit">
344<term><command>tfmtodit</command></term>
[c6cb3aa]345<listitem>
[2256873]346<para>Creates a font file for use with <command>groff -Tdvi</command></para>
[3ed279f]347<indexterm zone="ch-system-groff tfmtodit"><primary sortas="b-tfmtodit">tfmtodit</primary></indexterm>
[c6cb3aa]348</listitem>
349</varlistentry>
[673b0d8]350
[b8a819f]351<varlistentry id="troff">
352<term><command>troff</command></term>
[c6cb3aa]353<listitem>
[2256873]354<para>Is highly compatible with Unix <command>troff</command>; it
[69993f4]355should usually be invoked using the
[ef57e3b]356<command>groff</command> command, which will also run preprocessors and post-processors in the
[2256873]357appropriate order and with the appropriate options</para>
[3ed279f]358<indexterm zone="ch-system-groff troff"><primary sortas="b-troff">troff</primary></indexterm>
[c6cb3aa]359</listitem>
360</varlistentry>
361
[b8a819f]362<varlistentry id="zsoelim">
363<term><command>zsoelim</command></term>
[c6cb3aa]364<listitem>
[2256873]365<para>Is the GNU implementation of <command>soelim</command></para>
[3ed279f]366<indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm>
[c6cb3aa]367</listitem>
368</varlistentry>
369</variablelist>
[673b0d8]370
371</sect2>
372
373</sect1>
[ef13657]374
Note: See TracBrowser for help on using the repository browser.