From b79059e638d30d73b95bfec54304c4b1adf3903d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 15:23:04 +0200 Subject: Fix ./' interpreted as control characters in footnotes Heirloom troff would interpet '(info.groff)... as a request line. --- README.t | 2 +- g.tmac | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3