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

commit e478a7be9d24389267ede70df5d522c54acadaa0
Author: Deri James <[email protected]>
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')

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to