[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Mon, 17 Oct 2022 18:06:06 -0400 (EDT) |
branch: master
commit bfe629f20305404d68fc3ff01ea08b1935df4cd0
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Oct 17 23:05:55 2022 +0100
* doc/texinfo.texi (Inserting an Ampersand): Edit.
---
ChangeLog | 4 ++++
doc/texinfo.texi | 17 ++++++++---------
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index df898f122f..b1489ad2f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-10-17 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo.texi (Inserting an Ampersand): Edit.
+
2022-10-17 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.texi (Printing Indices & Menus):
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 530bbdfa32..d275b07c44 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -9304,14 +9304,13 @@ Ordinarily, an ampersand `&' is a normal character in
Texinfo that can be
simply typed in your input where you need it. The result is to
typeset the ampersand character.
-However, the ampersand character is formatted especially in
-just one restricted context. In the argument to a definition command
-(@pxref{Definition Commands}), ampersand followed by letters
-may be typeset especially with @TeX{}@footnote{This convention corresponds to
-Emacs Lisp keywords. @xref{A Sample
-Function Description,,, elisp, GNU Emacs Lisp Reference Manual}.}
-(@pxref{Def Cmd Conventions}).
-For example:
+However, the ampersand character is treated specially in just
+one restricted context. In the argument to a definition command
+(@pxref{Definition Commands}), an ampersand followed by a series
+of letters may be typeset specially when processing with @TeX{}
+@footnote{This syntax is used for Emacs Lisp keywords. @xref{A
+Sample Function Description,,, elisp, GNU Emacs Lisp Reference
+Manual}.} (@pxref{Def Cmd Conventions}). For example:
@example
@@defun foo integer1 &optional integer2 &rest integers
@@ -9319,7 +9318,7 @@ For example:
@@end defun
@end example
-@noindent may have @samp{&optional} and @samp{&rest} formatted in bold
+@noindent may have @samp{&optional} and @samp{&rest} formatted in bold,
even without any @@-command involved.
So, in order to typeset an ampersand in such a context,