[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Treatment of annotation paragraphs in refer
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Treatment of annotation paragraphs in refer |
Date: |
Tue, 20 Jun 2006 08:04:51 +0200 (CEST) |
> However, refer turns the annotation text into one long string
> defined using the .ds command and all troff commands are lost; e.g.,
>
> %X First paragraph of annnotation.
> .LP
> Second paragraph of annotation.
>
> Is translated by refer into:
>
> .ds [X First paragraph of annnotation. .LP Second paragraph of annotation.
Maybe the following macro helps:
.de XX
. while \\n[.$] \{\
. nop \\$1
. shift
. \}
..
For example, the line
.XX \*([X
gets expanded as
First
paragraph
of
annotation.
.LP
Second
paragraph
of annotation.
I'm not a user of refer, so I can't give more specific help.
Werner