Changeset fa21b3d for chapter06/groff.xml
- Timestamp:
- 01/06/2006 01:59:08 AM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- abf1f62
- Parents:
- 60e34b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/groff.xml
r60e34b5 rfa21b3d 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.