Re: [Groff] eqn returns 0 on error

2011-10-28 Thread Werner LEMBERG
> When eqn encounters erroneous input, it normally continues > processing, presumably to try to find multiple errors in one pass. > When it eventually terminates, though, it returns 0, indicating > successful execution. This is correct. eqn only returns non-zero for fatal errors. As far as I ca

Re: [Groff] d conditional and autovivification of macros

2011-10-28 Thread Werner LEMBERG
> When I run the following file in groff, I get the output "tenorsax > implemented": > > .do tenorsax ext 1 > .de status > .ie d\\$1 \\$1\timplemented > .el \\$1\tmissing > .br > .. > .status tenorsax This is expected behaviour. > I've been using groff for several years and this be

[Groff] d conditional and autovivification of macros

2011-10-28 Thread brian m. carlson
I'm implementing a troff parser and am using groff as a tool for comparison. My implementation provides a request called "tenorsax". When I run the following file in groff, I get the output "tenorsax implemented": .do tenorsax ext 1 .de status .ie d\\$1 \\$1\timplemented .el \\$1\tmissing