[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/27: [eqn]: Implement "reset" primitive/command (2/3).
From: |
G. Branden Robinson |
Subject: |
[groff] 04/27: [eqn]: Implement "reset" primitive/command (2/3). |
Date: |
Mon, 28 Aug 2023 15:54:42 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 9e709d64f7aa5f3c706ef9154e596fbb6a87637a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Aug 26 11:02:04 2023 -0500
[eqn]: Implement "reset" primitive/command (2/3).
* src/preproc/eqn/eqn.1.man (Customization): Document it.
* NEWS: Add item.
---
ChangeLog | 4 ++++
NEWS | 2 ++
src/preproc/eqn/eqn.1.man | 10 +++++++++-
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index d3e347d0d..806eab292 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -55,6 +55,10 @@
* src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Migrate
from lvalue access to `get_param()` for parameter retrieval.
+ * src/preproc/eqn/eqn.1.man (Customization): Document it.
+
+ * NEWS: Add item.
+
Fixes <https://savannah.gnu.org/bugs/?62692>.
2023-08-24 G. Branden Robinson <g.branden.robinson@gmail.com>
diff --git a/NEWS b/NEWS
index e8f62b3c1..47208df8e 100644
--- a/NEWS
+++ b/NEWS
@@ -41,6 +41,8 @@ o New parameters tunable with the GNU eqn "set" primitive,
"half_space"
their widths were determined by the "thin_space" and "thick_space"
parameters used to tune GNU eqn's automatic spacing computations.
+o The new "reset" primitive restores a named parameter to its default.
+
Macro packages
--------------
diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index 7bfca674c..275c08935 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -1101,7 +1101,9 @@ which delegates typesetting to a MathML rendering engine.
.
Configure these parameters with the
.B set
-primitive.
+and
+.B reset
+primitives.
.
.
.TP 9n \" "set p n" + 2n
@@ -1127,6 +1129,12 @@ should assume that the font's x-height is 0.45\~ems.
.RE
.
.
+.TP
+.BI reset\~ p
+restores the default value of
+.RI parameter\~ p.
+.
+.
.P
Available parameters
.I p
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/27: [eqn]: Implement "reset" primitive/command (2/3).,
G. Branden Robinson <=