From 2e6fd5a26c342880a69a9541a15d5a4aa1b82a60 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Thu, 7 Feb 2013 21:08:54 +0100 Subject: [PATCH] Producing compressed PDF with sphinx --- doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 304be3f..7f424b4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -269,7 +269,7 @@ epub_copyright = u'2008-2012, Jean-Philippe ARGAUD' # would mean that specific document would be compressed # regardless of the global pdf_compressed setting. pdf_documents = [ - ('contents', u'ADAO', u'ADAO', u'Jean-Philippe ARGAUD'), + ('contents', u'ADAO', u'ADAO', u'Jean-Philippe ARGAUD', dict(pdf_compressed = True)), ] # A comma-separated list of custom stylesheets. Example: pdf_stylesheets = ['sphinx','kerning','a4'] @@ -277,6 +277,7 @@ pdf_stylesheets = ['sphinx','kerning','a4'] # Use True/False or 1/0 # Example: compressed=True #pdf_compressed = False +pdf_compressed = True # A colon-separated list of folders to search for fonts. Example: # pdf_font_path = ['/usr/share/fonts', '/usr/share/texmf-dist/fonts/'] # Language to be used for hyphenation support -- 2.39.2