groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/02: pdfmom was not including $preconv in the initial groff ru


From: Deri James
Subject: [groff] 01/02: pdfmom was not including $preconv in the initial groff run.
Date: Tue, 1 Nov 2016 23:26:48 +0000 (UTC)

deri pushed a commit to branch master
in repository groff.

commit 971c1ae1875acb9195fc6f70340a92a213f16ad2
Author: Deri James <address@hidden>
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  <address@hidden>
+
+       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  <address@hidden>
 
        * 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')
 {



reply via email to

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