[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] -me macro bug in centered block behavior?
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] -me macro bug in centered block behavior? |
Date: |
Thu, 01 Dec 2011 09:29:53 +0100 (CET) |
Sorry for answering with such a delay.
>> Is there any reason this should behave so differently (and
>> seemingly illogically) without that extra blank line in the source?
>
> I also think it's a bug (but then one that's been around a long
> time, at least since version 2.14 of tmac.e from 1981).
>
> Anyhow, the fix is simple: put a ".br" just before the beginning of
> the diversion in the definition of "(c" and everything should be
> fine (note that according to the documentation, "(c" should not by
> itself add any vertical space).
Fixed in CVS.
> But I notice another bug: if the block contains more text than can
> fit on one line, the text is line-wrapped with the current line
> width, but output indented, so it sticks out at the right. It would
> look much nicer if the line width of the block were reduced by twice
> the indent.
Please provide a test case and a patch, if you like to work on it :-)
Werner
- Re: [Groff] -me macro bug in centered block behavior?,
Werner LEMBERG <=