groff-commit
[Top][All Lists]
Advanced

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

[groff] 05/19: eqn(1): Sort items in lexicographic order.


From: G. Branden Robinson
Subject: [groff] 05/19: eqn(1): Sort items in lexicographic order.
Date: Mon, 29 May 2023 15:07:30 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 1f105dfdf4b25ac3f3570b0016d08abf753befc9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat May 27 00:49:30 2023 -0500

    eqn(1): Sort items in lexicographic order.
    
    * Resequence the classical Greek alphabet in canonical order, per a
      suggestion from Oliver Corff.
    * Sort the list of GNU extension primitives.
---
 src/preproc/eqn/eqn.1.man | 338 +++++++++++++++++++++++-----------------------
 1 file changed, 169 insertions(+), 169 deletions(-)

diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index 73c6d7e4f..09a2900af 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -491,14 +491,14 @@ tab(@);
 Lf(CR)1 Lf(CR).
 chartype \[dq]letter\[dq]@abcdefghiklmnopqrstuvwxyz
 chartype \[dq]letter\[dq]@ABCDEFGHIKLMNOPQRSTUVWXYZ
-chartype \[dq]letter\[dq]@\[rs][*a]\[rs][*b]\[rs][*x]\[rs][*d]\[rs][*e]\
-\[rs][*y]
-chartype \[dq]letter\[dq]@\[rs][*g]\[rs][*i]\[rs][*k]\[rs][*l]\[rs][*m]\
-\[rs][*n]
-chartype \[dq]letter\[dq]@\[rs][*w]\[rs][*o]\[rs][*f]\[rs][*p]\[rs][*q]\
-\[rs][*r]
-chartype \[dq]letter\[dq]@\[rs][*s]\[rs][*t]\[rs][*h]\[rs][*u]\[rs][*c]\
+chartype \[dq]letter\[dq]@\[rs][*a]\[rs][*b]\[rs][*g]\[rs][*d]\[rs][*e]\
 \[rs][*z]
+chartype \[dq]letter\[dq]@\[rs][*y]\[rs][*h]\[rs][*i]\[rs][*k]\[rs][*l]\
+\[rs][*m]
+chartype \[dq]letter\[dq]@\[rs][*n]\[rs][*c]\[rs][*o]\[rs][*p]\[rs][*r]\
+\[rs][*s]
+chartype \[dq]letter\[dq]@\[rs][*t]\[rs][*u]\[rs][*f]\[rs][*x]\[rs][*q]\
+\[rs][*w]
 chartype \[dq]binary\[dq]@*\[rs][pl]\[rs][mi]
 chartype \[dq]relation\[dq]@<>\[rs][eq]\[rs][<=]\[rs][>=]
 chartype \[dq]opening\[dq]@{([
@@ -598,119 +598,6 @@ can be any character not appearing in the parameter thus 
bracketed.
 .
 .
 .TP
-.BI sdefine\~ "name X anything X"
-As
-.RB \%\[lq] define \[rq],
-but
-.I name
-is not recognized as a macro if called with arguments.
-.
-.
-.TP
-.BI include\~ file
-.TQ
-.BI copy\~ file
-Interpolate the contents of
-.IR file ,
-omitting lines
-beginning with
-.B .EQ
-or
-.BR .EN .
-.
-.
-.TP
-.BI ifdef\~ "name X anything X"
-If
-.I name
-is defined as a primitive or macro,
-interpret
-.IR anything .
-.
-.
-.TP
-.BI undef\~ name
-Remove definition of macro or primitive
-.IR name ,
-making it undefined.
-.
-.
-.TP
-.BI big\~ e
-Enlarges the expression
-.IR e ;
-intended to have semantics like
-CSS \[lq]large\[rq].
-.
-In
-.I @g@troff
-output,
-the type size is increased by\~5.
-.
-MathML output emits the following.
-.
-.
-.RS
-.IP
-.EX
-<mstyle \%mathsize=\[aq]big\[aq]>
-.EE
-.RE
-.
-.
-.TP
-.IB e1 \~smallover\~ e2
-This is similar to
-.BR over ;
-.B smallover
-reduces the size of
-.I e1
-and
-.IR e2 ;
-it also puts less vertical space between
-.I e1
-or
-.I e2
-and the fraction bar.
-.
-The
-.B over
-primitive corresponds to the \*[tx]
-.B \[rs]over
-primitive in displayed equation styles;
-.B smallover
-corresponds to
-.B \[rs]over
-in non-display (\[lq]inline\[rq]) styles.
-.
-.
-.TP
-.BI vcenter\~ e
-This vertically centers
-.I e
-about the math axis.
-.
-The math axis is the vertical position about which characters such as
-\[lq]\[pl]\[rq] and \[lq]\[mi]\[rq] are centered;
-it is also the vertical position used for fraction bars.
-.
-For example,
-.B sum
-is defined as follows.
-.
-.RS
-.IP
-.EX
-{ type "operator" vcenter size +5 \[rs](*S }
-.EE
-.RE
-.
-.IP
-.B vcenter
-is silently ignored when generating MathML.
-.
-.
-.TP
 .IB e1 \~accent\~ e2
 This sets
 .I e2
@@ -749,45 +636,48 @@ primitive.
 .
 .
 .TP
-.IB e1 \~uaccent\~ e2
-This sets
-.I e2
-as an accent under
-.IR e1 .
-.I e2
-is assumed to be at the correct height for a character without a
-descender;
-.I e2
-is moved down if
-.I e1
-has a descender.
-.
-.B utilde
-is predefined using
-.B uaccent
-as a tilde accent below the baseline.
+.BI big\~ e
+Enlarges the expression
+.IR e ;
+intended to have semantics like
+CSS \[lq]large\[rq].
 .
+In
+.I @g@troff
+output,
+the type size is increased by\~5.
 .
-.TP
-.BI "split \[dq]" text \[dq]
-This has the same effect as simply
+MathML output emits the following.
 .
 .
 .RS
 .IP
 .EX
-.I text
+<mstyle \%mathsize=\[aq]big\[aq]>
 .EE
 .RE
 .
 .
-.IP
-but
-.I text
-is not subject to macro expansion because it is quoted;
-.I text
-is split up and the spacing between individual characters adjusted
-per subsection \[lq]Spacing and typeface\[rq] above.
+.TP
+.BI copy\~ file
+.TQ
+.BI include\~ file
+Interpolate the contents of
+.IR file ,
+omitting lines
+beginning with
+.B .EQ
+or
+.BR .EN .
+.
+.
+.TP
+.BI ifdef\~ "name X anything X"
+If
+.I name
+is defined as a primitive or macro,
+interpret
+.IR anything .
 .
 .
 .TP
@@ -852,6 +742,68 @@ that is not the first character on the input line is 
treated like
 .
 .
 .TP
+.BI sdefine\~ "name X anything X"
+As
+.RB \%\[lq] define \[rq],
+but
+.I name
+is not recognized as a macro if called with arguments.
+.
+.
+.TP
+.IB e1 \~smallover\~ e2
+This is similar to
+.BR over ;
+.B smallover
+reduces the size of
+.I e1
+and
+.IR e2 ;
+it also puts less vertical space between
+.I e1
+or
+.I e2
+and the fraction bar.
+.
+The
+.B over
+primitive corresponds to the \*[tx]
+.B \[rs]over
+primitive in displayed equation styles;
+.B smallover
+corresponds to
+.B \[rs]over
+in non-display (\[lq]inline\[rq]) styles.
+.
+.
+.br
+.ne 5v
+.TP
+.BI space\~ n
+Set extra vertical spacing around the equation,
+replacing the default values,
+where
+.IR n \~is
+an integer in hundredths of an em.
+.
+If positive,
+.IR n \~increases
+vertical spacing before the equation;
+if negative,
+it does so after the equation.
+.
+This primitive provides an interface to
+.IR groff 's
+.B \[rs]x
+escape sequence,
+but with the opposite sign convention.
+.
+It has no effect if the equation is part of a
+.MR @g@pic @MAN1EXT@
+picture.
+.
+.
+.TP
 .BI special\~ "troff-macro e"
 Construct an object by calling
 .I troff-macro
@@ -979,31 +931,79 @@ box(foo) \[ti] "bar"
 .RE
 .
 .
-.br
-.ne 5v
 .TP
-.BI space\~ n
-Set extra vertical spacing around the equation,
-replacing the default values,
-where
-.IR n \~is
-an integer in hundredths of an em.
+.BI "split \[dq]" text \[dq]
+This has the same effect as simply
 .
-If positive,
-.IR n \~increases
-vertical spacing before the equation;
-if negative,
-it does so after the equation.
 .
-This primitive provides an interface to
-.IR groff 's
-.B \[rs]x
-escape sequence,
-but with the opposite sign convention.
+.RS
+.IP
+.EX
+.I text
+.EE
+.RE
 .
-It has no effect if the equation is part of a
-.MR @g@pic @MAN1EXT@
-picture.
+.
+.IP
+but
+.I text
+is not subject to macro expansion because it is quoted;
+.I text
+is split up and the spacing between individual characters adjusted
+per subsection \[lq]Spacing and typeface\[rq] above.
+.
+.
+.TP
+.IB e1 \~uaccent\~ e2
+This sets
+.I e2
+as an accent under
+.IR e1 .
+.I e2
+is assumed to be at the correct height for a character without a
+descender;
+.I e2
+is moved down if
+.I e1
+has a descender.
+.
+.B utilde
+is predefined using
+.B uaccent
+as a tilde accent below the baseline.
+.
+.
+.TP
+.BI undef\~ name
+Remove definition of macro or primitive
+.IR name ,
+making it undefined.
+.
+.
+.TP
+.BI vcenter\~ e
+This vertically centers
+.I e
+about the math axis.
+.
+The math axis is the vertical position about which characters such as
+\[lq]\[pl]\[rq] and \[lq]\[mi]\[rq] are centered;
+it is also the vertical position used for fraction bars.
+.
+For example,
+.B sum
+is defined as follows.
+.
+.RS
+.IP
+.EX
+{ type "operator" vcenter size +5 \[rs](*S }
+.EE
+.RE
+.
+.IP
+.B vcenter
+is silently ignored when generating MathML.
 .
 .
 .br



reply via email to

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