[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6555] remove a couple of macro caveats
From: |
Gavin D. Smith |
Subject: |
[6555] remove a couple of macro caveats |
Date: |
Wed, 19 Aug 2015 15:27:10 +0000 |
Revision: 6555
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6555
Author: gavin
Date: 2015-08-19 15:27:09 +0000 (Wed, 19 Aug 2015)
Log Message:
-----------
remove a couple of macro caveats
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.texi
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-08-19 15:23:23 UTC (rev 6554)
+++ trunk/ChangeLog 2015-08-19 15:27:09 UTC (rev 6555)
@@ -1,5 +1,9 @@
2015-08-19 Gavin Smith <address@hidden>
+ * doc/texinfo.texi (Macro Details): Remove two obsolete caveats.
+
+2015-08-19 Gavin Smith <address@hidden>
+
* doc/texinfo.tex (\scanctxt, \macrobodyctxt): Move change of
catcode of @ to \macrobodyctxt, so that the , in @, doesn't
separate arguments to a macro.
Modified: trunk/doc/texinfo.texi
===================================================================
--- trunk/doc/texinfo.texi 2015-08-19 15:23:23 UTC (rev 6554)
+++ trunk/doc/texinfo.texi 2015-08-19 15:27:09 UTC (rev 6555)
@@ -14464,9 +14464,6 @@
unpredictable.
@item
-All macros are expanded inside at least one @TeX{} group.
-
address@hidden
Macro arguments cannot cross lines.
@item
@@ -14487,33 +14484,6 @@
@code{@@address@hidden@}} must be used.
@item
-As a consequence, if a macro takes two or more arguments, and you want
-to pass an argument with the Texinfo command @code{@@,} (to produce a
-cedilla, @pxref{Inserting Accents}), you have to use @code{@@value} or
-another work-around. Otherwise, @TeX{} takes the comma as separating
-the arguments. Example:
-
address@hidden
-@@macro address@hidden, address@hidden
-\argfirst\+\argsecond\.
-@@end macro
-@@set fc Fran@@,cois
-@@address@hidden@@address@hidden@address@hidden
address@hidden example
-
address@hidden produces:
-
address@hidden
-Fran@,cois+.
address@hidden display
-
-The natural-seeming @code{@@address@hidden@@,address@hidden passes the two
-arguments @samp{Fran@@} and @samp{cois} to the macro, and nothing good
-results. And, as just mentioned, although the comma can be escaped
-with a backslash for @code{makeinfo} (@samp{@@\,}), that doesn't work
-in @TeX{}, so there is no other solution.
-
address@hidden
It is usually best to avoid comments inside macro definitions, but
see the next item.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6555] remove a couple of macro caveats,
Gavin D. Smith <=