deri pushed a commit to branch master
in repository groff.

commit 971c1ae1875acb9195fc6f70340a92a213f16ad2
Author: Deri James <[email protected]>
Date:   Tue Nov 1 22:35:56 2016 +0000

    pdfmom was not including $preconv in the initial groff run.
    
    * src/devices/gropdf/pdfmom.pl: Include $preconv in first
    groff run which resolves forward pdf references.
---
 ChangeLog                    |    7 +++++++
 src/devices/gropdf/pdfmom.pl |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0dbb19a..95a5823 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-01  Deri James  <[email protected]>
+
+       pdfmom was not including $preconv in the initial groff run.
+       
+       * src/devices/gropdf/pdfmom.pl: Include $preconv in first 
+       groff run which resolves forward pdf references.
+
 2016-10-05  Ingo Schwarze  <[email protected]>
 
        * tmac/doc.tmac-u: Simplify behaviour of .Bl -tag
diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl
index a346ff6..eacf026 100644
--- a/src/devices/gropdf/pdfmom.pl
+++ b/src/devices/gropdf/pdfmom.pl
@@ -123,7 +123,7 @@ if ($readstdin)
 
 if ($dev eq 'pdf')
 {
-    system("groff -Tpdf -dPDF.EXPORT=1 -mom -z $cmdstring 2>&1 | grep 
\"^\\.ds\" | groff -Tpdf -mom - $preconv $cmdstring");
+    system("groff -Tpdf -dPDF.EXPORT=1 -mom -z $preconv $cmdstring 2>&1 | grep 
\"^\\.ds\" | groff -Tpdf -mom - $preconv $cmdstring");
 }
 elsif ($dev eq 'ps')
 {

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

Reply via email to