[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] The quest for a high-end typesetting system: A fewquestions
From: |
Jorgen Grahn |
Subject: |
Re: [Groff] The quest for a high-end typesetting system: A fewquestions |
Date: |
Thu, 10 Mar 2005 22:34:08 +0100 |
User-agent: |
Mutt/1.4.2.1i |
On Thu Mar 10 15:02:04 2005, address@hidden wrote:
> On Thu, Mar 10, 2005, Mats Broberg wrote:
...
> > 1: Language, how is that handled? Different languages need different
> > hyphenation files.
>
> Language-specific hyphenation is not implemented as a mom macro.
> The groff request, .hla <language>, is how to do it.
>
> You have to have a hyphenation pattern file for the requested
> language. Groff ships with US English only, but, as I understand
> it, the format of hyphenation files is identical to those used
> by TeX, so you should be able to grab what you need off the Web.
>
> Werner is certain to know more about this than I.
He does, but in the meanwhile I can offer this snippet from an all-Swedish
text of mine:
.hla sv
.hcode ä ä å å ö ö
.hcode Ä ä Å å Ö ö
.hcode é e
.\" use the swedish hyphenation rules which come with TeX
.\" (should probably not refer to it with an absolute path)
.hpf /usr/share/texmf/tex/generic/hyphen/sehyph.tex
... and as I understand, it you may use the .hla request to alternate between
different languagges.
I think that's the complete recipe for doing the best possible hyphenation
in a language where å, ä, ö are characters and é is a decorated e -- but
correct me if I'm wrong.
BR,
Jörgen
--
// Jörgen Grahn "Koka lopplummer, bada Ross, loppor borta."
\X/ <address@hidden> -- Jonas
- [Groff] The quest for a high-end typesetting system: A few questions, Mats Broberg, 2005/03/09
- Re: [Groff] The quest for a high-end typesetting system: A few questions, Peter Schaffter, 2005/03/09
- RE: [Groff] The quest for a high-end typesetting system: A fewquestions, Mats Broberg, 2005/03/10
- [Groff] mom: Some follow-up questions, Mats Broberg, 2005/03/11
- Re: [Groff] mom: Some follow-up questions, Peter Schaffter, 2005/03/11
- RE: [Groff] mom: Some follow-up questions, Mats Broberg, 2005/03/11
- Re: [Groff] mom: Some follow-up questions, Tadziu Hoffmann, 2005/03/11
- RE: [Groff] mom: Some follow-up questions, Mats Broberg, 2005/03/11
- Re: [Groff] mom: Some follow-up questions, Peter Schaffter, 2005/03/11
- Re: [Groff] mom: Some follow-up questions, Jon Snader, 2005/03/12
- Re: [Groff] mom: Some follow-up questions, Peter Schaffter, 2005/03/12