a bilingual English/French groff document (was: an observation and proposal about hyphenation codes)

2024-08-09 Thread G. Branden Robinson
Hi Sigfrid, At 2024-08-07T10:30:59+0200, Sigfrid Lundberg wrote: > I have strong feelings when it comes to multilinguality. A background: > I have a pre-retirement background in giving support to research in > arts and humanities. Occasionally I have had the opportunity to use > groff for that. T

Re: an observation and proposal about hyphenation codes

2024-08-07 Thread Sigfrid Lundberg
Dear Branden and all others, I have strong feelings when it comes to multilinguality. A background: I have a pre-retirement background in giving support to research in arts and humanities. Occasionally I have had the opportunity to use groff for that. The PDF catalogue of St Laurentius Digital Man

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread Dave Kemper
On Tue, Aug 6, 2024 at 3:53 PM G. Branden Robinson wrote: > At 2024-08-06T15:28:25-0500, Dave Kemper wrote: > > That will solve the problem for English. Are there other language > > files that will need it? > > Every other groff localization file for a Western language -- almost -- > `mso`s an en

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread G. Branden Robinson
Hi Dave, At 2024-08-06T15:28:25-0500, Dave Kemper wrote: > On Tue, Aug 6, 2024 at 1:34 PM G. Branden Robinson > wrote: > > The hyphenation language (`.hla`) and hyphenation mode (`.hy`) are > > the same for these two scenarios. > > Yes, sloppy wording on my part. By "default hyphenation" I mean

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread Dave Kemper
On Tue, Aug 6, 2024 at 1:34 PM G. Branden Robinson wrote: > At 2024-08-06T12:08:29-0500, Dave Kemper wrote: > > This is the only line in your test file output before any .hcode > > requests were run, so this shows the default hyphenation for the > > system. > > Well, kind of. The hyphenation lang

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread G. Branden Robinson
Hi Dave, At 2024-08-06T12:08:29-0500, Dave Kemper wrote: > On Tue, Aug 6, 2024 at 9:48 AM G. Branden Robinson > I'm [...]certain it has to do with when latin1.tmac is loaded and when > it isn't. > > $ echo ".tm Hi, I'm latin1.tmac!" >> tmac/latin1.tmac > $ groff-latest -a < /dev/null > $ groff-la

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread Dave Kemper
On Tue, Aug 6, 2024 at 9:48 AM G. Branden Robinson wrote: > I'm thinking this has more to do with line length handling than > hyphenation; `-ww` before `-Wbreak` might have helped. I'm half-certain it has to do with when latin1.tmac is loaded and when it isn't. $ echo ".tm Hi, I'm latin1.tmac!"

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread G. Branden Robinson
At 2024-08-06T08:41:49-0500, Dave Kemper wrote: > On Wed, Jul 31, 2024 at 11:51 PM Werner LEMBERG wrote: > > > However, in the meantime, meaning for groff 1.24, I propose to move > > > `hcode` definitions to where they make more sense: the character set > > > macro files "koi8-r.tmac", "latin1.tma

Re: an observation and proposal about hyphenation codes

2024-08-06 Thread Dave Kemper
On Wed, Jul 31, 2024 at 11:51 PM Werner LEMBERG wrote: > > However, in the meantime, meaning for groff 1.24, I propose to move > > `hcode` definitions to where they make more sense: the character set > > macro files "koi8-r.tmac", "latin1.tmac", "latin2.tmac", and > > "latin9.tmac". (If/when I do

Re: an observation and proposal about hyphenation codes

2024-07-31 Thread Werner LEMBERG
> A fact I found noteworthy about how GNU troff actually sets up > hyphenation codes is that the equivalence classes it is designed to > support _are almost never used_ beyond lettercase coalescence.[1] Yes. As originally intended in TeX (and groff closely follows), the `.hcode` mechanism is use

an observation and proposal about hyphenation codes

2024-07-31 Thread G. Branden Robinson
Hi folks, Dave and I have been discussing hyphenation codes extensively over the past few days; see recent bug-groff list traffic. There is much I am coming to understand about GNU troff's hyphenation system, and I've discovered a salient fact that no one has complained about (as far as I know),

introduction to groff en español (was: About hyphenation)

2023-08-26 Thread G. Branden Robinson
Hi Walter, At 2023-08-26T12:42:06+0200, Walter Alejandro Iglesias wrote: > Recently I found some groff manual written in Spanish (standalone, not > a translation of the groff manual in English) I followed your link and found it here: https://cartaslinux.files.wordpress.com/2016/12/manual_groff.p

About hyphenation

2023-08-26 Thread Walter Alejandro Iglesias
Hi everyone, Recently I found some groff manual written in Spanish (standalone, not a translation of the groff manual in English) the author had the idea of generating a list of words with the .hw request with a script. I tried this method and I got a better hyphenation than reading the patterns