[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: Update to accommodate flex-spacing and forward autolabel
From: |
Peter Schaffter |
Subject: |
[groff] 01/01: Update to accommodate flex-spacing and forward autolabel refs. |
Date: |
Sun, 26 Feb 2017 22:33:31 -0500 (EST) |
PTPi pushed a commit to branch master
in repository groff.
commit b93476ce7e9219132b5d768c270b4286a5e6ad3e
Author: Peter Schaffter <address@hidden>
Date: Sun Feb 26 22:32:21 2017 -0500
Update to accommodate flex-spacing and forward autolabel refs.
---
src/devices/gropdf/pdfmom.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl
index eacf026..a4f250c 100644
--- a/src/devices/gropdf/pdfmom.pl
+++ b/src/devices/gropdf/pdfmom.pl
@@ -123,11 +123,11 @@ if ($readstdin)
if ($dev eq 'pdf')
{
- system("groff -Tpdf -dPDF.EXPORT=1 -mom -z $preconv $cmdstring 2>&1 | grep
\"^\\.ds\" | groff -Tpdf -mom - $preconv $cmdstring");
+ system("groff -Tpdf -dLABEL.REFS=1 -mom -z $preconv $cmdstring 2>&1 | grep
'^\. *ds' | groff -Tpdf -dPDF.EXPORT=1 -dLABEL.REFS=1 -mom -z - $preconv
$cmdstring 2>&1 | grep '^\. *ds' | groff -Tpdf -mom $preconv - $cmdstring");
}
elsif ($dev eq 'ps')
{
- system("pdfroff -mpdfmark -mom --no-toc $cmdstring");
+ system("groff -Tpdf -dLABEL.REFS=1 -mom -z $preconv $cmdstring 2>&1 | grep
'^\. *ds' | pdfroff -mpdfmark -mom --no-toc - $preconv $cmdstring");
}
elsif ($dev eq '-z') # pseudo dev - just compile for warnings
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: Update to accommodate flex-spacing and forward autolabel refs.,
Peter Schaffter <=