From mboxrd@z Thu Jan 1 00:00:00 1970 From: rudolf.sykora@gmail.com (Rudolf Sykora) Date: Wed, 30 Mar 2011 20:03:50 +0200 Subject: [9fans] plan9 ms .if h test In-Reply-To: References: Message-ID: Topicbox-Message-UUID: c45fa976-ead6-11e9-9d60-3106f5b1d025 On 30 March 2011 19:31, pmarin wrote: > To make it easier to write input files that can be formatted by both > troff and htmlroff, htmlroff adds a new condition h which evaluates > true in .if and .ie requests. The t condition continues to evaluate > true, to accomodate input files trying to distinguish between troff > and nroff. To write a conditional matching troff alone, use ?.if !h > .if t?." > > http://swtch.com/plan9port/man/man7/htmlroff.html > > Cheers. > pmarin. Ok. Actually, it seems that troff evaluates anything it doesn't know as false: .ie v .tm trueee .el .tm falsee % 9 troff a >/dev/null falsee % (and the same happens to 'h'). Thanks! Ruda