groff
[Top][All Lists]
Advanced

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

[Groff] indentation with macro ends


From: Bernd Warken
Subject: [Groff] indentation with macro ends
Date: Sun, 21 Oct 2001 01:12:57 +0200
User-agent: Mutt/1.2.5i

groff allows to indent every request/macro call as long as the leading
. stays at position 1 of the line.  Morevover, it is possible to define
a macro within a macro definition (it takes the arguments from the
parent definition).  Unfortunately the ending tag cannot be indented.

Example:

.de outer end_of_outer
.  if 1 This request call is indented
.  br
.  de inner end_of_inner
.    if 1 This call is also indented
.    br
.end_of_inner
.  if 1 The line above cannot be indented
.end_of_outer

I did not find the place in the source where this can be fixed, tho that
might be easily done.

reply via email to

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