Re: mechanism to inhibit adding new hyphens to hyphenated words?

2020-08-18 Thread John Gardner
> See CSTR 54, ยง13. https://troff.org/54.pdf Or better yet, https://troff.org/54.pdf#page=25 This should link directly to page 25 in PDF-savvy browsers (named destinations can also be deep-linked in such a fashion, although this requires knowledge of the anchor's internal ID, which is usually ob

Re: mechanism to inhibit adding new hyphens to hyphenated words?

2020-08-18 Thread Dave Kemper
> Or do you want hyphenation on elsewhere? Yes, "peculiar" or "looking" by themselves should be eligible to be split midword, but the combination "peculiar-looking" should be split only at the existing hyphen, else the break is, well, peculiar-looking.

Re: mechanism to inhibit adding new hyphens to hyphenated words?

2020-08-18 Thread Ralph Corderoy
Hi Dave, > - preserves the breakability at the hyphen already in the word (\% > inhibits this) > - doesn't require locating and adorning every such word in the > document Turn hyphenation off? $ nroff .hy 0 .pl 4 .ll 18n I I peculiar-looking .br I I \%peculiar-looking

Re: mechanism to inhibit adding new hyphens to hyphenated words?

2020-08-18 Thread Dave Kemper
Hi Ralph, Thanks for the idea, and sorry for the vagueness in the problem description. I'm looking for something that - preserves the breakability at the hyphen already in the word (\% inhibits this) - doesn't require locating and adorning every such word in the document While the latter prob

Re: mechanism to inhibit adding new hyphens to hyphenated words?

2020-08-18 Thread Ralph Corderoy
Hi Dave, > pecu- > liar-looking > > peculiar-look- > ing > > This is subpar style, and I'd like to know if there's a way to tell > groff not to add hyphens to words already containing hyphens, without > inhibiting hyphenation of all other words. Yes, prefix the word with `\%'. $ nroff .p

mechanism to inhibit adding new hyphens to hyphenated words?

2020-08-17 Thread Dave Kemper
Hi, If hyphenation is enabled, groff will split a line and add a hyphen to a word that already contains a hyphen. The compound adjective "peculiar-looking," for example, might get split as pecu- liar-looking peculiar-look- ing This is subpar style, and I'd like to know if there's a way to tell