> Could you provide a patch which I can directly apply to the
> groff CVS?

Attached.  Log message should probably include something to
the effect of "make .bl work inside blocks" or so.


By the way, I've also figured out why the centering of wide
blocks in the "me" macros does not work correctly: the macros
change the line width to 6.0 inches, but the indent for blocks
is computed in environment 1 which retains the default line
width of 6.5 inches. Thus, blocks get formatted to a width
of 6 inches but are printed with an indent of .25 inches and
thus stick out at the right. (I had originally thought that
the indent was intentional (and we should therefore reduce
the line width), but this appears not to be the case.)


--- e.tmac.orig	2012-01-23 19:25:54.000000000 +0100
+++ e.tmac	2012-01-23 22:32:07.000000000 +0100
@@ -511,9 +511,14 @@
 .
 .de bl			\" *** contiguous blank lines
 .br
+.@s \\$1
+.sp \\$1
+..
+.
+.de @s			\" --- diversion-surviving space test
 .ne \\$1
 .rs
-.sp \\$1
+.if !'\\n(.z'' \!.@s \\$1
 ..
 .
 .de n1			\" *** line numbering 1

Reply via email to