groff
[Top][All Lists]
Advanced

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

Re: [Groff] Allowing user also to check if a line starts with horizontal


From: Dorai Sitaram
Subject: Re: [Groff] Allowing user also to check if a line starts with horizontal space
Date: Wed, 4 Feb 2009 05:02:33 -0800 (PST)

Yes, that would work.  Thus, the user defines a particular macro name to change 
the default effect of space-at-line-start (implicit .br), just like the user 
defines BLM to change the default effect of empty-line (implicit .sp).

--d



________________________________
From: Werner LEMBERG <address@hidden>
To: address@hidden
Cc: address@hidden
Sent: Tuesday, February 3, 2009 5:52:37 PM
Subject: Re: [Groff] Allowing user also to check if a line starts with 
horizontal space


> groff can tell if an input line starts with horizontal space, and
> inserts a line break.  Is it possible to give the capability that
> checks this to the user also?  It will make it possible to write
> interesting macros...

You mean a `spaces-at-line-start' macro, similar to the
empty-line-macro?


    Werner



      


reply via email to

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