[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Hanging paragraphs in MM
From: |
Mike Bianchi |
Subject: |
Re: [Groff] Hanging paragraphs in MM |
Date: |
Tue, 1 Jun 2010 08:01:10 -0400 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Tue, Jun 01, 2010 at 02:19:17PM +0400, Anton Shepelev wrote:
> I often need to typeset single hanging paragraphs
> like:
>
> PS: Example of a post-scriptum, it has a hanging
> indent.
>
> I have created a macro for this, which
>
> 1. Calculates the length of the label and
> increments it by one,
>
> 2. Begins a variable-item list (MM's .VL) with
> the calculated indent,
>
> 3. Typesets the desired paragraph as one list
> item (MM'c .LI),
>
> 4. Ends the list (MM's .LE).
>
> But to use it, I have to pass both label and text
> as macro parameters, while I'd like to pass only
> the label and have the text on the next input line
> (like it is done in MAN's .TP macro, for example).
>
> Could you please suggest a way of doing it? Maybe
> I better emulate it using groff's requests (and
> take care not to meddle with MM's inner logic)?
Anton,
Could you just use \ to continue the macro onto your next line?
.MyMacro FirstArg \
All the text that is processed by MyMacro FirstArg follows.
.MyMacro FirstArg \
All the text that is processed by MyMacro FirstArg follows and \
in the case of a lot of text \
multiple lines.
--
Mike Bianchi
- [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 <=
- 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