groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 20/26: doc/groff.texi: Migrate `.T` string to new macros.


From: G. Branden Robinson
Subject: [groff] 20/26: doc/groff.texi: Migrate `.T` string to new macros.
Date: Sun, 14 Nov 2021 22:04:29 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit b763c059bcebb87a99cf021624814ab0d49f9db3
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Nov 13 07:34:14 2021 +1100

    doc/groff.texi: Migrate `.T` string to new macros.
---
 doc/groff.texi | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 47 insertions(+), 3 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index c49b39f..a54c91a 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -161,7 +161,7 @@ developing GNU and promoting software freedom.''
 @end macro
 
 
-@c definition of escapes
+@c definition of escape sequences
 
 @macro Defesc{name, delimI, arg, delimII}
 @deffn Escape @t{\name\\delimI\}@Var{\arg\}@t{\delimII\}
@@ -205,7 +205,7 @@ developing GNU and promoting software freedom.''
 @end macro
 
 
-@c definition of registers
+@c definition of registers (built in to GNU troff)
 
 @macro Defreg{name}
 @deffn Register @t{\\n[\name\]}
@@ -249,6 +249,50 @@ developing GNU and promoting software freedom.''
 @end macro
 
 
+@c string definitions (built in to GNU troff)
+
+@macro Defstr{name}
+@deffn String @t{\\*[\name\]}
+@stindex \name\
+@c
+@end macro
+
+@macro DefstrList{name}
+@deffn String @t{\\*[\name\]}
+@defdummy
+@stindex \name\
+@c
+@end macro
+
+@macro DefstrItem{name}
+@deffnx String @t{\\*[\name\]}
+@defdummy
+@c
+@end macro
+
+@macro DefstrItemx{name}
+@deffnx String @t{\\*[\name\]}
+@defdummy
+@stindex \name\
+@c
+@end macro
+
+@macro DefstrListEnd{name}
+@deffnx String @t{\\*[\name\]}
+@c
+@end macro
+
+@macro DefstrListEndx{name}
+@deffnx String @t{\\*[\name\]}
+@stindex \name\
+@c
+@end macro
+
+@macro endDefstr
+@end deffn
+@end macro
+
+
 @c register definitions specific to macro packages, preprocessors, ...
 
 @macro Defmpreg{name, package}
@@ -11206,7 +11250,7 @@ with a default scaling indicator of @samp{z}.
 GNU @code{troff} has string variables primarily for user convenience.
 Only one string is predefined by the language.
 
-@Defmpstr {.T,}
+@Defstr {.T}
 @stindex .T
 @cindex output device name string (@code{.T})
 Contains the name of the output device (for example, @samp{utf8} or



reply via email to

[Prev in Thread] Current Thread [Next in Thread]