Changeset 46a2e9c for chapter06/groff.xml
- Timestamp:
- 01/06/2006 02:59:05 AM (18 years ago)
- Children:
- e1ca33a
- Parents:
- 1714f1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/groff.xml
r1714f1a r46a2e9c 29 29 <title>Installation of Groff</title> 30 30 31 <para>Apply the patch that adds the <quote>ascii8</quote> and 32 <quote>nippon</quote> devices to Groff:</para> 33 34 <screen><userinput>zcat ../&groff-debian-patch; | patch -Np1</userinput></screen> 35 36 <note><para>These devices are used by Man-DB when formatting non-English manual 37 pages that are not in the ISO-8859-1 encoding. Currently, there is no working 38 patch for Groff-1.19.x that adds this functionality. 39 <!-- Details: http://bugs.debian.org/196762 --> 40 </para></note> 41 42 <para>Many screen fonts don't have Unicode single quotes and dashes in them. 43 Tell Groff to use the ASCII equivalents instead:</para> 44 45 <screen><userinput>sed -i -e 's/2010/002D/' -e 's/2212/002D/' \ 46 -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto 47 </userinput></screen> 48 31 49 <para>Groff expects the environment variable <envar>PAGE</envar> 32 50 to contain the default paper size. For users in the United States, 33 51 <parameter>PAGE=letter</parameter> is appropriate. Elsewhere, 34 <parameter>PAGE=A4</parameter> may be more suitable.</para> 52 <parameter>PAGE=A4</parameter> may be more suitable. 53 While the default paper size is configured during compilation, it can be 54 overridden later by echoing either <quote>A4</quote> or <quote>letter</quote> 55 to the <filename>/etc/papersize</filename> file.</para> 35 56 36 57 <para>Prepare Groff for compilation:</para> 37 58 38 <screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr </userinput></screen>59 <screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr --enable-multibyte</userinput></screen> 39 60 40 61 <para>Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.