On 14.03.25 11:06, Robert Goulding wrote:

> A display (introduced by .LD) needs a closing .DE macro. And I would also

> close a heading macro with a paragraphing macro. Yes, your method may get

> visually the right results, but it may be unpredictable, since some

> housekeeping behind the scenes is done by the paragraph and display-end

> macros.

>

> I would write:

... <example elided>

> That looks more normal to me. Maybe it's overkill (though you really

> *should* use .DE; .LD is *not *a paragraphing macros, but a macro to open a

> block, which needs to be closed properly). But it works, predictably.

Many thanks, Robert, for both example and reasoning. They provide me a quantum 
step in understanding, not easily found in the broad bottom-up presentation of 
a typical manpage styled document.

Your "But it works, predictably." is the clincher. I've already shown a 
facility for triggering unpredictability, and it's seriously unproductive.

I'll re-read the manual section, for the bits I missed. Stopping when it looks 
good enough, isn't always good enough in the long term, then.

Once a bit of groff thinking has been acquired, absorbing more has something 
compatible to adhere to, I figure. (I found that when learning postscript, and 
other stuff.)

Thanks again.

Erik
  • Solved Re: Grof... dvalin--- via GNU roff typesetting system discussion
    • Re: Solved... Robert Goulding via GNU roff typesetting system discussion
    • Re: Solved... dvalin--- via GNU roff typesetting system discussion
    • Re: Solved... dvalin--- via GNU roff typesetting system discussion

Reply via email to