groff
[Top][All Lists]
Advanced

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

Re: [Groff] Sun OS 5.6 / Groff 1.14


From: Peter Holtse
Subject: Re: [Groff] Sun OS 5.6 / Groff 1.14
Date: Wed, 12 Apr 2000 10:42:45 +0200 (MET DST)

On Tue, 11 Apr 2000, Werner LEMBERG wrote:

> > Maybe you're more up-to-date than I am, but according to my copy of
> > the Adobe PostScript Language Reference Manual (2nd edition, 1990)
> > it would seem that any (signed) integer value is valid.
> 
> Oops!  Sorry for that, and thank you for correcting my.  My memory
> hasn't served me well...
> 
> Maybe the problem with groff 1.14 can be solved using the -U switch?
> 
> Alternatively, the latest snapshot of groff has a built in .psbb
> request and no longer needs an external program.
>
The internal "parse_bounding_box" will read any (signed) value, integer
or float, as it should. But the PSPIC-macro will bail out silently if one
of the bounding box values is zero. I suggest changing line 21 of the
tmac.pspic macro from
    .if (\\n[llx] & \\n[lly] & \\n[urx] & \\n[ury]) \{\
to
    .if (\\n[llx] : \\n[lly] : \\n[urx] : \\n[ury]) \{\

This will let the macro proceed if at least one value is non-zero.



--------------------------------------------------------------
Peter Holtse
--------------------------------------------------------------
IAAS / Linguistics Dpt --  University of Copenhagen
Njalsgade 96, DK-2300 Copenhagen S, Denmark
phone (+45) 353 286 43
fax   (+45) 353 286 35



reply via email to

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