At 2025-01-28T18:35:25-0600, Dave Kemper wrote:
> On Tue, Jan 21, 2025 at 8:11 AM onf <o...@disroot.org> wrote:
> > I think groff would benefit from neatroff's hydash request:
> >   hydash CHARS
> >     Specify the list of characters after which words may be broken
> >     (even when hyphenation is disabled) without inserting hyphens.
> 
> Sounds like a prime candidate to file as a savannah wishlist ticket.

The feature may already exist.

Hyphenation doesn't apply to East Asian scripts, but breaking does.

$ info '(groff)Using Symbols'
...
     The remaining values were implemented for East Asian language
     support; those who use alphabetic scripts exclusively can disregard
     them.

     '128'
          Prohibit a line break before the character, but allow a line
          break after the character.  This works only in combination
          with flags 256 and 512 and has no effect otherwise.
          Initially, no characters have this property.

     '256'
          Prohibit a line break after the character, but allow a line
          break before the character.  This works only in combination
          with flags 128 and 512 and has no effect otherwise.
          Initially, no characters have this property.

     '512'
          Allow line break before or after the character.  This works
          only in combination with flags 128 and 256 and has no effect
          otherwise.  Initially, no characters have this property.

     In contrast to values 2 and 4, the values 128, 256, and 512 work
     pairwise.  If, for example, the left character has value 512, and
     the right character 128, no break will be automatically inserted
     between them.  If we use value 6 instead for the left character, a
     break after the character can't be suppressed since the neighboring
     character on the right doesn't get examined.
...

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to