Tagging 1.99.1
[linux_from_scratch.git] / BOOK / chapter06 / groff.xml
blob3722ba2390364f1c3761b8a4a893bc4b8809dc1a
1 <sect1 id="ch-system-groff" xreflabel="Groff">
2 <title>Installing Groff-&groff-version;</title>
3 <?dbhtml filename="groff.html" dir="chapter06"?>
5 <para>The Groff package contains programs for processing and formatting text.</para>
7 <screen>&buildtime; &groff-time;
8 &diskspace; &groff-compsize;</screen>
10 &aa-groff-down;
11 &aa-groff-dep;
13 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
15 <sect2>
16 <title>Installation of Groff</title>
18 <para>Groff expects the environment variable PAGE to contain the default paper
19 size. For those in the United States, the command below is appropriate. If you
20 live elsewhere, you may want to change <emphasis>PAGE=letter</emphasis> to
21 <emphasis>PAGE=A4</emphasis>.</para>
23 <para>Prepare Groff for compilation:</para>
25 <screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen>
27 <para>Compile the package:</para>
29 <screen><userinput>make</userinput></screen>
31 <para>And install it:</para>
33 <screen><userinput>make install</userinput></screen>
35 <para>Some documentation programs, such as <command>xman</command>,
36 will not work properly without the following symlinks:</para>
38 <screen><userinput>ln -s soelim /usr/bin/zsoelim
39 ln -s eqn /usr/bin/geqn
40 ln -s tbl /usr/bin/gtbl</userinput></screen>
42 </sect2>
44 &aa-groff-shortdesc;
45 &aa-groff-desc;
47 </sect1>