[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo.texi (No Space After Definition Nam
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/texinfo.texi (No Space After Definition Name), * NEWS: Document @set txidefnamenospace. |
Date: |
Thu, 25 Aug 2022 15:02:06 -0400 |
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 d738412970 * doc/texinfo.texi (No Space After Definition Name), *
NEWS: Document @set txidefnamenospace.
d738412970 is described below
commit d7384129704809807a7be36a97964630e7321d30
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Aug 25 20:01:52 2022 +0100
* doc/texinfo.texi (No Space After Definition Name),
* NEWS: Document @set txidefnamenospace.
---
ChangeLog | 5 +++++
NEWS | 1 +
doc/texinfo.texi | 27 +++++++++++++++++++++++++++
3 files changed, 33 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 1b2a816b5e..b1ad030bcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-25 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo.texi (No Space After Definition Name),
+ * NEWS: Document @set txidefnamenospace.
+
2022-08-25 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.texi (Conventions): Move statement about form
diff --git a/NEWS b/NEWS
index e794ff23f4..fac2632c62 100644
--- a/NEWS
+++ b/NEWS
@@ -85,6 +85,7 @@ See the manual for detailed information.
* Language
. new commands @latex, @iflatex, @ifnotlatex for new LaTeX output format
+ . do "@set txidefnamenospace" to omit space after a definition name
* Other
. build fixed for glibc 2.34
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index fb11017e79..90143839cb 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -444,6 +444,7 @@ Definition Commands
* Def Cmd Template:: Writing descriptions using definition commands.
* Def Cmd Continuation Lines:: Continuing the heading over source lines.
* Optional Arguments:: Handling optional and repeated arguments.
+* No Space After Definition Name:: How to omit space after name.
* @code{@@deffnx}:: Group two or more `first' lines.
* Def Cmds in Detail:: Reference for all the definition commands.
* Def Cmd Conventions:: Conventions for writing definitions.
@@ -11177,6 +11178,7 @@ definition commands.
* Def Cmd Template:: Writing descriptions using definition commands.
* Def Cmd Continuation Lines:: Continuing the heading over source lines.
* Optional Arguments:: Handling optional and repeated arguments.
+* No Space After Definition Name:: How to omit space after name.
* @code{@@deffnx}:: Group two or more `first' lines.
* Def Cmds in Detail:: Reference for all the definition commands.
* Def Cmd Conventions:: Conventions for writing definitions.
@@ -11364,6 +11366,31 @@ this:
@end example
+@node No Space After Definition Name
+@section Omitting the Space After a Definition Name
+
+@vindex txidefnamenospace
+As a matter of style or as demanded by the syntax of a programming language,
+you may wish to omit any space after a name in a definition, occurring
+before an opening bracket. To do this, set the @samp{txidefnamenospace}
+flag (@pxref{@@set @@value}). For example, this input
+
+@example
+@@set txidefnamenospace
+@@deffn Builtin index (string, substring)
+@@dots@{@}
+@@end deffn
+@end example
+
+@noindent produces the following:
+
+@set txidefnamenospace
+@deffn Builtin index (string, substring)
+@dots{}
+@end deffn
+@clear txidefnamenospace
+
+
@node @code{@@deffnx}
@section @code{@@deffnx}, et al.: Two or More `First' Lines
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo.texi (No Space After Definition Name), * NEWS: Document @set txidefnamenospace.,
Gavin D. Smith <=