gbranden pushed a commit to branch master
in repository groff.
commit ae0adea18cc27b86caad1a91ecac13b9e06d13e2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 18 04:23:36 2025 -0500
[man,mdoc]: Fix Savannah #67474 (`.cflags 0 "`).
* tmac/an.tmac:
* tmac/doc.tmac: Man pages more often use the neutral double quote `"`
as a "code literal" than as a quotation character. Give it the same
(empty) set of character flags as its special character equivalent,
\[dq]. This means that it is no longer transparent to sentence
endings.
Fixes <https://savannah.gnu.org/bugs/?67474>. Thanks to Alex Colomar
and Russ Allbery for the discussion.
---
ChangeLog | 12 ++++++++++++
tmac/an.tmac | 5 +++++
tmac/doc.tmac | 5 +++++
3 files changed, 22 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index c423e395c..9fbf64ec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2025-09-18 G. Branden Robinson <[email protected]>
+
+ * tmac/an.tmac:
+ * tmac/doc.tmac: Man pages more often use the neutral double
+ quote `"` as a "code literal" than as a quotation character.
+ Give it the same (empty) set of character flags as its special
+ character equivalent, \[dq]. This means that it is no longer
+ transparent to sentence endings.
+
+ Fixes <https://savannah.gnu.org/bugs/?67474>. Thanks to Alex
+ Colomar and Russ Allbery for the discussion.
+
2025-09-18 G. Branden Robinson <[email protected]>
* tmac/fallbacks.tmac: Define different fallbacks for accented
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 56003d181..bb9f08bd2 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1461,6 +1461,11 @@ contains unsupported escape sequence
.if '\*[.T]'html' \
. char \- \N'45'
.
+.\" Man pages more often use the neutral double quote `"` as a "code
+.\" literal" than as a quotation character. Give it the same (empty)
+.\" set of character flags as its special character equivalent, \[dq].
+.cflags 0 "
+.
.\" === Initialize. ===
.
.mso devtag.tmac
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 38b0fb4fb..ebd6af153 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -7205,6 +7205,11 @@ should this have been '.Em ...'?
.if '\*[.T]'html' \
. char \- \N'45'
.
+.\" Man pages more often use the neutral double quote `"` as a "code
+.\" literal" than as a quotation character. Give it the same (empty)
+.\" set of character flags as its special character equivalent, \[dq].
+.cflags 0 "
+.
.
.\" Load site-local configuration.
.ie d msoquiet .msoquiet mdoc.local
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit