gbranden pushed a commit to branch master
in repository groff.
commit b9d07e0cfb1dd90dc9f4e27175594e8a3b2490a7
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Mar 6 17:28:35 2026 -0600
eqn(1): Add "roff interface" subsection.
---
src/preproc/eqn/eqn.1.man | 41 ++++++++++++++++++++++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index d1e8e8cec..d3e800966 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -11,7 +11,7 @@ or MathML
.\" ====================================================================
.\"
.\" Copyright 1989-2014 Free Software Foundation, Inc.
-.\" 2020-2024 G. Branden Robinson
+.\" 2020-2026 G. Branden Robinson
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
@@ -1768,6 +1768,45 @@ AT&T compatibility.
as the roman font.
.
.
+.\" ====================================================================
+.SS \f[I]roff\f[] interface
+.\" ====================================================================
+.
+The string
+.B 10
+stores the most recently formatted equation.
+.
+The register
+.B MK
+stores the horizontal drawing position of the most recently assigned
+mark.
+.
+Avoid using these names for any other purpose.
+.
+.
+.P
+GNU
+.I eqn \" GNU
+internally employs register,
+string,
+macro,
+and diversion names beginning with the
+.RB numeral\~ 0 .
+.
+(AT&T
+.I eqn \" AT&T
+used identifiers starting with the
+.RB numeral\~ 1 .)
+.\" TODO: Change GNU eqn to do the same, if we don't do the geqn* thing
+.\" below?
+.
+A document to be preprocessed with GNU
+.I eqn \" GNU
+should not use any such identifiers.
+.\" XXX: Why are they not named starting with "geqn*" or something? GNU
+.\" eqn turns AT&T troff compatibility mode off anyway.
+.
+.
.br
.ne 6v
.\" ====================================================================
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit