groff-commit
[Top][All Lists]
Advanced

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

[groff] 13/78: eqn(1): Hyphen-protect macro, primitive names.


From: G. Branden Robinson
Subject: [groff] 13/78: eqn(1): Hyphen-protect macro, primitive names.
Date: Fri, 7 Apr 2023 12:17:48 -0400 (EDT)

gbranden pushed a commit to branch branden-2023-04-07
in repository groff.

commit ec5dde99c51059d8da72e2a2a34cf7b8f8dbd77b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Mar 27 07:41:46 2023 -0500

    eqn(1): Hyphen-protect macro, primitive names.
    
    Also drop needless quotation of a lone macro argument.
---
 src/preproc/eqn/eqn.1.man | 58 +++++++++++++++++++++++------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index c6b5d3c78..c4beca978 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -223,7 +223,7 @@ AT&T
 .
 To get three centered dots,
 write
-.B "cdots"
+.B cdots
 or
 .RB \[lq] "cdot cdot cdot" \[rq].
 .
@@ -340,7 +340,7 @@ primitives
 .BR back ,
 .BR bar ,
 .BR bold ,
-.BR define ,
+.BR \%define ,
 .BR down ,
 .BR fat ,
 .BR font ,
@@ -352,8 +352,8 @@ primitives
 .BR left ,
 .BR lineup ,
 .BR mark ,
-.BR matrix ,
-.BR ndefine ,
+.BR \%matrix ,
+.BR \%ndefine ,
 .BR over ,
 .BR right ,
 .BR roman ,
@@ -361,9 +361,9 @@ primitives
 .BR sqrt ,
 .BR sub ,
 .BR sup ,
-.BR tdefine ,
+.BR \%tdefine ,
 .BR to ,
-.BR under ,
+.BR \%under ,
 and
 .BR up .
 .
@@ -480,7 +480,7 @@ accent { "\[ha]" }
 and
 .B dyad
 are also defined using the
-.B accent
+.B \%accent
 primitive.
 .
 .
@@ -559,7 +559,7 @@ It produces a different result from
 in a case such as
 .RB \[lq] "A opprime sub 1" \[rq]:
 with
-.B opprime
+.B \%opprime
 the\~\[lq]1\[rq] is tucked under the prime as a subscript to
 the\~\[lq]A\[rq]
 (as is conventional in mathematical typesetting),
@@ -568,13 +568,13 @@ whereas with
 the\~\[lq]1\[rq] is a subscript to the prime character.
 .
 The precedence of
-.B opprime
+.B \%opprime
 is the same as that of
 .B bar
 and
-.BR under ,
+.BR \%under ,
 which is higher than that of everything except
-.B accent
+.B \%accent
 and
 .BR uaccent .
 .
@@ -582,7 +582,7 @@ In unquoted text,
 a neutral apostrophe
 .RB ( \[aq] )
 that is not the first character on the input line is treated like
-.BR opprime .
+.BR \%opprime .
 .
 .
 .TP
@@ -902,14 +902,14 @@ it overhangs the numerator and denominator by at least 
this amount.
 When
 .B bar
 or
-.B under
+.B \%under
 is applied to a single character,
 the line is this long.
 .
 Normally,
 .B bar
 or
-.B under
+.B \%under
 produces a line whose length is the width of the object to which it
 applies;
 in the case of a single character,
@@ -1163,18 +1163,18 @@ The default value is 35.
 .B nroff
 If this is non-zero,
 then
-.B ndefine
+.B \%ndefine
 behaves like
-.B define
+.B \%define
 and
-.B tdefine
+.B \%tdefine
 is ignored,
 otherwise
-.B tdefine
+.B \%tdefine
 behaves like
-.B define
+.B \%define
 and
-.B ndefine
+.B \%ndefine
 is ignored.
 .
 The default value is\~0;
@@ -1219,7 +1219,7 @@ it is replaced by nothing.
 .
 A word containing a left parenthesis where the part of the word before
 the left parenthesis has been defined using the
-.B define
+.B \%define
 primitive is recognized as a macro call with arguments;
 characters following the left parenthesis up to a matching right
 parenthesis are treated as comma-separated arguments.
@@ -1235,7 +1235,7 @@ can be any character not appearing in the parameter thus 
bracketed.
 .TP
 .BI sdefine\~ "name X anything X"
 This is like the
-.B define
+.B \%define
 primitive,
 but
 .I name
@@ -1263,7 +1263,7 @@ are ignored.
 If
 .I name
 has been defined by
-.B define
+.B \%define
 (or has been automatically defined because
 .I name
 is the output driver)
@@ -1289,14 +1289,14 @@ GNU
 supports the predefined macros offered by AT&T
 .IR eqn : \" AT&T
 .BR and ,
-.BR approx ,
+.BR \%approx ,
 .BR arc ,
 .BR cos ,
 .BR cosh ,
 .BR del ,
 .BR det ,
 .BR dot ,
-.BR dotdot ,
+.BR \%dotdot ,
 .BR dyad ,
 .BR exp ,
 .BR for ,
@@ -1304,7 +1304,7 @@ supports the predefined macros offered by AT&T
 .BR half ,
 .BR hat ,
 .BR if ,
-.BR inter ,
+.BR \%inter ,
 .BR Im ,
 .BR inf ,
 .BR int ,
@@ -1313,8 +1313,8 @@ supports the predefined macros offered by AT&T
 .BR log ,
 .BR max ,
 .BR min ,
-.BR nothing ,
-.BR partial ,
+.BR \%nothing ,
+.BR \%partial ,
 .BR prime ,
 .BR prod ,
 .BR Re ,
@@ -1381,7 +1381,7 @@ further defines the macros
 and
 .B utilde
 (all discussed above),
-.BR dollar ,
+.BR \%dollar ,
 which sets a dollar sign,
 and
 .BR ldots ,



reply via email to

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