bug-groff
[Top][All Lists]
Advanced

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

Re: Bug Report


From: Werner LEMBERG
Subject: Re: Bug Report
Date: Wed, 29 Mar 2006 17:12:56 +0200 (CEST)

> Equation numbers are not justified within the right margin

This is fixed now.

> and only the last equation number is applied to an entire display
> block.

This is a feature.  I've documented it.  You can suppress the
insertion of additional vertical space between displays by setting
number register `Ds' to zero -- this has uncovered an further bug...


    Werner


======================================================================


--- m.tmac.old  2006-03-29 12:59:36.000000000 +0200
+++ m.tmac      2006-03-29 15:37:26.929467384 +0200
@@ -2078,6 +2078,11 @@
 .\"    there are less than half of the page left.
 .if \\n[ds*need] .ne \\n[ds*need]u
 .\"
+.\"    Print static display
+.nr ds*i \\n[Lsp]
+.if r Dsp .nr ds*i \\n[Dsp]
+.\"
+.if \\n[Ds] .sp \\n[ds*i]u
 .\" check if pending equation label
 address@hidden \\n[ds*need]
 'in \\n[ds*old-in]u
@@ -2089,11 +2094,6 @@
 .if \\n[ds*format]=5 'in (u;\\n[.l]-\\n[ds*width])
 .\" **********
 .\"
-.\"    Print static display
-.nr ds*i \\n[Lsp]
-.if r Dsp .nr ds*i \\n[Dsp]
-.\"
-.if \\n[Ds] .sp \\n[ds*i]u
 .ds*div!\\n[ds*snr]
 .if \\n[Ds] .sp \\n[ds*i]u
 .\"
@@ -2371,14 +2371,14 @@
 .if !'\\*[eq*label]'' \{\
 .      mk
 .      \" space down to middle of equation
-'      sp (u;\\$1/2)
+'      sp (u;(\\$1-1v)/2)
 .      ie (\\n[Eq]%2) \{\
 .              \"      label to the left
 \h'|0'\\*[eq*label]
 .      \}
 .      el \{\
 .              \"      label to the right
-\h'|\\n[.l]u'\\*[eq*label]
+\h'|\\n[.l]u-\w'\\*[eq*label]'u'\\*[eq*label]
 .      \}
 .      rt
 .\}




reply via email to

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