Thak you, that's good to know. I've filed a bug report with Apple, just in case it will help encourage them to either fix their binaries or ship some non-broken binaries in some future release of Mac OS X. In the meantime, I'll probably do the formatting I need on a Linux machine instead.
Sarah On Mon, Feb 2, 2009 at 3:43 PM, Nick Stoughton <[email protected]> wrote: > On Mon, 2009-02-02 at 15:27 -0800, Sarah wrote: >> Hi, >> >> Does anyone happen to know if the eqn that ships with MacOS 10.5 is, >> well, completely broken? Or am I doing something very basic wrong? > > This has been reported here before ... see the thread "eqn troubles" on > http://lists.gnu.org/archive/html/groff/2008-09/threads.html > > Basically ... the Mac binaries are no good! > >> >> 720$ cat eqn.in >> .EQ >> x=y+z >> .EN >> >> 721$ eqn <eqn.in >> .if !'\*(.T'ps' .if !'\*(.T'html' .tm warning: eqn should have been >> given a `-T\*(.T' option >> .if '\*(.T'html' .if !'ps'ps' .tm warning: eqn should have been given >> a `-Tps' option >> .if '\*(.T'html' .if !'ps'ps' .tm warning: (it is advisable to invoke >> groff via: groff -Thtml -e) >> .lf 1 /usr/share/groff/1.19.2/tmac/eqnrc >> .\" Startup file for eqn. >> .EQ >> .nr 0C \n(.C >> .cp 0 >> .ds 10 >> .cp \n(0C >> .lf 63 >> .EN >> .lf 1 - >> .EQ >> .nr 0C \n(.C >> .cp 0 >> .ds 10 >> eqn:<standard input>:2: syntax error >> .cp \n(0C >> .lf 3 >> .EN >> >> context is >> >>> x=y+z <<< >> >> 722$ eqn -v >> GNU eqn (groff) version 1.19.2 >> >> The same file works ok on a Solaris box, and on an Ubuntu 8.04 machine >> running groff 1.18.1. >> >> Is there a simple fix for this, other than installing and/or building >> a separate copy of eqn? >> >> Thanks, >> >> Sarah >> >> >> _______________________________________________ >> bug-groff mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/bug-groff > > _______________________________________________ bug-groff mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-groff
