groff
[Top][All Lists]
Advanced

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

Re: [Groff] dynamic grap ticks


From: Ralph Corderoy
Subject: Re: [Groff] dynamic grap ticks
Date: Sat, 27 Apr 2013 11:11:12 +0100

Hi James,

> While I'm in the neighborhood, the grap manual says that labels stack,
> but mine (version 1.41) doesn't seem to:
> 
> $ cat t
> .G1
> label top "abc", "def"
> .G2
> 
> $ grap t
> grap: syntax error
> Error near line 2, file "t"
>  context is:
>         label top "abc" >>> , <<<  "def"

Looking at the yacc source, no comma is wanted.

    .G1
    label left "foo" "bar"
    1 2
    3 4
    .G2

I think the man page is misleading.

    label (left|right|top|bottom) quoted_string [string_modifiers]
        [, quoted_string [string_modifiers]] ...
        [up expr | down expr | left expr | right expr]

Cheers, Ralph.



reply via email to

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