bug-groff
[Top][All Lists]
Advanced

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

Two line length-related bugs in the -me macro set


From: Dave Kemper
Subject: Two line length-related bugs in the -me macro set
Date: Fri, 27 May 2011 17:59:02 -0500

I'm using groff 1.21, with a patch to the -me macros that Werner Lemberg
sent to me on February 15 (fixing some string definitions which should
have no bearing on this bug).

1. The following input file:

The quick brown fox
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
.ev foo
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
.ev
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which
jumped over a quick brown fox which...

produces the expected output (with all lines of equal length) when using
basic groff, but changes line length in the foo environment when using
the -me macro set.  There is nothing in the meref.me documentation that
leads me to believe this is expected behavior, so I presume it's a bug.

2. meref.me documents that the .ll macro sets the line length across all
environments, but it does not work this way.  In particular, if you add
".ll 4i" to the beginning of the sample file above, the line length
still changes when switching environments.

It's possible, of course, that the first bug is a side effect of the
second.  There is a ".ll 6.0i" line near the end of e.tmac which, were
it working as documented, might fix bug 1.  (The -me output in bug 1
looks to me like the line length is going back to the groff default of
6.5i when entering foo.)



reply via email to

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