[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 16/18: doc/groff.texi: Recast example.
From: |
G. Branden Robinson |
Subject: |
[groff] 16/18: doc/groff.texi: Recast example. |
Date: |
Fri, 20 Aug 2021 06:25:24 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 8953b0ed9b96761dae5804a944007521278e78d8
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 16/18: doc/groff.texi: Recast example.,
G. Branden Robinson <=