deri pushed a commit to branch master
in repository groff.
commit ef8f02f3bc962e66929ccbc06f07d7e488e0f103
Author: Deri James <[email protected]>
AuthorDate: Sat Aug 24 20:40:05 2024 +0100
Handle preconv better
If preconv used, it should also be used when generating
forward references.
* src/devices/gropdf/pdfmom.pl: add preconv (if requested)
to the pre-run which generates the pdf:bm strings.
---
ChangeLog | 10 ++++++++++
src/devices/gropdf/pdfmom.pl | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 088fc136e..77049874a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-08-24 Deri James <[email protected]>
+
+ Handle preconv better
+
+ If preconv used, it should also be used when generating
+ forward references.
+
+ * src/devices/gropdf/pdfmom.pl: add preconv (if requested)
+ to the pre-run which generates the pdf:bm strings.
+
2024-08-21 G. Branden Robinson <[email protected]>
* font/devps/ZDR: Regenerate.
diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl
index de5e5b383..a8117a56a 100644
--- a/src/devices/gropdf/pdfmom.pl
+++ b/src/devices/gropdf/pdfmom.pl
@@ -159,11 +159,11 @@ if ($dev eq 'pdf')
{
if ($mom)
{
- system("groff -Tpdf -dLABEL.REFS=1 $mom -z $cmdstring 2>&1 | LC_ALL=C
grep '^\\. *ds' | groff -Tpdf -dPDF.EXPORT=1 -dLABEL.REFS=1 $mom -z -
$cmdstring 2>&1 | LC_ALL=C grep '^\\. *ds' | groff -Tpdf $mom $preconv -
$cmdstring $zflg");
+ system("groff -Tpdf -dLABEL.REFS=1 $mom -z $cmdstring 2>&1 | LC_ALL=C
grep '^\\. *ds' | groff -Tpdf $preconv -dPDF.EXPORT=1 -dLABEL.REFS=1 $mom -z -
$cmdstring 2>&1 | LC_ALL=C grep '^\\. *ds' | groff -Tpdf $mom $preconv -
$cmdstring $zflg");
}
else
{
- system("groff -Tpdf -dPDF.EXPORT=1 -z $cmdstring 2>&1 | LC_ALL=C grep
'^\\. *ds' | groff -Tpdf $preconv - $cmdstring $zflg");
+ system("groff -Tpdf $preconv -dPDF.EXPORT=1 -z $cmdstring 2>&1 |
LC_ALL=C grep '^\\. *ds' | groff -Tpdf $preconv - $cmdstring $zflg");
}
}
elsif ($dev eq 'ps')
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit