Re: [groff] seeking fixed-width breakable space

2019-03-01 Thread Tadziu Hoffmann
> [...] it would create a nonbreaking space and then a > breakpoint, which would result in that space appearing at > the end of the line, which would misalign the right margin > in fully justified text. I'm looking for a fixed-width > space that can be *replaced* by a line break (the typical >

Re: [groff] seeking fixed-width breakable space

2019-03-01 Thread Dave Kemper
On 2/22/19, Dale Snell wrote: > you should be able to do something like "mrphl\|\:blrphl" and the two words > should be separated by a thinspace that can break. Hi Dale, Thank you for the idea. If that did work (and with limited testing I haven't been able to get it to), it would create a nonbr

Re: [groff] seeking fixed-width breakable space

2019-02-26 Thread Ralph Corderoy
Hi Dale, > You might try using "\:", which is a zero-width break point, similar > to "\%", except that it doesn't have the hyphen. I have not tested > this, but you should be able to do something like "mrphl\|\:blrphl" > and the two words should be separated by a thinspace that can break. > At le

Re: [groff] seeking fixed-width breakable space

2019-02-22 Thread Dale Snell
You might try using "\:", which is a zero-width break point, similar to "\%", except that it doesn't have the hyphen. I have not tested this, but you should be able to do something like "mrphl\|\:blrphl" and the two words should be separated by a thinspace that can break. At least, I think it sho

Re: [groff] seeking fixed-width breakable space

2019-02-22 Thread Dave Kemper
On 2/22/19, Dave Kemper wrote: > On 2/21/19, G. Branden Robinson wrote: >> Will the digit space (\0) do? > > It would if it were breakable. ...though this brings up a good point, that the documentation should probably be amended to explicitly state that \0, \|, and \^ are unbreakable. I had to

Re: [groff] seeking fixed-width breakable space

2019-02-21 Thread Dave Kemper
On 2/21/19, G. Branden Robinson wrote: > At 2019-02-21T19:40:18-0600, Dave Kemper wrote: >> As far as I can determine, groff does not offer a fixed-width, >> breakable space. > > Will the digit space (\0) do? It would if it were breakable. printf '.ll 1c\na b c d e f g\n' | groff -a printf '.ll

Re: [groff] seeking fixed-width breakable space

2019-02-21 Thread G. Branden Robinson
At 2019-02-21T19:40:18-0600, Dave Kemper wrote: > Space characters have two different, independent attributes: > > 1. They can have a fixed width, or they can stretch for line adjustments. > 2. They can be breakable or unbreakable. > > This results in four different types of spaces: > - stretcha

[groff] seeking fixed-width breakable space

2019-02-21 Thread Dave Kemper
Space characters have two different, independent attributes: 1. They can have a fixed width, or they can stretch for line adjustments. 2. They can be breakable or unbreakable. This results in four different types of spaces: - stretchable breakable (a normal space in groff) - stretchable unbreak