[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6784] more macro examples in test file
From: |
Gavin D. Smith |
Subject: |
[6784] more macro examples in test file |
Date: |
Sun, 15 Nov 2015 14:45:22 +0000 |
Revision: 6784
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6784
Author: gavin
Date: 2015-11-15 14:45:20 +0000 (Sun, 15 Nov 2015)
Log Message:
-----------
more macro examples in test file
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo-tex-test.texi
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-11-14 18:39:44 UTC (rev 6783)
+++ trunk/ChangeLog 2015-11-15 14:45:20 UTC (rev 6784)
@@ -1,3 +1,8 @@
+2015-11-15 Gavin Smith <address@hidden>
+
+ * doc/texinfo-text-test.texi: Add examples of spaces in macro
+ arguments, and nested macro use.
+
2015-11-14 Gavin Smith <address@hidden>
* tp/Texinfo/Convert/Paragraph.pm: Change a couple of instances
Modified: trunk/doc/texinfo-tex-test.texi
===================================================================
--- trunk/doc/texinfo-tex-test.texi 2015-11-14 18:39:44 UTC (rev 6783)
+++ trunk/doc/texinfo-tex-test.texi 2015-11-15 14:45:20 UTC (rev 6784)
@@ -19,6 +19,7 @@
@settitle Test Document for @file{texinfo.tex}
@everyheading @thischapter @| @| @thissection{} address@hidden
address@hidden 0
@showboxdepth=1000
@showboxbreadth=1000
@@ -44,6 +45,7 @@
The number refers to the number of backslashes that should appear
address@hidden
0 @Mac{}
0 @Mac{a}
@@ -108,6 +110,19 @@
2+1 @Mactwo{\\\A, \\B}
2+2 @Mactwo{\\\A, \\\\B}
+space between backslashes: @Mac{\ address@hidden
+space between backslashes line arg: @Mac \ \
+
+space after backslashes, two arguments:@*
address@hidden \\, \ address@hidden
address@hidden \\, \\ address@hidden
address@hidden a, \\ address@hidden
+
+other spaces:@*
address@hidden \\, i address@hidden
address@hidden \\, i address@hidden
address@hidden a, i address@hidden
+
@section Spaces in macro bodies
Distance between the two x's should be the same
@@ -122,6 +137,21 @@
@end example
@Mac
address@hidden Macro use inside macro argument
+
address@hidden Innermac{arg}
+xx \arg\ xx
address@hidden macro
+
address@hidden Outermac{arg}
+\arg\
address@hidden
address@hidden macro
+
address@hidden@Innermac{e}}
+should address@hidden
+xx e xx
+
@section Trailing newlines in macro bodies
Output should be doubled:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6784] more macro examples in test file,
Gavin D. Smith <=