[Top][All Lists]

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

Re: [Groff] Problem with italic/roman transition spacing

From: Werner LEMBERG
Subject: Re: [Groff] Problem with italic/roman transition spacing
Date: Thu, 07 Jun 2001 07:46:05 +0200 (CEST)

> From what I can gather from the above examples, the "\/" doesn't
> work if it's not on the same input line as the last character of
> italic.  Of course in my situation, when the end-of-italic macro is
> called, the last italic character is already in the buffer (although
> presumably not with and end-of-line character).  So, using macros, I
> can only produce code analagous to examples 3 and 4 above.
> Is there a way around this or should the troff behaviour be changed?

With the current implementation, there is no workaround, sorry.
Reason for this is that `\c', `\&', and <newline> all create a node
internally which separates `\/' from the character.  I fully agree
that this is unsatisfying.

I see two solutions to this problem:

 1. Create a new register `italcorr' which holds the last italic
    correction.  It needs investigation, though, which
    requests/escapes reset this value to zero.

 2. Make `\c' transparent for the italic correction.

I prefer 2.


reply via email to

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