[Top][All Lists]

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

[Groff] Hanging paragraphs in MM

From: Anton Shepelev
Subject: [Groff] Hanging paragraphs in MM
Date: Tue, 01 Jun 2010 14:19:17 +0400

Hello, all

I  often need to typeset single hanging paragraphs

PS: Example of a post-scriptum, it has  a  hanging

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)?

Thanks in advance,

reply via email to

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