[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Hanging paragraphs in MM
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Hanging paragraphs in MM |
Date: |
Wed, 02 Jun 2010 12:20:31 +0100 |
Hi Anton,
> I can manage a two-part macro like .(MyPS and .)MyPS, so I could
> reset the indent upon exit. But I don't know how to do it using only
> one macro. I probably have to 'subscribe' to some 'call-back' macro
> that gets called every time a paragraph (in groff's sense) ends. Does
> groff or MM have such a macro?
Are you aware of the .it request; input trap? `.it N xx' calls macro
xx after N lines of input have been read, excluding control and request
lines.
.de foo
Foo here.
..
.it 2 foo
Bar
here.
Cheers,
Ralph.
- [Groff] Hanging paragraphs in MM, Anton Shepelev, 2010/06/01
- RE: [Groff] Hanging paragraphs in MM, Ted Harding, 2010/06/01
- Re: [Groff] Hanging paragraphs in MM, Mike Bianchi, 2010/06/01
- Re: [Groff] Hanging paragraphs in MM, Anton Shepelev, 2010/06/01
- Re: [Groff] Hanging paragraphs in MM, Tadziu Hoffmann, 2010/06/02
- Re: [Groff] Hanging paragraphs in MM, Anton Shepelev, 2010/06/02
- Re: [Groff] Hanging paragraphs in MM, Tadziu Hoffmann, 2010/06/02
- Re: [Groff] Hanging paragraphs in MM, Anton Shepelev, 2010/06/03
- Re: [Groff] Hanging paragraphs in MM, Ralph Corderoy, 2010/06/03
- Re: [Groff] Hanging paragraphs in MM, Anton Shepelev, 2010/06/03
- Re: [Groff] Hanging paragraphs in MM, Anton Shepelev, 2010/06/03