summaryrefslogtreecommitdiffstats
path: root/Doc/myformat.sty
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-17 15:56:55 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-17 15:56:55 (GMT)
commit30d17825ac16723fa67a038cffaed239bc6b7249 (patch)
tree04e17987b8aa03880329ce9b7ac339dffc87508a /Doc/myformat.sty
parentddae414cb527df4206c0cf65800a9d0ac0183ea5 (diff)
downloadcpython-30d17825ac16723fa67a038cffaed239bc6b7249.zip
cpython-30d17825ac16723fa67a038cffaed239bc6b7249.tar.gz
cpython-30d17825ac16723fa67a038cffaed239bc6b7249.tar.bz2
Add magic to make PDF generation use maximal compression.
Diffstat (limited to 'Doc/myformat.sty')
-rw-r--r--Doc/myformat.sty3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty
index b7d3629..6e6fa6d 100644
--- a/Doc/myformat.sty
+++ b/Doc/myformat.sty
@@ -26,6 +26,9 @@
\RequirePackage{times}\typeout{Using times fonts instead of Computer Modern.}
+% for PDF output, use maximal compression:
+\@ifundefined{pdfannotlink}{}{\pdfcompresslevel=9}
+
% Increase printable page size (copied from fullpage.sty)
\topmargin 0pt
\advance \topmargin by -\headheight