📄 groff.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 10.21. Groff-1.19.2 </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-MIPS"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS </h4> <h3> Chapter 10. Installing Basic System Software </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="less.html" title="Less-394">Prev</a> <p> Less-394 </p> </li> <li class="next"> <a accesskey="n" href="sed.html" title="Sed-4.1.5">Next</a> <p> Sed-4.1.5 </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 10. Installing Basic System Software">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a> </li> </ul> </div> <div class="wrap" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 10.21. Groff-1.19.2 </h1> </div> <div class="package" lang="en" xml:lang="en"> <p> The Groff package contains programs for processing and formatting text. </p> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installation depends on:</span></strong> <span class="seg">Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, and Sed</span> </div> </div> </div> </div> <div class="installation" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="sect2"> 10.21.1. Installation of Groff </h2> </div> <p> Groff expects the environment variable <tt class="envar">PAGE</tt> to contain the default paper size. For users in the United States, <em class="parameter"><tt>PAGE=letter</tt></em> is appropriate. Elsewhere, <em class="parameter"><tt>PAGE=A4</tt></em> may be more suitable. </p> <p> Prepare Groff for compilation: </p> <pre class="userinput"><kbd class="command">PAGE=<em class="replaceable"><tt>[paper_size]</tt></em> ./configure --prefix=/usr</kbd></pre> <p> Compile the package: </p> <pre class="userinput"><kbd class="command">make</kbd></pre> <p> This package does not come with a test suite. </p> <p> Install the package: </p> <pre class="userinput"><kbd class="command">make install</kbd></pre> <p> Some documentation programs, such as <span><strong class= "command">xman</strong></span>, will not work properly without the following symlinks: </p> <pre class="userinput"><kbd class="command">ln -sv soelim /usr/bin/zsoelimln -sv eqn /usr/bin/geqnln -sv tbl /usr/bin/gtbl</kbd></pre> </div> <div class="content" lang="en" xml:lang="en"> <div class="titlepage"> <a id="contents-groff" name="contents-groff"></a> <h2 class="sect2"> 10.21.2. Contents of Groff </h2> </div> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installed programs:</span></strong> <span class="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, troff, and zsoelim (link to soelim)</span> </div> </div> </div> <div class="variablelist"> <h3> <a id="id3672434" name="id3672434"></a>Short Descriptions </h3> <table border="0"> <col align="left" valign="top" /> <tbody> <tr> <td> <a id="addftinfo" name="addftinfo"></a><span class= "term"><span><strong class= "command">addftinfo</strong></span></span> </td> <td> <p> Reads a troff font file and adds some additional font-metric information that is used by the <span><strong class="command">groff</strong></span> system </p> </td> </tr> <tr> <td> <a id="afmtodit" name="afmtodit"></a><span class= "term"><span><strong class= "command">afmtodit</strong></span></span> </td> <td> <p> Creates a font file for use with <span><strong class= "command">groff</strong></span> and <span><strong class= "command">grops</strong></span> </p> </td> </tr> <tr> <td> <a id="eqn" name="eqn"></a><span class= "term"><span><strong class= "command">eqn</strong></span></span> </td> <td> <p> Compiles descriptions of equations embedded within troff input files into commands that are understood by <span><strong class="command">troff</strong></span> </p> </td> </tr> <tr> <td> <a id="eqn2graph" name="eqn2graph"></a><span class= "term"><span><strong class= "command">eqn2graph</strong></span></span> </td> <td> <p> Converts a troff EQN (equation) into a cropped image </p> </td> </tr> <tr> <td> <a id="geqn" name="geqn"></a><span class= "term"><span><strong class= "command">geqn</strong></span></span> </td> <td> <p> A link to <span><strong class= "command">eqn</strong></span> </p> </td> </tr> <tr> <td> <a id="grn" name="grn"></a><span class= "term"><span><strong class= "command">grn</strong></span></span> </td> <td> <p> A <span><strong class="command">groff</strong></span> preprocessor for gremlin files </p> </td> </tr> <tr> <td> <a id="grodvi" name="grodvi"></a><span class= "term"><span><strong class= "command">grodvi</strong></span></span> </td> <td> <p> A driver for <span><strong class= "command">groff</strong></span> that produces TeX dvi format </p> </td> </tr> <tr> <td> <a id="groff" name="groff"></a><span class= "term"><span><strong class= "command">groff</strong></span></span> </td> <td> <p> A front-end to the groff document formatting system; normally, it runs the <span><strong class= "command">troff</strong></span> program and a post-processor appropriate for the selected device </p> </td> </tr> <tr> <td> <a id="groffer" name="groffer"></a><span class= "term"><span><strong class= "command">groffer</strong></span></span> </td> <td> <p> Displays groff files and man pages on X and tty terminals </p> </td> </tr> <tr> <td> <a id="grog" name="grog"></a><span class= "term"><span><strong class= "command">grog</strong></span></span> </td> <td> <p> Reads files and guesses which of the <span><strong class= "command">groff</strong></span> options <tt class= "option">-e</tt>, <tt class="option">-man</tt>, <tt class="option">-me</tt>, <tt class="option">-mm</tt>, <tt class="option">-ms</tt>, <tt class="option">-p</tt>, <tt class="option">-s</tt>, and <tt class= "option">-t</tt> are required for printing files, and reports the <span><strong class= "command">groff</strong></span> command including those options </p> </td> </tr> <tr> <td> <a id="grolbp" name="grolbp"></a><span class= "term"><span><strong class= "command">grolbp</strong></span></span> </td> <td> <p> Is a <span><strong class="command">groff</strong></span> driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers) </p> </td> </tr> <tr> <td> <a id="grolj4" name="grolj4"></a><span class= "term"><span><strong class= "command">grolj4</strong></span></span> </td> <td> <p> Is a driver for <span><strong class= "command">groff</strong></span> that produces output in PCL5 format suitable for an HP LaserJet 4 printer </p> </td> </tr> <tr> <td> <a id="grops" name="grops"></a><span class= "term"><span><strong class= "command">grops</strong></span></span> </td> <td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -