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 <[email protected]>
To: [email protected]
Cc: [email protected]
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