]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/cond/ie.in
When a conditional block is closed by putting "\}" on a text line
[mandoc.git] / regress / roff / cond / ie.in
1 .\" $OpenBSD: ie.in,v 1.6 2017/07/04 22:49:59 schwarze Exp $
2 .TH IE 1 "July 4, 2017"
3 .SH NAME
4 if \- the roff conditional instruction with else-clause
5 .SH DESCRIPTION
6 .el Initially, else is ignored.
7 .ie n One-line true condition.
8 .br
9 Text following the true condition.
10 .el One-line else after true.
11 .el Another else after true.
12 .br
13 .ie n \{\
14 Two-line
15 true condition.
16 .br\}
17 .el \{\
18 Two-line
19 else after true.
20 .br\}
21 .ie t One-line false condition.
22 Text following the false condition.
23 .br
24 .el \{Two-line else
25 after false.\}
26 .br
27 .el Another else after false.
28 .br
29 .ie
30 Text following an empty condition.
31 .el Else after empty condition.
32 .br
33 .ie !
34 Text following negated empty condition.
35 .el Else after negated empty condition.
36 .br
37 .ie n If \&.el\e{ works, nothing follows here:
38 .el\{dummy
39 BOOHOO\}