[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] explicit hyphen and numbers
From: |
Keith Marshall |
Subject: |
Re: [Groff] explicit hyphen and numbers |
Date: |
Thu, 10 Aug 2006 14:28:29 +0100 |
On Thursday 10 August 2006 1:37 pm, Larry Kollar wrote:
> Werner LEMBERG wrote:
> > Urs showed up an interesting problem in groff: A hyphen between two
> > numbers does *not* insert a breakpoint! To be more specific, the
> > .cflags values 2 and 4 of a character x are only active if the
> > characters before and after x both have non-zero hyphenation codes
> > (as set with the `hcode' request).
> >
> > Since it isn't possible to set the hcode value for numbers, things
> > like `200-400' are never hyphenated.
>
> Personally, I think that's a (good) feature. I'm sure someone will
> disagree. :-)
I won't! If I write a numeric range, such as `200-400', I *don't* want a
line break to occur within it.
Regards,
Keith.
Re: [Groff] explicit hyphen and numbers, Werner LEMBERG, 2006/08/11