groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/04: doc/groff.texi: Document 1-argument .ds behavior.


From: G. Branden Robinson
Subject: [groff] 01/04: doc/groff.texi: Document 1-argument .ds behavior.
Date: Thu, 16 Jul 2020 08:19:11 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 42626cef932cd3aed4335aa9682112ab3a6d3ecb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Jul 16 21:30:11 2020 +1000

    doc/groff.texi: Document 1-argument .ds behavior.
    
    * doc/groff.texi (Strings): Document behavior of .ds request when only
      one argument is supplied.  (The string is defined as empty.)  Thanks
      to Dave Kemper for the report and the patch.
    
    Fixes <https://savannah.gnu.org/bugs/index.php?58746>.
---
 ChangeLog      | 8 ++++++++
 doc/groff.texi | 7 +++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1689026..f9ffa69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2020-07-16  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * doc/groff.texi (Strings): Document behavior of .ds request
+       when only one argument is supplied.  (The string is defined as
+       empty.)  Thanks to Dave Kemper for the report and the patch.
+
+       Fixes <https://savannah.gnu.org/bugs/index.php?58746>.
+
+2020-07-16  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * doc/groff.texi (Using Symbols): Fix error in .rfschar
        description, which should refer to "font f" rather than "glyph
        f".  Thanks to Dave Kemper for the report and the patch.
diff --git a/doc/groff.texi b/doc/groff.texi
index 5112c0a..840ff58 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -10400,7 +10400,7 @@ This is \*[foo nice].
     @result{} This is a nice test.
 @endExample
 
-The @code{\*} escape @dfn{interpolates} (expands in-place) a
+The @code{\*} escape @dfn{interpolates} (expands in place) a
 previously defined string variable.  To be more precise, the stored
 string is pushed onto the input stack, which is then parsed by
 @code{gtroff}.  Similar to number registers, it is possible to nest
@@ -10408,7 +10408,10 @@ strings, i.e., string variables can be called within 
string variables.
 
 If the string named by the @code{\*} escape does not exist, it is
 defined as empty, and a warning of type @samp{mac} is emitted (see
-@ref{Debugging}, for more details).
+@ref{Debugging} for more details).
+
+If @code{ds} is called with only one argument, @var{name} is explicitly
+defined as an empty string.
 
 @cindex comments, with @code{ds}
 @cindex @code{ds} request, and comments



reply via email to

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