⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groff.html

📁 lfs3.1 从源代码构建linux。html版本。
💻 HTML
字号:
<HTML><HEAD><TITLE>Installing Groff-1.17.2</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Less-358"HREF="../chapter06/less.html"><LINKREL="NEXT"TITLE="Installing Man-1.5j"HREF="../chapter06/man.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/less.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/man.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-groff">6.15. Installing Groff-1.17.2</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time:           2 minutesEstimated required disk space:  16 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2141">6.15.1. Installation of Groff</A></H2><P>Install Groff by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure --prefix=/usr &#38;&#38;make &#38;&#38;make install</B></TT></PRE></FONT></TD></TR></TABLE></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2147">6.15.2. Contents</A></H2><P>The Groff packages contains the addftinfo, afmtodit, eqn, grodvi, groff,grog, grohtml, grolj4, grops, grotty, hpftodit, indxbib, lkbib, lookbib,neqn, nroff, pfbtops, pic, psbb, refer, soelim, tbl, tfmtodit and troffprograms.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2150">6.15.3. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2152">6.15.3.1. addftinfo</A></H3><P>addftinfo reads a troff font file and adds some additional font-metric information that is used by the groff system.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2155">6.15.3.2. afmtodit</A></H3><P>afmtodit creates a font file for use with groff and grops.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2158">6.15.3.3. eqn</A></H3><P>eqn compiles descriptions of equations embedded within troff input files into commands that are understood by troff.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2161">6.15.3.4. grodvi</A></H3><P>grodvi is a driver for groff that produces TeX dvi format.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2164">6.15.3.5. groff</A></H3><P>groff is a front-end to the groff document formatting system. Normally it runs the troff program and a post-processor appropriate for the selected device.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2167">6.15.3.6. grog</A></H3><P>grog reads files and guesses which of the groff options -e, -man, -me, -mm, -ms, -p, -s, and -t are required for printing files, and prints the groffcommand including those options on the standard output.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2170">6.15.3.7. grohtml</A></H3><P>grohtml translates the output of GNU troff to html</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2173">6.15.3.8. grolj4</A></H3><P>grolj4 is a driver for groff that produces output in PCL5 format suitable for an HP Laserjet 4 printer.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2176">6.15.3.9. grops</A></H3><P>grops translates the output of GNU troff to Postscript.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2179">6.15.3.10. grotty</A></H3><P>grotty translates the output of GNU troff into a form suitable for typewriter-like  devices.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2182">6.15.3.11. hpftodit</A></H3><P>hpftodit creates a font file for use with groff -Tlj4 from an  HPtagged font metric file.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2185">6.15.3.12. indxbib</A></H3><P>indxbib makes an inverted index for the bibliographic databases aspecified file for use with refer, lookbib, and lkbib.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2188">6.15.3.13. lkbib</A></H3><P>lkbib searches bibliographic databases for references that contain specified keys and prints any references found on the standard output.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2191">6.15.3.14. lookbib</A></H3><P>lookbib prints a prompt on the standard error (unless the standard input is not a terminal), reads from the standard input a line containing a set of keywords, searches the bibliographic databases in a specified file for  references containing those keywords, prints any references found on thestandard output, and repeats this process until the end of input.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2194">6.15.3.15. neqn</A></H3><P>The neqn script formats equations for ascii output.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2197">6.15.3.16. nroff</A></H3><P>The nroff script emulates the nroff command using groff.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2200">6.15.3.17. pfbtops</A></H3><P>pfbtops translates a Postscript font in .pfb format to ASCII.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2203">6.15.3.18. pic</A></H3><P>pic compiles descriptions of pictures embedded within troff or TeX input files into commands that are understood by TeX or  troff.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2206">6.15.3.19. psbb</A></H3><P>psbb reads a file which should be a Postscript document conforming to the Document Structuring conventions and looks for a %%BoundingBox comment.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2209">6.15.3.20. refer</A></H3><P>refer copies the contents of a file to the standard output, except that lines between .[ and .] are interpreted as citations, and lines between .R1 and  .R2  are  interpreted as commands about how citations are to be processed.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2212">6.15.3.21. soelim</A></H3><P>soelim reads files and replaces lines of the form <EM>.so file</EM> by  the  contents of<EM>file</EM>.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2217">6.15.3.22. tbl</A></H3><P>tbl compiles descriptions of tables embedded within troff input files into commands that are understood  by  troff.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2220">6.15.3.23. tfmtodit</A></H3><P>tfmtodit creates a font file for use with <TTCLASS="userinput"><B>groff-Tdvi</B></TT></P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2224">6.15.3.24. troff</A></H3><P>troff is highly compatible with Unix troff. Usually it should be invoked using the groff command, which will also run preprocessors and post-processors in the appropriate order and with the appropriate options.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2227">6.15.4. Dependencies</A></H2><P>Groff-1.17.2 needs the following to be installed:</P><PCLASS="literallayout"><br>sh&nbsp;from&nbsp;the&nbsp;bash&nbsp;package<br><br>ar&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br>as&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br>ld&nbsp;from&nbsp;the&nbsp;binutils&nbsp;package<br><br>bison&nbsp;from&nbsp;the&nbsp;bison&nbsp;package<br>yacc&nbsp;from&nbsp;the&nbsp;bison&nbsp;package<br><br>cmp&nbsp;from&nbsp;the&nbsp;diffutils&nbsp;package<br><br>chmod&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>cp&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>ls&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mkdir&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mv&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>rm&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br><br>cc&nbsp;from&nbsp;the&nbsp;gcc&nbsp;package<br>c++&nbsp;from&nbsp;the&nbsp;gcc&nbsp;package<br><br>egrep&nbsp;from&nbsp;the&nbsp;grep&nbsp;package<br>grep&nbsp;from&nbsp;the&nbsp;grep&nbsp;package<br><br>make&nbsp;from&nbsp;the&nbsp;make&nbsp;package<br><br>awk&nbsp;from&nbsp;the&nbsp;mawk&nbsp;package<br><br>sed&nbsp;from&nbsp;the&nbsp;sed&nbsp;package<br><br>basename&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>date&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>echo&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>expr&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>uname&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br><br>cat&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br>touch&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>tr&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/less.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/man.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Less-358</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Man-1.5j</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -