On 30 March 2011 19:31, pmarin <pmarin.m...@gmail.com> 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

Reply via email to