[Top][All Lists]

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

Re: [Groff] Spanish hyphenation

From: Werner LEMBERG
Subject: Re: [Groff] Spanish hyphenation
Date: Thu, 07 Sep 2000 22:56:39 +0200 (CEST)

> It seems to me that the TeX-hyphenation files work without any
> changes also in Groff; at least the Dutch hyphenation files work for
> me.  Just use the commands .hla for choosing the language and .hpf
> for the hyphenation file; e.g. I do simply
> .hla dutch
> .hpf nehyph96.tex
> where nehyph96.tex is located in groff/tmac.

This will fail for all patterns which contain TeX characters defined
as `^^xx' since gtroff will interpret this literally.  Note that
gtroff's capabilities to scan hyphenation patterns are very limited.
For example, in the German hyphenation patterns, macros are used in
the \patterns command!  gtroff can't handle this at all.  Everything
which doesn't start with a `%' sign will be treated as a valid pattern
(even including `\patterns{', and `}').

To make TeX hyphenation patterns work with gtroff, replace all `^^xx'
with real 8bit characters, resolve all macros in the \patterns group,
and remove everything but the patterns themselves (and comments).  Of
course, don't forget to properly set up `.hcode' (in gtroff).

> By the way, the only file with Spanish hyphenation patters I could
> find in my TeX-distribution, is called eshyph.tex, not sphyph.tex.

eshyph.tex and sphyph.tex are the same files; I think.


reply via email to

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