bug-groff
[Top][All Lists]
Advanced

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

problem with pic


From: Y T
Subject: problem with pic
Date: Sun, 9 Mar 2008 20:31:14 -0700


GROFF VERSION:
various CVS versions since Dec 2006 up to current (1.19.3)

MACHINE:
x86 PC

OS:
Scientific Linux 4.2 (same as Redhat RHEL 4.2)

COMPILER:
gcc 3.4.6

INPUT FILES:

.\"  The next four lines are the pic input
.PS
line from 0,0 to 3,3
line from 1,1 then up 1
.PE

COMMAND LINE:

pic file-name | groff

DESCRIPTION OF INCORRECT BEHAVIOUR:

The second pic line above draws a line segment to the right
and then a line segment up instead of just a line segment up.
It works fine with version 1.19.2

This breaks the grap program!

It seems likely that this is related to the change below
which is documented as:
   If a path starts with \fBthen\fP, the first segment
   is assumed to be into the current direction, using the
   default length.
However, in the input above the "then" does not start the path.

   2006-03-21  Werner LEMBERG  

           * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
           both DWB pic and dpic, make

             right;
             line then down;

           equal to

             right;
             line right then down;

           instead of

             right;
             line 0 then down;

_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/



reply via email to

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