From 602d98ec70f4d753a2587e8df1cd73b6c76b6081 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 17 May 2010 02:38:13 +0000 Subject: Documented ie/el. Installing roff.7 and added it to index.sgml. Small fix for `D1' and `Bd' in -Thtml. --- roff.7 | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'roff.7') 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 .\" @@ -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 -- cgit v1.2.3-56-ge451