I wonder what tips should we keep in mind to keep a long document lightweight. I've written 3 chapters from my thesis with ~30 figs and some math, and document size is exponentially increasing (10MB for 70pages). I am using CUED Cambridge University template (availabe on GitHub).
On the other hand, I see some much longer documents with heavy graphics that are considerably lighter than mine (e.g. Tikz manual with 1165 page ~9MB, and PGFplots with 500 pags ~8MB).
I draw most of the figures/diagrams with Tikz and PGFPlots in a seperate standalone document. Then, I use \includegraphics to add the compiled PDF to the main document.
P.S: A similar question is asked here, but it does't have a proper answer. Another question seems to work only on files with text (no graphics).
Edit1: I use the default options of the package with the default fonts. The PDF is compiled with pdflatex on a TeXlive2014 or MikTeX2014 distribution.
The generated PDF format= PDF-1.5, all Fonts are type 1, many fonts start with NimbusRomNo9L.
microtype? Which version PDF are you producing? What format are you producing for the graphics? I tend to usestandalonewith TiKZ externalisation rather than\includegraphicsbut I've no idea if that makes any difference. – cfr Mar 15 '15 at 00:04pdflatexbut I'm not sure about the answers to the other questions. These questions are very technical for me. – antmw1361 Mar 15 '15 at 00:08microtype. If not, add\listfilesbefore\documentclassand take a look. – cfr Mar 15 '15 at 00:11standalonepackage to import all figure code (say 100 figures) to the main document, would my compile time increase significantly??? – antmw1361 Mar 15 '15 at 00:13\end{document}command all the way up and move it down slowly and see where it suddenly becomes big. Then you can see what is causing the extra weight – percusse Mar 15 '15 at 00:13hyperref, so it will make a difference whether you are getting the latest compression etc. Also, which font option you're using will make a difference. The class is doing some things which are not recommended or are no longer recommended, and is loading some unnecessary/sub-optimal packages... – cfr Mar 15 '15 at 00:22hyperrefto remove borders around the links. – antmw1361 Mar 15 '15 at 00:27\pdfminorversion=7might help but not very much since you are already using5. You could useprintto avoid thehyperrefweight. But I'm assuming it is probably the images. – cfr Mar 15 '15 at 00:29