summaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
diff options
context:
space:
mode:
Diffstat (limited to 'roff.7')
-rw-r--r--roff.726
1 files changed, 25 insertions, 1 deletions
diff --git a/roff.7 b/roff.7
index 4c160d9a..4c582588 100644
--- a/roff.7
+++ b/roff.7
@@ -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 <kristaps@bsd.lv>
.\"
@@ -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