groff
[Top][All Lists]
Advanced

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

Re: [Groff] bug in troff?


From: Werner LEMBERG
Subject: Re: [Groff] bug in troff?
Date: Sat, 20 Oct 2001 19:32:14 +0200 (CEST)

> I think I've found a bug in troff which manifests itself when
> using refer.
> 
> [...]
> 
> ... the input that is causing this problem is:
>
> [...] 
> 
> .ds address@hidden \v'-.7m\s0+.9m'
> .ds address@hidden \v'-.9m\s'\En[.s]*7u/10u'+.7m'
> 
> any way, can anyone see what is wrong?

This is indeed a bug which I've fixed now.  Introducing `opaque'
tokens was a bad idea -- I didn't realize that e.g. \v'...\s0...' is
valid code (albeit difficult to understand).

I've replaced it with a simple global flag which is reset after a
newline in the data stream and raised if \f, \H, \R, \s, or \S is seen
(only these five escapes don't produce any output).

Please test.


    Werner

reply via email to

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