groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 04/05: Improve usefulness of -z in pdfmom.


From: Deri James
Subject: [groff] 04/05: Improve usefulness of -z in pdfmom.
Date: Mon, 28 Aug 2023 13:50:08 -0400 (EDT)

deri pushed a commit to branch deri-gropdf-ng
in repository groff.

commit e478a7be9d24389267ede70df5d522c54acadaa0
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
AuthorDate: Mon Aug 28 15:38:51 2023 +0100

    Improve usefulness of -z in pdfmom.
    
    Now shows output of PDF.EXPORT=1 as well.
---
 src/devices/gropdf/pdfmom.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl
index 689f8da55..1c24d85b9 100644
--- a/src/devices/gropdf/pdfmom.pl
+++ b/src/devices/gropdf/pdfmom.pl
@@ -89,7 +89,7 @@ while (my $c=shift)
     }
     elsif ($c eq '-z')
     {
-       $dev=$c;
+       $zflg="$c -dPDF.EXPORT=1";
        next;
     }
     elsif ($c eq '--roff')



reply via email to

[Prev in Thread] Current Thread [Next in Thread]