Werner LEMBERG <[email protected]> wrote: > No time to dig into this issue. If you provide a patch, I'm gladly > applying it.
The macro misc@tag is solely used for HTML output (currently). It causes the
problem in this case (the line \h'\\n[misc*.k]u'\c). I suggest to enable this
macro only in HTML mode to avoid any unwanted side effect for other kinds of
output.
This may not fix it for HTML mode but HTML support in MM is very rudimentary
and needs work anyway.
The line .if r misc*ti \{ I would not fix since I don't know if it does by
intention not have a trailing '\'. Again--this is relevant for HTML output
only and this needs additional work anyway.
I suggest the following patch (also attached as a file to avoid white space
modification). Damian--could you please test it? I did test it but it would
not hurt to cross check it.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 09cc03b..39bc4ef 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -736,6 +736,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
.\" Wrapper to cancel the side effect of .tag + .br generating
.\" unwanted vertical space.
.de misc@tag
+.if '\*[.T]'html' \{\
.\" retain temporary indentation and horizontal position
.if !(\\n[.in]-\\n[.i]=0) .nr misc*ti \\n[.in]
.nr misc*.k \\n[.k]
@@ -751,6 +752,7 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
\h'\\n[misc*.k]u'\c
.rr misc*.k
.vpt 1
+.\}
..
.\" ######## module pict #################
.nr pict*width 0
patch_contrib_mm_m_tmac.gz
Description: GNU Zip compressed data
