gbranden pushed a commit to branch master
in repository groff.
commit 85c047fcb04ceb7a9cb36806a354d7431aa278f4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Feb 21 13:30:26 2024 -0600
[mdoc]: Trivially refactor (`ua` and \[ha]).
* tmac/mdoc/doc-nroff (ua): Define string as `ha` special character, not
"^". This is (probably) a matter only of pedantic correctness, as
this definition takes place only in the "else" block of a conditional
testing for the "utf8" output device, and no other supported
nroff-mode device renders "^" surprisingly to ASCII nostalgics.
---
ChangeLog | 9 +++++++++
tmac/mdoc/doc-nroff | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5687abcf5..5e39ad0dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-02-21 G. Branden Robinson <[email protected]>
+
+ * tmac/mdoc/doc-nroff (ua): Define string as `ha` special
+ character, not "^". This is (probably) a matter only of
+ pedantic correctness, as this definition takes place only in the
+ "else" block of a conditional testing for the "utf8" output
+ device, and no other supported nroff-mode device renders "^"
+ surprisingly to ASCII nostalgics.
+
2024-02-20 Lennart Jablonka <[email protected]>
* src/preproc/eqn/main.cpp: This file includes header
diff --git a/tmac/mdoc/doc-nroff b/tmac/mdoc/doc-nroff
index b9ab48a83..2226b5754 100644
--- a/tmac/mdoc/doc-nroff
+++ b/tmac/mdoc/doc-nroff
@@ -147,7 +147,7 @@
. ds If \[if]
.\}
.el \{\
-. ds ua ^
+. ds ua \[ha]
. ds Pi pi
. ds If infinity
.\}
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit