groff
[Top][All Lists]
Advanced

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

Re: [Groff] Underlining in groff


From: Werner LEMBERG
Subject: Re: [Groff] Underlining in groff
Date: Thu, 26 Aug 2010 15:18:06 +0200 (CEST)

[Talking about ul.tmac]

> The first problem I'm having is that I can't seem to avoid having
> spaces around my underlined material.  For example:
> 
> This word is
> .Underline underlined
> !
> 
> This will cause a space to appear between the word "underlined" and
> the "!"  Do you know of a way that I could avoid this?

You can't.  I've thus defined a new macro `Underline1' which handles
trailing punctuation.

> The second problem is that if the word-wrapping of a paragraph puts
> the underlined word as the first word on a new output line, the
> whole previous line gets underlined as well as the specified word.

Ah, this has escaped my tests.  Thanks for the report.  Attached is a
new version.  Not yet perfect, but...


    Werner

Attachment: ul-1.4.tar.gz
Description: Binary data


reply via email to

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