[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] underlining
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] underlining |
Date: |
Tue, 08 Jul 2014 11:11:10 +0100 |
Hi Peter,
> Have a look at om.tmac, the macro definition '.de ul*ps'.
http://git.savannah.gnu.org/cgit/groff.git/tree/contrib/mom/om.tmac#n175
OK, so it takes the normal grops definitions, e.g.
/Q{moveto show}bind def
and replaces them with its own,
/Q { moveto X show Y } def
where X saves the current place on the page and Y draws a line from
there to the new, post-show, place. (Q can't bind the definition since
X and Y switch definitions between doing nothing and drawing the line.)
One thought, if grops grows some more definitions, it might hit X as
it's currently up to T. Perhaps grops should declare a prefix it won't
use that's available for the user?
Cheers, Ralph.
- [Groff] underlining, Bernd Warken, 2014/07/07
- Re: [Groff] underlining, Carsten Kunze, 2014/07/07
- Re: [Groff] underlining, Ralph Corderoy, 2014/07/08
- Re: [Groff] underlining, Tadziu Hoffmann, 2014/07/10
- Re: [Groff] underlining, Ralph Corderoy, 2014/07/12
- Re: [Groff] underlining, Mike Bianchi, 2014/07/12
- Re: [Groff] underlining, Carsten Kunze, 2014/07/11
- Re: [Groff] underlining, Peter Schaffter, 2014/07/07
- Re: [Groff] underlining, Ralph Corderoy, 2014/07/08
- Re: [Groff] underlining, Carsten Kunze, 2014/07/08
- Re: [Groff] underlining, Mike Bianchi, 2014/07/08