aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 15:23:04 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 15:23:04 +0200
commitb79059e638d30d73b95bfec54304c4b1adf3903d (patch)
tree5a4e9057a9d7807ce623b28ac5dac3b1d6780fe2
parent0209d29a4960f0abe844a3c9bdf98ba85f02c585 (diff)
downloadmk-b79059e638d30d73b95bfec54304c4b1adf3903d.tar.gz
Fix ./' interpreted as control characters in footnotes
Heirloom troff would interpet '(info.groff)... as a request line.
-rw-r--r--README.t2
-rw-r--r--g.tmac9
2 files changed, 10 insertions, 1 deletions
diff --git a/README.t b/README.t
index e8337c6..380818c 100644
--- a/README.t
+++ b/README.t
@@ -497,7 +497,7 @@ see 5.26\~\c
.i Environments
in the full GNU troff manual
.nh
-.c "info \(aq(groff\:.info)Environments\(aq" ). (
+.c "info 'groff\:.info)Environments'" ). (
.hy
.) ,
are configured with the standard troff requests.
diff --git a/g.tmac b/g.tmac
index 098c010..4d15e70 100644
--- a/g.tmac
+++ b/g.tmac
@@ -219,9 +219,18 @@ ___________________
. br
. sp 1p
. (e @f
+.
+. \" escape control characters
+. char . \&.
+. char ' \&'
+.
. @n
. br
.
+. \" restore control characters
+. char . .
+. char ' '
+.
. \" clear footnotes
. ch @tn
. nr @.t 0