Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3150)

Unified Diff: stepmake/stepmake/tex-rules.make

Issue 365810043: Make PDF generation preserve links with recent ghostscript versions.
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/build/output-distance.py ('k') | stepmake/stepmake/texinfo-rules.make » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: stepmake/stepmake/tex-rules.make
diff --git a/stepmake/stepmake/tex-rules.make b/stepmake/stepmake/tex-rules.make
index 5b6e6c04d04c4a43c18708be7f69d193bd930836..4b957a2d7f0706fe5337bc87f21a89983c3ca24d 100644
--- a/stepmake/stepmake/tex-rules.make
+++ b/stepmake/stepmake/tex-rules.make
@@ -17,18 +17,19 @@ $(outdir)/%.pdf: $(outdir)/%.dvi
cd $(outdir) \
&& dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) \
-o $(@F).pdfps $(<F) \
- && gs -dCompatibilityLevel=1.2\
- -sPAPERSIZE=a4\
- -q\
- -dNOPAUSE\
- -dBATCH\
- -sDEVICE=pdfwrite\
- -dAutoRotatePages=/None\
- -sOutputFile=$(@F)\
- -dCompatibilityLevel=1.2\
- -sPAPERSIZE=a4\
- -c .setpdfwrite\
- -f $(@F).pdfps
+ && gs -dCompatibilityLevel=1.2 \
+ -sPAPERSIZE=a4 \
+ -q \
+ -dNOPAUSE \
+ -dBATCH \
+ -sDEVICE=pdfwrite \
+ -dAutoRotatePages=/None \
+ -dPrinted=false \
+ -sOutputFile=$(@F) \
+ -dCompatibilityLevel=1.2 \
+ -sPAPERSIZE=a4 \
+ -c .setpdfwrite \
+ -f $(@F).pdfps
# without -dSAFER
« no previous file with comments | « scripts/build/output-distance.py ('k') | stepmake/stepmake/texinfo-rules.make » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b