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-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 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
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 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-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 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