=================================================================== RCS file: /cvs/mandoc/roff.7,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- mandoc/roff.7 2010/05/17 02:01:05 1.4 +++ mandoc/roff.7 2010/05/17 02:38:13 1.5 @@ -1,4 +1,4 @@ -.\" $Id: roff.7,v 1.4 2010/05/17 02:01:05 kristaps Exp $ +.\" $Id: roff.7,v 1.5 2010/05/17 02:38:13 kristaps Exp $ .\" .\" Copyright (c) 2010 Kristaps Dzonsons .\" @@ -95,6 +95,30 @@ The syntax of this macro is the same as that of .Sx \&ig , except that a leading argument must be specified. It is ignored, as are its children. +.Ss \&el +The +.Qq else +half of an if/else conditional. +Pops a result off the stack of conditional evaluations pushed by +.Sx \&ie +and uses it as its conditional. +If no stack entries are present (e.g., due to no prior +.Sx \&ie +calls) +then false is assumed. +The syntax of this macro is similar to +.Sx \&if +except that the conditional is missing. +.Ss \&ie +The +.Qq if +half of an if/else conditional. +The result of the conditional is pushed into a stack used by subsequent +invocations of +.Sx \&el , +which may be separated by any intervening input (or not exist at all). +Its syntax is equivalent to +.Sx \&if . .Ss \&if Begins a conditional that always evaluates to false. If a conditional is false, its children are not processed, but are