Re: [Groff] Underlining, again

2010-09-20 Thread Peter Schaffter
On Mon, Sep 20, 2010, Werner Lemberg wrote: > > Werner, I can't provide a small example to demonstrate the "blank > > page at the end of a diversion" anomaly I posted about earlier, only > > a big, unwieldy one. Aside from having to post several (long) mom > > macros that are modified versions of

Re: [Groff] Underlining, again

2010-09-20 Thread Werner LEMBERG
> Werner, I can't provide a small example to demonstrate the "blank > page at the end of a diversion" anomaly I posted about earlier, only > a big, unwieldy one. Aside from having to post several (long) mom > macros that are modified versions of what's in the cvs, I'd have to > include a refer dat

Re: [Groff] Underlining, again

2010-09-20 Thread Peter Schaffter
On Mon, Sep 20, 2010, Tadziu Hoffmann wrote: > > > As to changing fonts while underlining, it's hard to imagine > > a situation in which it's likely to happen. Underlining > > should at best be an occasional effect, IMHO. Still, > > one likes to have solutions that cover every possibility. > >

Re: [Groff] Underlining, again

2010-09-20 Thread Tadziu Hoffmann
> As to changing fonts while underlining, it's hard to imagine > a situation in which it's likely to happen. Underlining > should at best be an occasional effect, IMHO. Still, > one likes to have solutions that cover every possibility. Well, for editorial purposes it's sometimes useful to mark

Re: [Groff] Underlining, again

2010-09-14 Thread Peter Schaffter
On Tue, Sep 14, 2010, Tadziu Hoffmann wrote: > > > The only hitch I've encountered is that if the sentence spacing is > > greater than the groff default, the underline gets broken between > > sentences. > > Yes, also if you switch to, e.g., bold while in underline mode. > In fact, in anything whi

Re: [Groff] Underlining, again

2010-09-14 Thread Tadziu Hoffmann
> The only hitch I've encountered is that if the sentence spacing is > greater than the groff default, the underline gets broken between > sentences. Yes, also if you switch to, e.g., bold while in underline mode. In fact, in anything which isn't printed with a single "show" (or one of its varian

Re: [Groff] Underlining, again

2010-09-12 Thread Peter Schaffter
On Mon, Sep 13, 2010, Werner Lemberg wrote: > > > If you're satisfied with a solution that works *only* with the > > postscript device, then this can be achieved with device-control > > escapes. Here's something to play around with. It redefines[*] > > grops's basic text-printing functions to me

Re: [Groff] Underlining, again

2010-09-12 Thread Werner LEMBERG
> If you're satisfied with a solution that works *only* with the > postscript device, then this can be achieved with device-control > escapes. Here's something to play around with. It redefines[*] > grops's basic text-printing functions to memorize the position at > the start of a piece of text

Re: [Groff] Underlining, again

2010-09-12 Thread Larry Kollar
Mike Bianchi wrote: > On Fri, Sep 10, 2010 at 09:35:54PM +0100, Ted Harding wrote: >> : >> One has the feeling that one could reach out and grasp it, but it >> always seems to be just a few inches further away than the length >> of one's arm ... > > “Ah, but a man's reach should exceed his

Re: [Groff] Underlining, again

2010-09-10 Thread Peter Schaffter
On Sat, Sep 11, 2010, Tadziu Hoffmann wrote: > > > What's needed is a macro that can be called inline in arg > > 3 to start underlining, and another macro in arg 4 to stop > > underlining. Even if ul.tmac could be coerced into behaving > > this way (I've tussled with it, without success), it seem

Re: [Groff] Underlining, again

2010-09-10 Thread Peter Schaffter
On Fri, Sep 10, 2010, Ted Harding wrote: > I made a serious attempt myself some years ago to try to crack the > underlining problem. The basic issue, of course, is that .cu, or .ul, > as you say, simply switches to "underlined font" (which in general > is italic). > ... > One has the feeling that o

Re: [Groff] Underlining, again

2010-09-10 Thread Tadziu Hoffmann
> What's needed is a macro that can be called inline in arg > 3 to start underlining, and another macro in arg 4 to stop > underlining. Even if ul.tmac could be coerced into behaving > this way (I've tussled with it, without success), it seems > to me that the macros in ul.tmac are an awful lot o

Re: [Groff] Underlining, again

2010-09-10 Thread Mike Bianchi
On Fri, Sep 10, 2010 at 09:35:54PM +0100, Ted Harding wrote: > : > One has the feeling that one could reach out and grasp it, but it > always seems to be just a few inches further away than the length > of one's arm ... “Ah, but a man's reach should exceed his grasp, or what's a heaven for?”

RE: [Groff] Underlining, again

2010-09-10 Thread Ted Harding
On 10-Sep-10 18:51:22, Peter Schaffter wrote: > Can someone quickly remind me why .cu for the PostScript device > can't be made to behave like .cu when it's called for a TTY? In > other words, it underline glyphs and spaces rather than converting > text to italics? > > Werner's ul.tmac is really

[Groff] Underlining, again

2010-09-10 Thread Peter Schaffter
Can someone quickly remind me why .cu for the PostScript device can't be made to behave like .cu when it's called for a TTY? In other words, it underline glyphs and spaces rather than converting text to italics? Werner's ul.tmac is really clever, but I can't see how to get it to work in all the c