groff
[Top][All Lists]
Advanced

[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: Tue, 19 Aug 2014 12:49:46 +0200 (CEST)

> I am wondering if anyone would have the spanish hyphenation pattern
> file hyphen.es or point me to where i would be able to find this
> file?

Use this one

  
https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-es.tex?revision=18607&view=co

and convert it to latin-1 with something like

  iconv -f utf-8 -t iso-8859-1 < hyph-es.tex > hyphen.es

Then create a file `es.tmac' (in latin-1 encoding!), using
e.g. `sv.tmac' as a model.  That's it.

> Some reference hyphen.es,

`hyphen.xx' is the naming convention of hyphenation patterns in groff,
yes.

> some reference eshyph.tex,

This is probably an old name of a Spanish TeX hyphenation patterns
file.  Today, it's called `hyph-es.tex' in TeXLive.

> and that the hyphenation file should be in the groff/tmac folder.

Since it's a local file, I would put it into local groff directory.
See the `groff_tmac' man page for possible locations so that you can
simply use `.mso'.

> I have downloaded eshyph.tex but this does not seem to work.

I don't know this file, but the above should work (not tested).
However, you have to actually *activate* the hyphenation patterns, and
that code you should put into a file `es.tmac' as described.  Later
on, you can either include the following line in your document

  .mso es.tmac

or adding

  -m es

on groff's command line.


    Werner



reply via email to

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