groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] -me macro bug in centered block behavior?


From: Dave Kemper
Subject: Re: [Groff] -me macro bug in centered block behavior?
Date: Sat, 3 Dec 2011 02:08:16 -0600

On Thu, Dec 1, 2011 at 2:29 AM, Werner LEMBERG <address@hidden> wrote:
> Sorry for answering with such a delay.

No worries; I wasn't actually expecting any action on it until I'd gotten
around to submitting it to bug-groff.

>> 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 :-)

A simple test case that illustrates what Tadziu is talking about can be
made by taking my original test and duplicating the "This is a centered
block" line several more times, so that the text in the centered block
must be wrapped.

What I notice about this is that .(c appears to be using a different (and
non-obvious) definition of "center."  By default, -me uses an environment
with a 1" left margin and a 1.5" right margin, so regular paragraphs
are not actually centered on the page.  The modified test case has the
"centered block" text centered on the page, but this results in it NOT
being centered with respect to the surrounding text.

This is likely a side effect of the bug in -me's handling of .ll, which
I emailed to bug-groff a few months ago.  (I never got a reply to this
bug report, and haven't followed up till now, so I don't know what the
status of that is.  I presume there's no bug tracking tool where one
can check the status of groff bugs?)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]