[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo-tex-test.texi (Line macros): New se
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/texinfo-tex-test.texi (Line macros): New section. |
Date: |
Sat, 04 Mar 2023 06:29:17 -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 77232ecff8 * doc/texinfo-tex-test.texi (Line macros): New section.
77232ecff8 is described below
commit 77232ecff8b10aa91ef8c339bdca4e688f73ebe0
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Mar 4 11:26:11 2023 +0000
* doc/texinfo-tex-test.texi (Line macros): New section.
---
ChangeLog | 4 ++++
doc/texinfo-tex-test.texi | 58 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 8e4cbf200c..89e7af13b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-03-04 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo-tex-test.texi (Line macros): New section.
+
2023-03-04 Gavin Smith <gavinsmith0123@gmail.com>
@linemacro, adapted from @macro implementation
diff --git a/doc/texinfo-tex-test.texi b/doc/texinfo-tex-test.texi
index 6ca253ff63..fd4b6670f3 100644
--- a/doc/texinfo-tex-test.texi
+++ b/doc/texinfo-tex-test.texi
@@ -533,6 +533,64 @@ Like an argument to @b{@@footnote}.
+@chapter Line macros
+
+No args
+
+@linemacro noarg
+@example
+@expansion{} this is the expansion
+@end example
+@end linemacro
+
+@noarg
+
+
+One arg
+
+@linemacro onearg arg
+@result{}\arg\@result{}
+@end linemacro
+
+@onearg aaaaa
+
+Two args
+
+@linemacro twoargs one two
+foo @samp{\one\} `\two\' bar
+@end linemacro
+
+@twoargs AA BB
+
+With empty second arg:
+
+@linemacro twoargs one two
+foo @samp{\one\} `\two\' bar
+@end linemacro
+
+@twoargs AA
+
+@heading With @code{@@defblock}
+
+@defcodeindex BI
+@linemacro defbuiltin symbol rest
+@BIindex \symbol\
+@defline Builtin \symbol\ \rest\
+@end linemacro
+
+@defblock
+@defbuiltin One (more)
+hallo
+@defbuiltin Nothing
+hallo agin
+@end defblock
+
+@printindex BI
+
+
+
+
+
@part Another part@*Note no headline on this page
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo-tex-test.texi (Line macros): New section.,
Gavin D. Smith <=