| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483 | 
							- <?xml version="1.0" encoding="ISO-8859-1"?>
 
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 
-   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 
-   <!ENTITY % general-entities SYSTEM "../general.ent">
 
-   %general-entities;
 
- ]>
 
- <sect1 id="ch-system-groff" role="wrap">
 
-   <?dbhtml filename="groff.html"?>
 
-   <title>Groff-&groff-version;</title>
 
-   <indexterm zone="ch-system-groff">
 
-     <primary sortas="a-Groff">Groff</primary>
 
-   </indexterm>
 
-   <sect2 role="package">
 
-     <title/>
 
-     <para>The Groff package contains programs for processing and formatting
 
-     text.</para>
 
-     <segmentedlist>
 
-       <segtitle>&buildtime;</segtitle>
 
-       <segtitle>&diskspace;</segtitle>
 
-       <seglistitem>
 
-         <seg>0.5 SBU</seg>
 
-         <seg>38.7 MB</seg>
 
-       </seglistitem>
 
-     </segmentedlist>
 
-     <segmentedlist>
 
-       <segtitle>&dependencies;</segtitle>
 
-       <seglistitem>
 
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
 
-         Make, and Sed</seg>
 
-       </seglistitem>
 
-     </segmentedlist>
 
-   </sect2>
 
-   <sect2 role="installation">
 
-     <title>Installation of Groff</title>
 
-     <para>Apply the patch that adds the <quote>ascii8</quote> and
 
-     <quote>nippon</quote> devices to Groff:</para>
 
- <screen><userinput>patch -Np1 -i ../&groff-debian-patch;</userinput></screen>
 
-     <note>
 
-       <para>These devices are used by Man-DB when formatting non-English manual
 
-       pages that are not in the ISO-8859-1 encoding. Currently, there is no
 
-       working patch for Groff-1.19.x that adds this functionality.</para>
 
-       <!-- Details: http://bugs.debian.org/196762 -->
 
-     </note>
 
-     <para>Many screen fonts don't have Unicode single quotes and dashes in them.
 
-     Tell Groff to use the ASCII equivalents instead:</para>
 
- <screen><userinput>sed -i -e 's/2010/002D/' -e 's/2212/002D/' \
 
-     -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto</userinput></screen>
 
-     <para>Groff expects the environment variable <envar>PAGE</envar> to
 
-     contain the default paper size. For users in the United States,
 
-     <parameter>PAGE=letter</parameter> is appropriate. Elsewhere,
 
-     <parameter>PAGE=A4</parameter> may be more suitable. While the default
 
-     paper size is configured during compilation, it can be overridden later
 
-     by echoing either <quote>A4</quote> or <quote>letter</quote> to the
 
-     <filename>/etc/papersize</filename> file.</para>
 
-     <para>Prepare Groff for compilation:</para>
 
- <screen><userinput>PAGE=<replaceable><paper_size></replaceable> ./configure --prefix=/usr --enable-multibyte</userinput></screen>
 
-     <para>Compile the package:</para>
 
- <screen><userinput>make</userinput></screen>
 
-     <para>This package does not come with a test suite.</para>
 
-     <para>Install the package:</para>
 
- <screen><userinput>make install</userinput></screen>
 
-     <para>Some documentation programs, such as <command>xman</command>,
 
-     will not work properly without the following symlinks:</para>
 
- <screen><userinput>ln -sv eqn /usr/bin/geqn
 
- ln -sv tbl /usr/bin/gtbl</userinput></screen>
 
-   </sect2>
 
-   <sect2 id="contents-groff" role="content">
 
-   <title>Contents of Groff</title>
 
-     <segmentedlist>
 
-       <segtitle>Installed programs</segtitle>
 
-       <seglistitem>
 
-         <seg>addftinfo, afmtodit, eqn, eqn2graph, geqn (link to eqn), grn,
 
-         grodvi, groff, groffer, grog, grolbp, grolj4, grops, grotty, gtbl
 
-         (link to tbl), hpftodit, indxbib, lkbib, lookbib, mmroff, neqn,
 
-         nroff, pfbtops, pic, pic2graph, post-grohtml, pre-grohtml, refer,
 
-         soelim, tbl, tfmtodit, and troff</seg>
 
-       </seglistitem>
 
-     </segmentedlist>
 
-     <variablelist>
 
-       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
 
-       <?dbfo list-presentation="list"?>
 
-       <?dbhtml list-presentation="table"?>
 
-       <varlistentry id="addftinfo">
 
-         <term><command>addftinfo</command></term>
 
-         <listitem>
 
-           <para>Reads a troff font file and adds some additional font-metric
 
-           information that is used by the <command>groff</command> system</para>
 
-           <indexterm zone="ch-system-groff addftinfo">
 
-             <primary sortas="b-addftinfo">addftinfo</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="afmtodit">
 
-         <term><command>afmtodit</command></term>
 
-         <listitem>
 
-           <para>Creates a font file for use with <command>groff</command> and
 
-           <command>grops</command></para>
 
-           <indexterm zone="ch-system-groff afmtodit">
 
-             <primary sortas="b-afmtodit">afmtodit</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="eqn">
 
-         <term><command>eqn</command></term>
 
-         <listitem>
 
-           <para>Compiles descriptions of equations embedded within troff
 
-           input files into commands that are understood by
 
-           <command>troff</command></para>
 
-           <indexterm zone="ch-system-groff eqn">
 
-             <primary sortas="b-eqn">eqn</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="eqn2graph">
 
-         <term><command>eqn2graph</command></term>
 
-         <listitem>
 
-           <para>Converts a troff EQN (equation) into a cropped image</para>
 
-           <indexterm zone="ch-system-groff eqn2graph">
 
-             <primary sortas="b-eqn2graph">eqn2graph</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="geqn">
 
-         <term><command>geqn</command></term>
 
-         <listitem>
 
-           <para>A link to <command>eqn</command></para>
 
-           <indexterm zone="ch-system-groff geqn">
 
-             <primary sortas="b-geqn">geqn</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grn">
 
-         <term><command>grn</command></term>
 
-         <listitem>
 
-           <para>A <command>groff</command> preprocessor for gremlin files</para>
 
-           <indexterm zone="ch-system-groff grn">
 
-             <primary sortas="b-grn">grn</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grodvi">
 
-         <term><command>grodvi</command></term>
 
-         <listitem>
 
-           <para>A driver for <command>groff</command> that produces TeX dvi
 
-           format</para>
 
-           <indexterm zone="ch-system-groff grodvi">
 
-             <primary sortas="b-grodvi">grodvi</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="groff">
 
-         <term><command>groff</command></term>
 
-         <listitem>
 
-           <para>A front-end to the groff document formatting system; normally, it
 
-           runs the <command>troff</command> program and a post-processor
 
-           appropriate for the selected device</para>
 
-           <indexterm zone="ch-system-groff groff">
 
-             <primary sortas="b-groff">groff</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="groffer">
 
-         <term><command>groffer</command></term>
 
-         <listitem>
 
-           <para>Displays groff files and man pages on X and tty terminals</para>
 
-           <indexterm zone="ch-system-groff groffer">
 
-             <primary sortas="b-groffer">groffer</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grog">
 
-         <term><command>grog</command></term>
 
-         <listitem>
 
-           <para>Reads files and guesses which of the <command>groff</command>
 
-           options <option>-e</option>, <option>-man</option>, <option>-me</option>,
 
-           <option>-mm</option>, <option>-ms</option>, <option>-p</option>,
 
-           <option>-s</option>, and <option>-t</option> are required for printing
 
-           files, and reports the <command>groff</command> command including those
 
-           options</para>
 
-           <indexterm zone="ch-system-groff grog">
 
-             <primary sortas="b-grog">grog</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grolbp">
 
-         <term><command>grolbp</command></term>
 
-         <listitem>
 
-           <para>Is a <command>groff</command> driver for Canon CAPSL printers
 
-           (LBP-4 and LBP-8 series laser printers)</para>
 
-           <indexterm zone="ch-system-groff grolbp">
 
-             <primary sortas="b-grolbp">grolbp</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grolj4">
 
-         <term><command>grolj4</command></term>
 
-         <listitem>
 
-           <para>Is a driver for <command>groff</command> that produces output
 
-           in PCL5 format suitable for an HP LaserJet 4 printer</para>
 
-           <indexterm zone="ch-system-groff grolj4">
 
-             <primary sortas="b-grolj4">grolj4</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grops">
 
-         <term><command>grops</command></term>
 
-         <listitem>
 
-           <para>Translates the output of GNU <command>troff</command> to
 
-           PostScript</para>
 
-           <indexterm zone="ch-system-groff grops">
 
-             <primary sortas="b-grops">grops</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="grotty">
 
-         <term><command>grotty</command></term>
 
-         <listitem>
 
-           <para>Translates the output of GNU <command>troff</command> into
 
-           a form suitable for typewriter-like devices</para>
 
-           <indexterm zone="ch-system-groff grotty">
 
-             <primary sortas="b-grotty">grotty</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="gtbl">
 
-         <term><command>gtbl</command></term>
 
-         <listitem>
 
-           <para>A link to <command>tbl</command></para>
 
-           <indexterm zone="ch-system-groff gtbl">
 
-             <primary sortas="b-gtbl">gtbl</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="hpftodit">
 
-         <term><command>hpftodit</command></term>
 
-         <listitem>
 
-           <para>Creates a font file for use with <command>groff -Tlj4</command>
 
-           from an HP-tagged font metric file</para>
 
-           <indexterm zone="ch-system-groff hpftodit">
 
-             <primary sortas="b-hpftodit">hpftodit</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="indxbib">
 
-         <term><command>indxbib</command></term>
 
-         <listitem>
 
-           <para>Creates an inverted index for the bibliographic databases with a
 
-           specified file for use with <command>refer</command>,
 
-           <command>lookbib</command>, and <command>lkbib</command></para>
 
-           <indexterm zone="ch-system-groff indxbib">
 
-             <primary sortas="b-indxbib">indxbib</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="lkbib">
 
-         <term><command>lkbib</command></term>
 
-         <listitem>
 
-           <para>Searches bibliographic databases for references that contain
 
-           specified keys and reports any references found</para>
 
-           <indexterm zone="ch-system-groff lkbib">
 
-             <primary sortas="b-lkbib">lkbib</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="lookbib">
 
-         <term><command>lookbib</command></term>
 
-         <listitem>
 
-           <para>Prints a prompt on the standard error (unless the standard input
 
-           is not a terminal), reads a line containing a set of keywords from the
 
-           standard input, searches the bibliographic databases in a specified file
 
-           for references containing those keywords, prints any references found
 
-           on the standard output, and repeats this process until the end of
 
-           input</para>
 
-           <indexterm zone="ch-system-groff lookbib">
 
-             <primary sortas="b-lookbib">lookbib</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="mmroff">
 
-         <term><command>mmroff</command></term>
 
-         <listitem>
 
-           <para>A simple preprocessor for <command>groff</command></para>
 
-           <indexterm zone="ch-system-groff mmroff">
 
-             <primary sortas="b-mmroff">mmroff</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="neqn">
 
-         <term><command>neqn</command></term>
 
-         <listitem>
 
-           <para>Formats equations for American Standard Code for Information
 
-           Interchange (ASCII) output</para>
 
-           <indexterm zone="ch-system-groff neqn">
 
-             <primary sortas="b-neqn">neqn</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="nroff">
 
-         <term><command>nroff</command></term>
 
-         <listitem>
 
-           <para>A script that emulates the <command>nroff</command> command
 
-           using <command>groff</command></para>
 
-           <indexterm zone="ch-system-groff nroff">
 
-             <primary sortas="b-nroff">nroff</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="pfbtops">
 
-         <term><command>pfbtops</command></term>
 
-         <listitem>
 
-           <para>Translates a PostScript font in <filename
 
-           class="extension">.pfb</filename> format to ASCII</para>
 
-           <indexterm zone="ch-system-groff pfbtops">
 
-             <primary sortas="b-pfbtops">pfbtops</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="pic">
 
-         <term><command>pic</command></term>
 
-         <listitem>
 
-           <para>Compiles descriptions of pictures embedded within troff or
 
-           TeX input files into commands understood by TeX or
 
-           <command>troff</command></para>
 
-           <indexterm zone="ch-system-groff pic">
 
-             <primary sortas="b-pic">pic</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="pic2graph">
 
-         <term><command>pic2graph</command></term>
 
-         <listitem>
 
-           <para>Converts a PIC diagram into a cropped image</para>
 
-           <indexterm zone="ch-system-groff pic2graph">
 
-             <primary sortas="b-pic2graph">pic2graph</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="post-grohtml">
 
-         <term><command>post-grohtml</command></term>
 
-         <listitem>
 
-           <para>Translates the output of GNU <command>troff</command> to
 
-           HTML</para>
 
-           <indexterm zone="ch-system-groff post-grohtml">
 
-             <primary sortas="b-post-grohtml">post-grohtml</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="pre-grohtml">
 
-         <term><command>pre-grohtml </command></term>
 
-         <listitem>
 
-           <para>Translates the output of GNU <command>troff</command> to
 
-           HTML</para>
 
-           <indexterm zone="ch-system-groff pre-grohtml">
 
-             <primary sortas="b-pre-grohtml">pre-grohtml</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="refer">
 
-         <term><command>refer</command></term>
 
-         <listitem>
 
-           <para>Copies the contents of a file to the standard output, except
 
-           that lines between <emphasis>.[</emphasis> and <emphasis>.]</emphasis>
 
-           are interpreted as citations, and lines between <emphasis>.R1</emphasis>
 
-           and <emphasis>.R2</emphasis> are interpreted as commands for how
 
-           citations are to be processed</para>
 
-           <indexterm zone="ch-system-groff refer">
 
-             <primary sortas="b-refer">refer</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="soelim">
 
-         <term><command>soelim</command></term>
 
-         <listitem>
 
-           <para>Reads files and replaces lines of the form <emphasis>.so
 
-           file</emphasis> by the contents of the mentioned
 
-           <emphasis>file</emphasis></para>
 
-           <indexterm zone="ch-system-groff soelim">
 
-             <primary sortas="b-soelim">soelim</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="tbl">
 
-         <term><command>tbl</command></term>
 
-         <listitem>
 
-           <para>Compiles descriptions of tables embedded within troff input
 
-           files into commands that are understood by
 
-           <command>troff</command></para>
 
-           <indexterm zone="ch-system-groff tbl">
 
-             <primary sortas="b-tbl">tbl</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="tfmtodit">
 
-         <term><command>tfmtodit</command></term>
 
-         <listitem>
 
-           <para>Creates a font file for use with <command>groff
 
-           -Tdvi</command></para>
 
-           <indexterm zone="ch-system-groff tfmtodit">
 
-             <primary sortas="b-tfmtodit">tfmtodit</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-       <varlistentry id="troff">
 
-         <term><command>troff</command></term>
 
-         <listitem>
 
-           <para>Is highly compatible with Unix <command>troff</command>; it
 
-           should usually be invoked using the <command>groff</command> command,
 
-           which will also run preprocessors and post-processors in the
 
-           appropriate order and with the appropriate options</para>
 
-           <indexterm zone="ch-system-groff troff">
 
-             <primary sortas="b-troff">troff</primary>
 
-           </indexterm>
 
-         </listitem>
 
-       </varlistentry>
 
-     </variablelist>
 
-   </sect2>
 
- </sect1>
 
 
  |