texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * TODO: user-defined macros as argument to @table


From: Patrice Dumas
Subject: branch master updated: * TODO: user-defined macros as argument to @table and @itemize
Date: Mon, 26 Sep 2022 04:52:59 -0400

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new ae4e41ca93 * TODO: user-defined macros as argument to @table and 
@itemize
ae4e41ca93 is described below

commit ae4e41ca937f492298d560113b350dc3c1d09a97
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Sep 26 10:52:42 2022 +0200

    * TODO: user-defined macros as argument to @table and @itemize
    
    * doc/texinfo.texi (Defining Macros): say that Texinfo commands
    should not be redefined as macro earlier, and make it part of the
    design of user defined macros.
---
 ChangeLog        | 8 ++++++++
 TODO             | 3 +++
 doc/texinfo.texi | 3 ++-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e4756bacba..f778b7f49a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-09-26  Patrice Dumas  <pertusus@free.fr>
+
+       * TODO: user-defined macros as argument to @table and @itemize
+
+       * doc/texinfo.texi (Defining Macros): say that Texinfo commands
+       should not be redefined as macro earlier, and make it part of the
+       design of user defined macros.
+
 2022-09-25  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Common.pm, tp/Texinfo/Convert/DocBook.pm (_convert),
diff --git a/TODO b/TODO
index 93d3661664..440c670cf1 100644
--- a/TODO
+++ b/TODO
@@ -14,6 +14,9 @@ If you are interested in working on any of these, email 
bug-texinfo@gnu.org.
     https://lists.gnu.org/archive/html/help-texinfo/2021-12/msg00012.html)
   - generalize @vtable/@ftable to any defined index.
     - maybe "@ftable @asis @index{IX}"
+  - user-defined macros cannot be used as argument to @table or @itemize.
+    Add specific macro commands, @highlightingmacro and @glyphmacro? Or
+    accept one arg macro on @table line and no arg macro on @itemize line?
   - @mergeindex to do @syn*index without changing fonts.
   - multicolumn * width to take up `the rest'.
   - Allow @hsep/@vsep at @item, instead of just in template.
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index b2e687ceca..c2ee0afe77 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -13444,7 +13444,8 @@ is excluded so that macros can be called inside 
@code{@@math} without
 a following space (@pxref{Inserting Math}).  However, for a macro to
 work consistently with @TeX{}, @var{macroname} must consist entirely
 of letters: no digits, hyphens, or other special characters.
-So, we recommend using only letters.
+So, we recommend using only letters.  Texinfo commands should not
+be redefined as macro.
 
 If a macro needs no parameters, you can define it either with an empty
 list (@samp{@@macro foo @{@}}) or with no braces at all (@samp{@@macro



reply via email to

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