groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Hyphenation


From: Ralph Corderoy
Subject: Re: [Groff] Hyphenation
Date: Tue, 17 Apr 2001 23:39:53 +0100

Hi Thomas,

> How can you tell groff to use french hyphenation patterns ?  I use
> groff for everything and never cared about that (I was doing all by
> hand with .hw or \% )

Could a system-wide troffrc file be doing it for you?

>From troff(1):

    .hla lang
        Set  the  current  hyphenation  language  to  lang.
        Hyphenation   exceptions   specified  with  the  hw
        request and hyphenation patterns specified with the
        hpf  request  are  both associated with the current
        hyphenation language.  The hla request  is  usually
        invoked by the troffrc file.

    .hpf file
        Read  hyphenation  patterns from file; this will be
        searched for in the  same  way  that  tmac.name  is
        searched  for  when the -mname option is specified.
        It should have the same format as the  argument  to
        the \patterns primitive in TeX; the letters appear-
        ing in this file  are  interpreted  as  hyphenation
        codes.   A  % character in the patterns file intro-
        duces a comment that continues to the  end  of  the
        line.   The  set of hyphenation patterns is associ-
        ated with the  current  language  set  by  the  hla
        request.  The hpf request is usually invoked by the
        troffrc file.

There's more in the man page about it.


Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]