Ignore:
Timestamp:
01/06/2006 02:59:05 AM (18 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
e1ca33a
Parents:
1714f1a
Message:

Merged recent changes from trunk to lfs-alpha. Fixed typo.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/groff.xml

    r1714f1a r46a2e9c  
    2929<title>Installation of Groff</title>
    3030
     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
     37pages that are not in the ISO-8859-1 encoding. Currently, there is no working
     38patch 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.
     43Tell 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
    3149<para>Groff expects the environment variable <envar>PAGE</envar>
    3250to contain the default paper size. For users in the United States,
    3351<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.
     53While the default paper size is configured during compilation, it can be
     54overridden later by echoing either <quote>A4</quote> or <quote>letter</quote>
     55to the <filename>/etc/papersize</filename> file.</para>
    3556
    3657<para>Prepare Groff for compilation:</para>
    3758
    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>
    3960
    4061<para>Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.