[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] parsing a corner specification
From: |
Joel E. Denny |
Subject: |
Re: [Groff] parsing a corner specification |
Date: |
Sat, 18 Aug 2007 17:17:55 -0400 (EDT) |
On Sat, 18 Aug 2007, Clarke Echols wrote:
> According to my eroff manual (from Elan Computer Group, Inc.)
> the circle allowed-attribute list allows radius, diameter,
> height, width, at, invis, same, and text. "at" takes a position
> argument.
Even though pic reports the error as being on line 4, it's actually on
line 3. To see this, you can run:
% cat > test.pic
.PS
A: circle "A"
B: A left ;
circle "B" at B
.PE
% src/preproc/pic/pic test.pic > test.groff
src/preproc/pic/pic:test.pic:3: syntax error before `left'
src/preproc/pic/pic:test.pic:3: giving up on this picture
The semicolon token stops the line counter.
> You might try a 'move _to_;' then the circle specification...
> The semicolon separates operations and they can be chained
> together. The 'at' attribute locates the center of the circle
> at the position specified.
Although I appreciate your response, I'm actually searching to understand
how pic should parse the specific inputs I presented. I'm not really
looking for alternatives.
Thanks.
- [Groff] parsing a corner specification, Joel E. Denny, 2007/08/18
- Re: [Groff] parsing a corner specification, Clarke Echols, 2007/08/18
- Re: [Groff] parsing a corner specification,
Joel E. Denny <=
- Re: [Groff] parsing a corner specification, Larry Jones, 2007/08/18
- Re: [Groff] parsing a corner specification, Werner LEMBERG, 2007/08/20
- Re: [Groff] parsing a corner specification, Joel E. Denny, 2007/08/21
- Re: [Groff] parsing a corner specification, Werner LEMBERG, 2007/08/21
- Re: [Groff] parsing a corner specification, Keith Marshall, 2007/08/21