diff options
author | wl <wl> | 2013-02-13 18:41:45 +0000 |
---|---|---|
committer | wl <wl> | 2013-02-13 18:41:45 +0000 |
commit | 118eda6b4f76451dde941d2d598fca2e385beae3 (patch) | |
tree | b57450d5422c03a7c40590c915efad0d7907160f /doc | |
parent | 3db7c6d4259c19627c9aae33134a1d661e744164 (diff) | |
download | groff-118eda6b4f76451dde941d2d598fca2e385beae3.tar.gz |
* doc/groff.texinfo: Fix if-else example.
Reported by Jim Avera <james_avera@yahoo.com>.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 2eae72e1..d7752b8b 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -11160,19 +11160,18 @@ first request is the `if' part and the latter is the `else' part. @cindex block, conditional, begin (@code{\@{}) @cindex block, condititional, end (@code{\@}}) In many cases, an if (or if-else) construct needs to execute more than -one request. This can be done using the @code{\@{} and @code{\@}} -escapes. The following example shows the possible ways to use these -escapes (note the position of the opening and closing braces). +one request. This can be done using the escapes @code{\@{} (which must +start the first line) and @code{\@}} (which must end the last line). @Example .ie t \@{\ . ds lq `` . ds rq '' .\@} -.el \ -.\@{\ -. ds lq " -. ds rq "\@} +.el \@{\ +. ds lq "" +. ds rq "" +.\@} @endExample @c @endDefesc @end deffn |