[Top][All Lists]

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

Re: [Groff] underlining in nroff

From: Larry Jones
Subject: Re: [Groff] underlining in nroff
Date: Thu, 29 Mar 2001 12:05:10 -0500 (EST)

Werner LEMBERG writes:
> . What is the default underlining mode if I select an `italic' font
>   (\fI) in nroff?  .ul or .cu?


> . 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 understand the question -- Unix nroff doesn't use the ditroff
language, only troff does; and troff interprets .ul and .cu identically
as a request for italics.  Ah, you're thinking about how to implement it
in groff!  One approach would be to never underline italic spaces (which
is what currently happens, right?) but to translate space to \(ul when
in .cu mode.

-Larry Jones

Hmph. -- Calvin

reply via email to

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