texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.texi (Invoking Macros): Mention pos


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.texi (Invoking Macros): Mention possibility of using @asis to escape commas.
Date: Sun, 05 Mar 2023 09:37:16 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new e7beee6f89 * doc/texinfo.texi (Invoking Macros): Mention possibility 
of using @asis to escape commas.
e7beee6f89 is described below

commit e7beee6f8992bb9ec12bea04bf1efc9ac30457df
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Mar 5 14:37:08 2023 +0000

    * doc/texinfo.texi (Invoking Macros): Mention possibility of
    using @asis to escape commas.
---
 ChangeLog        | 5 +++++
 doc/texinfo.texi | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b296f60563..547b86726d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-05  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.texi (Invoking Macros): Mention possibility of
+       using @asis to escape commas.
+
 2023-03-05  Gavin Smith <gavinsmith0123@gmail.com>
 
        Warning for \, in macro arg
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 10138099c2..c87d8c80f5 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -13612,8 +13612,9 @@ No arguments here.
 Passing macro arguments containing commas requires care, since
 commas also separate the arguments.  To include a comma character in
 an argument, the most reliable method is to use the @code{@@comma@{@}}
-command.  For @code{texi2any}, you can also prepend a backslash
-character, as in @samp{\,}, but this does not work with @TeX{}.
+command.  Another method is to surround the argument with
+@samp{@@asis@{@dots{}@}}.  For @code{texi2any}, you can also prepend a
+backslash character, as in @samp{\,}, but this does not work with @TeX{}.
 
 @cindex Automatic quoting of commas for some macros
 @cindex Quoting, automatic for some macros



reply via email to

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