groff
[Top][All Lists]
Advanced

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

Re: [Groff] EQN documentation


From: Ralph Corderoy
Subject: Re: [Groff] EQN documentation
Date: Sun, 30 Jan 2011 18:32:22 +0000

Hi Ted,

> > http://www.zen89632.zen.co.uk/Groff/Eqn/eqnguide.pdf
> 
> The latest version (now all of 4 pages) has now been uploaded to the
> same URL.

Have added it to http://troff.org/papers.html, thanks.

Regarding

    Multiplication of terms, expressed by juxtaposition, can be
    constructed by again simply entering the expression as you would
    normally write it (but note the use of spaces to separate symbols
    and signs (tokens) in the expression):

    .EQ
    f ( x , y ) = a + b x + c y + p x y
    + ( 1 - x ) ( 2 - y )
    .EN

        f(x, y) = a + bx + cy + pxy + (1 - x)(2 - y)

is it a bit misleading to suggest spaces are required around every
token?  It suggests to the reader that it's going to be laborious to
type compared with simple entry.  Kernighan and Cherry's User's Guide,
2nd Ed., makes a point in section 3 that whitespace doesn't matter too
much.  A more naturally written input,

    .EQ
    f(x, y) = a + bx + cy + pxy + (1 - x)(2 - y)
    .EN

produces the same output.

Cheers,
Ralph.




reply via email to

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