groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 26/26: [ms]: Update example in docs.


From: G. Branden Robinson
Subject: [groff] 26/26: [ms]: Update example in docs.
Date: Sun, 18 Dec 2022 20:41:34 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit b38c6edeee59e272936b723545b9dd94aa18d5c6
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 18 18:32:36 2022 -0600

    [ms]: Update example in docs.
    
    After trying it on DWB 3.3 and Heirloom Doctools ms.
---
 doc/groff.texi | 14 +++++++-------
 doc/ms.ms      | 26 ++++++++++++++------------
 2 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 30d0c44c6..cfdc939d9 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -3556,7 +3556,7 @@ start @var{text} must start @var{pre} instead to have the 
desired
 effect.
 
 @CartoucheExample
-The course's students found one C language keyword
+The CS course's students found one C language keyword
 .CW static ) \%(
 most troublesome.
 @endCartoucheExample
@@ -3564,8 +3564,8 @@ most troublesome.
 The foregoing example produces output as follows.
 
 @CartoucheExample
-@r{The course's students found one C language keyword (@t{static}) most
-troublesome.}
+@r{The CS course's students found one C language keyword (@t{static})
+most troublesome.}
 @endCartoucheExample
 
 You can use the output line continuation escape sequence @code{\c} to
@@ -3573,10 +3573,10 @@ achieve the same result (@pxref{Line Continuation}).  
It is also
 portable to older @file{ms} implementations.
 
 @CartoucheExample
-The course's students found one C language keyword
-(\c
-.CW \%static \c
-) most troublesome.
+The CS course's students found one C language keyword
+\%(\c
+.CW \%static )
+most troublesome.
 @endCartoucheExample
 
 @code{groff} @file{ms} also offers strings to begin and end super- and
diff --git a/doc/ms.ms b/doc/ms.ms
index e4d930a23..eb33954e3 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -1721,13 +1721,14 @@ Lf(CR) L.
 Input  Result
 T{
 .na
-The course\[aq]s students found one C language keyword
+.nh
+The CS course\[aq]s students found one C language keyword
 .br
 \&.CW static ) \[rs]%(
 .br
 most troublesome.
 T}     T{
-The course's students found one C language keyword
+The CS course's students found one C language keyword
 .CW static ) \%(
 most troublesome.
 T}
@@ -1738,9 +1739,9 @@ You can use the output line continuation escape sequence
 .CW \[rs]c
 to achieve the same result.
 .
-It is also portable to older
+It is also portable to some older
 .I ms
-implementations.
+implementations. \" DWB 3.3 ms: no; Heirloom Doctools ms: yes
 .
 .TS
 box center;
@@ -1749,18 +1750,19 @@ Lf(CR) L.
 Input  Result
 T{
 .na
-The course\[aq]s students found one C language keyword
+.nh
+The CS course\[aq]s students found one C language keyword
 .br
-(\[rs]c
+\[rs]%(\[rs]c
 .br
-\&.CW \[rs]%static \[rs]c
+\&.CW static )
 .br
-) most troublesome.
+most troublesome.
 T}     T{
-The course's students found one C language keyword
-(\c
-.CW \%static \c
-) most troublesome.
+The CS course's students found one C language keyword
+\%(\c
+.CW static )
+most troublesome.
 T}
 .TE
 .KE



reply via email to

[Prev in Thread] Current Thread [Next in Thread]