gbranden pushed a commit to branch master
in repository groff.

commit 8953b0ed9b96761dae5804a944007521278e78d8
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Aug 20 15:18:50 2021 +1000

    doc/groff.texi: Recast example.
    
    * Don't use any groff features if we don't need any.
    * Make example slightly less boring.
---
 doc/groff.texi | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index a103bd7..a84b189 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -11312,13 +11312,16 @@ Diversions can be also called with string syntax.  It 
is sometimes
 convenient to copy one-line diversions to a string.
 
 @Example
-.di xxx
-a \fItest\fR
+.di xx
+the
+.ft I
+interpolation system
+.ft
 .br
 .di
-.ds yyy This is \*[xxx]\c
-\*[yyy].
-    @result{} This is a @i{test}.
+.ds yy This is a test of \*(xx\c
+\*(yy.
+    @result{} This is a test of the @i{interpolation system}.
 @endExample
 
 @noindent

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to