deri pushed a commit to branch deri-gropdf-ng
in repository groff.
commit 7ac813810503f0a012767b38db0b769adeab03a0
Author: Deri James <[email protected]>
AuthorDate: Thu Nov 23 00:04:54 2023 +0000
pdfmarksuspend & pdfmarkresume only if -Tpdf
tmac/an.tmac: Fix for non pdf man use!!
---
tmac/an.tmac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tmac/an.tmac b/tmac/an.tmac
index d66294873..e8655c0b5 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -602,7 +602,7 @@ contains unsupported escape sequence
. PT
. ev
. ns
-. pdfmarkrestart
+. if '\\*[.T]'pdf' .pdfmarkrestart
..
.
.\" Schedule a page break when the next output line is written (not
@@ -614,7 +614,7 @@ contains unsupported escape sequence
.\" Prepare the footer for a page of the document.
.de1 an-footer
. if \\n[an-suppress-header-and-footer] .return
-. pdfmarksuspend
+. if '\\*[.T]'pdf' .pdfmarksuspend
. ev an*env-header-and-footer
. ie \\n[cR] \
. ds an*ofoot "\\*[an-pageref]\"
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit