[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6617] cedilla in macro arg
From: |
Gavin D. Smith |
Subject: |
[6617] cedilla in macro arg |
Date: |
Mon, 14 Sep 2015 11:51:21 +0000 |
Revision: 6617
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6617
Author: gavin
Date: 2015-09-14 11:51:20 +0000 (Mon, 14 Sep 2015)
Log Message:
-----------
cedilla in macro arg
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.texi
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-09-11 18:41:46 UTC (rev 6616)
+++ trunk/ChangeLog 2015-09-14 11:51:20 UTC (rev 6617)
@@ -1,3 +1,9 @@
+2015-09-14 Gavin Smith <address@hidden>
+
+ * doc/texinfo.texi (Macro Details): Reinstate discussion of
+ workaround for macro arguments with cedillas. Also arguments to
+ macros with a single argument should be able to cross lines.
+
2015-09-11 Gavin Smith <address@hidden>
* doc/texinfo-tex-texi.texi: Add example of chapter after a part
Modified: trunk/doc/texinfo.texi
===================================================================
--- trunk/doc/texinfo.texi 2015-09-11 18:41:46 UTC (rev 6616)
+++ trunk/doc/texinfo.texi 2015-09-14 11:51:20 UTC (rev 6617)
@@ -14082,7 +14082,7 @@
unpredictable.
@item
-Macro arguments cannot cross lines.
+Arguments to macros taking more than one argument cannot cross lines.
@item
Macros containing a command which must be on a line by itself, such as
@@ -14102,6 +14102,30 @@
@code{@@address@hidden@}} must be used.
@item
+Likewise, if you want to pass an argument with the Texinfo command
address@hidden@@,} (to produce a cedilla, see @ref{Inserting Accents}), you
have
+to use @code{@@value} or another work-around. Otherwise, the comma
+may be taken as separating the arguments. For example,
+
address@hidden
+@@macro address@hidden, address@hidden
+\argfirst\+\argsecond\.
+@@end macro
+@@set fc Fran@@,cois
+@@address@hidden@@address@hidden@},@}
address@hidden example
+
address@hidden produces:
+
address@hidden
+Fran@,cois+.
address@hidden display
+
address@hidden currently @mactwo{Fran@,cois} works in TeX, but
@address@hidden,cois}
address@hidden works in makeinfo. better to avoid commas altogether using this
trick.
address@hidden an alternative to @, could be invented if needed.
+
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] |
- [6617] cedilla in macro arg,
Gavin D. Smith <=