[OS X TeX] compress file

Guido Mocken mocken at physik.uni-freiburg.de
Mon Jan 31 10:17:37 EST 2005


Am 16.01.2004 um 11:24 schrieb Maarten Sneep:

> On 16 jan 2004, at 10:54, max wrote:
>> My document width 39 pictures ends up in a size of 7MB... Is it 
>> possible to compress the file in LaTeX?
>
> So without further information, I can only say: try bzip2'ing the 
> file. You'll have to decompress before viewing, but the file will be 
> smaller.


I have a similar "problem": My PDF-document is almost 70 MB. I can zip 
this down to about one tenth (7MB), but I would prefer to keep it 
".pdf", not ".pdf.zip" or ".pdf.bz2".


I noticed some interesting facts:

- AdobeAcrobat can bring down the size to roughly the same 7 MB just by 
dropping support for AdobeReader versions before 5.0.

- Using epstopdf instead of TeXShop/PantherDistiller can sometimes 
dramatically reduce the intermediate PDF versions of my included EPS 
graphics. Doing so for all files would probably also reduce the size of 
the combined document.

- \pdfcompresslevel=9 has no effect on the document size.

The first result is what I want, but I have no Acrobat at home, 
therefore I'd like to know whether the same effect can be achieved 
directly with pdftex. Because of the same compression ratio, I believe 
there is some sort of internal zip-compression taking place. Can this 
be done in pdftex?

epstopdf, which AFAIK relies on GS, does not always give the same 
result (e.g. in terms of font substitutions) as the Panther Distiller, 
so batch-converting all my EPS-files again is no good solution (I would 
have to manually check every single output file) in this case. Is there 
some sort of pdf2pdf tool, that can give me the (lossless) compression 
without any other changes?

	Guido

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list