[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/03: pdfmarksuspend & pdfmarkresume only if -Tpdf
From: |
Deri James |
Subject: |
[groff] 01/03: pdfmarksuspend & pdfmarkresume only if -Tpdf |
Date: |
Sun, 10 Dec 2023 15:13:25 -0500 (EST) |
deri pushed a commit to branch deri-gropdf-ng
in repository groff.
commit 7ac813810503f0a012767b38db0b769adeab03a0
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
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]\"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/03: pdfmarksuspend & pdfmarkresume only if -Tpdf,
Deri James <=