[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: [pdfmark] Avoid spurious user visible control messages on
From: |
Keith Marshall |
Subject: |
[groff] 01/01: [pdfmark] Avoid spurious user visible control messages on stderr. |
Date: |
Sun, 12 Oct 2014 21:41:35 +0000 |
keithmarshall pushed a commit to branch master
in repository groff.
commit 94d17a8ca577da9dda9296deb700248e23be63cb
Author: Keith Marshall <address@hidden>
Date: Sun Oct 12 22:17:44 2014 +0100
[pdfmark] Avoid spurious user visible control messages on stderr.
* pdfroff.sh (REFCOPY): Ensure that at least one pdfhref mark of type
'Z' will remain in the reference map, after all references have been
resolved; this is required, to suppress writing of reference control
records to stderr during the final PDF output processing phase.
--HG--
extra : amend_source : e4cb9ab60e18035c7da83cd306718d3d7c338109
---
contrib/pdfmark/ChangeLog | 9 +++++++++
contrib/pdfmark/pdfroff.sh | 7 +++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/contrib/pdfmark/ChangeLog b/contrib/pdfmark/ChangeLog
index 882c00d..900fd5a 100644
--- a/contrib/pdfmark/ChangeLog
+++ b/contrib/pdfmark/ChangeLog
@@ -1,3 +1,12 @@
+2014-10-12 Keith Marshall <address@hidden>
+
+ Avoid spurious user visible control messages on stderr.
+
+ * pdfroff.sh (REFCOPY): Ensure that at least one pdfhref mark of type
+ 'Z' will remain in the reference map, after all references have been
+ resolved; this is required, to suppress writing of reference control
+ records to stderr during the final PDF output processing phase.
+
2014-09-04 Bernd Warken <address@hidden>
* all pdfmark source files: Copying (remove last updates and
diff --git a/contrib/pdfmark/pdfroff.sh b/contrib/pdfmark/pdfroff.sh
index ac92d1f..c913193 100644
--- a/contrib/pdfmark/pdfroff.sh
+++ b/contrib/pdfmark/pdfroff.sh
@@ -581,6 +581,13 @@
#
$AWK '/^grohtml-info/ {print ".pdfhref Z", $2, $3, $4}' $WRKFILE >> $REFCOPY
#
+# ... appending a dummy map reference, to ensure that at least
+# one such is always present; (this is required, to suppress any
+# further intermediate output to stderr during the "press-ready"
+# runs of groff, for PDF output file production).
+#
+ echo ".pdfhref Z 0 0 0" >> $REFCOPY
+#
# Re-enable progress reporting, if necessary ...
# (Missing 'awk' or 'diff' may have disabled it, to avoid display
# of spurious messages associated with reference resolution).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: [pdfmark] Avoid spurious user visible control messages on stderr.,
Keith Marshall <=