Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Carsten Kunze
Werner LEMBERG 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 avoi

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Werner LEMBERG
> Werner, is misc@tag really written by you? I no longer can remember. > Isn't it dangerous to use \c there? Wouldn't it be better to but a > "if HTML" around everything inside this macro? And also the \{ > (instead \{\) without a comment that this is intented doesn't look > trustworthy. No t

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Werner LEMBERG
> Without trying to complicate the discussion, I used > > .\" > > Not > \# > > The former is a pure comment. It does not enter into any processing. This is not correct. The escape `\"' strips everything to the end of the line but *not* the final newline. Consequently, .\" is

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
On Wed, 23 Dec 2015, Mike Bianchi wrote: On Wed, Dec 23, 2015 at 04:44:40PM +0100, Carsten Kunze wrote: Hello Mike, what do you mean here--Damian didn't use \#? Carsten His example was .H 2 "A Heading" .TS .\" some table of something . .TE or .H 2 "

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Carsten Kunze
Damian McGuckin wrote: > [...] I was after some words of wisdom or > more precisely, insight, from somebody who had used such a tool for longer > than I have. This is totally groff specific, AT&T roff didn't have this issue (and groff doesn't have it either if this HTML specific line is remove

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
On Wed, 23 Dec 2015, Carsten Kunze wrote: Damian McGuckin wrote: Or are my ideas too rooted in the past? Comments (Doug)? I think Doug is not to blame here :) I was not blaming Doug. Sorry Doug. I was after some words of wisdom or more precisely, insight, from somebody who had used such

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Carsten Kunze
Damian McGuckin wrote: > The use of \# looks like a fudge to fix a problem. Which sounds like a > recipe for disaster. Indeed :) > Or are my ideas too rooted in the past? Comments (Doug)? I think Doug is not to blame here :) Werner, is misc@tag really written by you? Isn't it dangerous to u

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Mike Bianchi
On Wed, Dec 23, 2015 at 04:44:40PM +0100, Carsten Kunze wrote: > Hello Mike, > > what do you mean here--Damian didn't use \#? > > Carsten His example was > .H 2 "A Heading" > .TS > .\" some table of something > . > .TE > or > .H 2 "Another Heading" >

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
On Wed, 23 Dec 2015, Carsten Kunze wrote: what do you mean here--Damian didn't use \#? The use of \# looks like a fudge to fix a problem. Which sounds like a recipe for disaster. Or are my ideas too rooted in the past? Comments (Doug)? Regards - Damian Pacific Engineering Systems Internat

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Carsten Kunze
Hello Mike, what do you mean here--Damian didn't use \#? Carsten

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Mike Bianchi
Damian, I find that \# works well outside of tables. .\# works well inside tables _AFTER_ the initial specification. >From man 7 groff ... \# Everything up to and including the next newline is ignored. This is interpreted in copy mode. T

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Carsten Kunze
Damian McGuckin wrote: > What is the real fix please? ... the .sp -1 and \c in misc@tag don't look reliable and depending on what follows may cause issues. This seems to be the case here. H adds space after the heading, with the .br at begin of DS that space gets fixed. Now DS of cause adds

[Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
Around August 2014, there was a discussion started by Blake McBride Problem with MM spacing I looks like Werner fixed something but I cannot exactly figure out what it was from that discussion. The problem I have could be related but it is subtly different. Let me know if I should r