CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 13/02/13 18:41:46
Modified files:
. : ChangeLog
doc : groff.texinfo
Log message:
* doc/groff.texinfo: Fix if-else example.
Reported by Jim Avera <[email protected]>.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1393&r2=1.1394
http://cvs.savannah.gnu.org/viewcvs/groff/doc/groff.texinfo?cvsroot=groff&r1=1.316&r2=1.317
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1393
retrieving revision 1.1394
diff -u -b -r1.1393 -r1.1394
--- ChangeLog 10 Feb 2013 08:41:08 -0000 1.1393
+++ ChangeLog 13 Feb 2013 18:41:45 -0000 1.1394
@@ -1,3 +1,9 @@
+2013-02-13 Werner LEMBERG <[email protected]>
+
+ * doc/groff.texinfo: Fix if-else example.
+
+ Reported by Jim Avera <[email protected]>.
+
2013-02-10 Werner LEMBERG <[email protected]>
[grops] Make binary `%%BeginData' work; support `fontset' resource.
Index: doc/groff.texinfo
===================================================================
RCS file: /cvsroot/groff/groff/doc/groff.texinfo,v
retrieving revision 1.316
retrieving revision 1.317
diff -u -b -r1.316 -r1.317
--- doc/groff.texinfo 8 Feb 2013 07:46:06 -0000 1.316
+++ doc/groff.texinfo 13 Feb 2013 18:41:45 -0000 1.317
@@ -11160,19 +11160,18 @@
@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
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit