diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-17 02:38:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-17 02:38:13 +0000 |
commit | 602d98ec70f4d753a2587e8df1cd73b6c76b6081 (patch) | |
tree | 41aef27a6bb2f28290f7d2521437949ff1656b32 /roff.7 | |
parent | 9368e25ce4b00e5babb0f12ac8a0854866ca2894 (diff) | |
download | mandoc-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.7 | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -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 |