groff
[Top][All Lists]
Advanced

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

Re: [Groff] indentation with macro ends


From: Werner LEMBERG
Subject: Re: [Groff] indentation with macro ends
Date: Mon, 22 Oct 2001 22:25:21 +0200 (CEST)

> > 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.
> > 
> The following patch fixes the indentation of ending tags.  It is
> relative to <groff_source>/src/roff/troff
> 
> +     while( (d = get_copy(&n)) == ' ' )
> +       {}

This isn't sufficient, I think.  \t is valid also, isn't it?


    Werner

reply via email to

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