summaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-17 02:38:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-17 02:38:13 +0000
commit602d98ec70f4d753a2587e8df1cd73b6c76b6081 (patch)
tree41aef27a6bb2f28290f7d2521437949ff1656b32 /roff.7
parent9368e25ce4b00e5babb0f12ac8a0854866ca2894 (diff)
downloadmandoc-602d98ec70f4d753a2587e8df1cd73b6c76b6081.tar.gz
mandoc-602d98ec70f4d753a2587e8df1cd73b6c76b6081.tar.zst
mandoc-602d98ec70f4d753a2587e8df1cd73b6c76b6081.zip
Documented ie/el.
Installing roff.7 and added it to index.sgml. Small fix for `D1' and `Bd' in -Thtml.
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