groff
[Top][All Lists]
Advanced

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

Re: [Groff] underlining in nroff


From: Werner LEMBERG
Subject: Re: [Groff] underlining in nroff
Date: Thu, 29 Mar 2001 19:11:12 +0200 (CEST)

> > . It seems to me that with the current ditroff output language,
> >   the difference between .ul and .cu can't be implemented in a
> >   straightforward manner.  The only solution with the current
> >   protocol is, for .ul, to switch back the font to \fR for all
> >   spaces so that space characters aren't underlined.  Or is there
> >   another solution?  Can someone please check the ditroff output
> >   how the difference is implemented?
> 
> I don't have a running system to check.  From the source it appears
> that .cu is identical to .ul except that a variable `cu' is
> incremented for later parts of the code to check.  The pertinent
> place seems to be where the input character, if translated into
> something resembling a space, is forced into being an underscore
> character in the default font.

Thanks for looking.  So it seems indeed to be an omission in the
ditroff output language, working only because nroff is not a separate
output device.


    Werner

reply via email to

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