RE: [Groff] how to use logical operators

2010-04-06 Thread Ted Harding
On 06-Apr-10 13:54:31, Richard Ray wrote: > I know this is wrong > Would someone fix it > > .ds a foo > .ds b bar > . > .if d a & d b \{\ > \*[a] \*[b] > .\} > > Richard The following works: .ds a foo .ds b bar .if d a \{\ .if d b \{\ \*[a] \*[b] .\} .\} (You can test it by following ".ds b ba

Re: [Groff] how to use logical operators

2010-04-06 Thread Richard Ray
On Tue, 6 Apr 2010, Werner LEMBERG wrote: I know this is wrong Would someone fix it .ds a foo .ds b bar . .if d a & d b \{\ \*[a] \*[b] .\} Richard Solution: .ds a foo .ds b bar . .if d a \ . if d b \{\ \*[a] \*[b] .\} From groff.info, section `Operators in Conditionals': Note that t

Re: [Groff] how to use logical operators

2010-04-06 Thread Werner LEMBERG
> I know this is wrong > Would someone fix it > > .ds a foo > .ds b bar > . > .if d a & d b \{\ > \*[a] \*[b] > .\} > > Richard > Solution: .ds a foo .ds b bar . .if d a \ . if d b \{\ \*[a] \*[b] .\} >From groff.info, section `Operators in Conditionals': Note that these operators [like `

[Groff] how to use logical operators

2010-04-06 Thread Richard Ray
I know this is wrong Would someone fix it .ds a foo .ds b bar . .if d a & d b \{\ \*[a] \*[b] .\} Richard