[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Hanging paragraphs in MM

From: Anton Shepelev
Subject: Re: [Groff] Hanging paragraphs in MM
Date: Wed, 2 Jun 2010 23:44:42 +0400

Tadziu Hoffmann:

>> 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?
> I don't think you can do it with just one macro if you don't
> want to give the whole paragraph text as a macro argument.
> (How is the code to know when the indent should be over?)
> But, as you suggested, you can implicitly reset the indent
> when a "normal" paragraph is started.  I don't think mm has
> a hook for this, but you can "wrap" mm's paragraph macro with
> additional code: <...>

Thank  you, Tadziu. I understood your example. Now
I am prying into the  implementation  of  the  .TP
macro in MAN...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]