[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo.texi (\defmacro): Use \begingroup a
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/texinfo.texi (\defmacro): Use \begingroup and \endgroup around code reading macro arguments, instead of \bgroup and \egroup, as the former do not form a "subformula" when used in math mode, which affects the spacing. Suggestion from Vincent Lefèvre. |
Date: |
Sat, 12 Nov 2022 11:39:49 -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 668adc6e65 * doc/texinfo.texi (\defmacro): Use \begingroup and
\endgroup around code reading macro arguments, instead of \bgroup and \egroup,
as the former do not form a "subformula" when used in math mode, which affects
the spacing. Suggestion from Vincent Lefèvre.
668adc6e65 is described below
commit 668adc6e65669851a28a658bb589f1b622f32e7a
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Nov 12 16:39:41 2022 +0000
* doc/texinfo.texi (\defmacro): Use \begingroup and
\endgroup around code reading macro arguments, instead
of \bgroup and \egroup, as the former do not form a
"subformula" when used in math mode, which affects the
spacing. Suggestion from Vincent Lefèvre.
---
ChangeLog | 8 ++++++++
doc/texinfo.tex | 14 +++++++-------
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 956fbdee87..80584130ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-11-12 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo.texi (\defmacro): Use \begingroup and
+ \endgroup around code reading macro arguments, instead
+ of \bgroup and \egroup, as the former do not form a
+ "subformula" when used in math mode, which affects the
+ spacing. Suggestion from Vincent Lefèvre.
+
2022-11-12 Gavin Smith <gavinsmith0123@gmail.com>
* doc/gendocs.chapter/gendocs_template: New file.
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index e9d92149e1..c3e04d05fb 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
-\def\texinfoversion{2022-11-12.10}
+\def\texinfoversion{2022-11-12.16}
%
% Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
%
@@ -8430,21 +8430,21 @@ might help (with 'rm \jobname.?? \jobname.??s')%
\ifcase\paramno
% 0
\expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup
+ \begingroup
\noexpand\spaceisspace
\noexpand\endlineisspace
\noexpand\expandafter % skip any whitespace after the macro name.
\expandafter\noexpand\csname\the\macname @@@\endcsname}%
\expandafter\xdef\csname\the\macname @@@\endcsname{%
- \egroup
+ \endgroup
\noexpand\scanmacro{\macrobody}}%
\or % 1
\expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup
+ \begingroup
\noexpand\braceorline
\expandafter\noexpand\csname\the\macname @@@\endcsname}%
\expandafter\xdef\csname\the\macname @@@\endcsname##1{%
- \egroup
+ \endgroup
\noexpand\scanmacro{\macrobody}%
}%
\else % at most 9
@@ -8455,7 +8455,7 @@ might help (with 'rm \jobname.?? \jobname.??s')%
% @MACNAME@@@ removes braces surrounding the argument list.
% @MACNAME@@@@ scans the macro body with arguments substituted.
\expandafter\xdef\csname\the\macname\endcsname{%
- \bgroup
+ \begingroup
\noexpand\expandafter % This \expandafter skip any spaces after the
\noexpand\macroargctxt % macro before we change the catcode of space.
\noexpand\expandafter
@@ -8469,7 +8469,7 @@ might help (with 'rm \jobname.?? \jobname.??s')%
\expandafter\xdef
\expandafter\expandafter
\csname\the\macname @@@@\endcsname\paramlist{%
- \egroup\noexpand\scanmacro{\macrobody}}%
+ \endgroup\noexpand\scanmacro{\macrobody}}%
\else % 10 or more:
\expandafter\xdef\csname\the\macname\endcsname{%
\noexpand\getargvals@{\the\macname}{\argl}%
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo.texi (\defmacro): Use \begingroup and \endgroup around code reading macro arguments, instead of \bgroup and \egroup, as the former do not form a "subformula" when used in math mode, which affects the spacing. Suggestion from Vincent Lefèvre.,
Gavin D. Smith <=