General ⇒ Large output file - PDF
Large output file - PDF
Not sure there is any magic but I am writing a large doc with a number of pdf figures so the output pdf doc is about 10mb. Any ideas how to make this more manageable? I can go smaller lower res on the figures, how about the externaldocument package to possibly hold all the figures in the Appendix and cross reference?
TIA
Alex
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Large output file - PDF
Tell us something more about the origin of the files. If they have been converted from other formats (JPG, PNG), you should better use these originals. It makes no sense to convert a pixel based format (JPG, PNG) to a vector based format (PDF) because the resulting output will be blown up. Specific advice can only be given after having some details.alexz wrote:[...] Not sure there is any magic but I am writing a large doc with a number of pdf figures so the output pdf doc is about 10mb. [...]
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Large output file - PDF
welcome to the board!
Perhaps use the draft option for graphicx during development:
Code: Select all
\usepackage[draft]{graphicx}
Stefan
Re: Large output file - PDF
THe graphic origin is visio. They are IT pictures that i "save as" png format. PNG seems to be better than jpg at the same resolution.
Then finally the output from latex is pdf. I've reduced the resolution of the graphics to 200 dpi, the doc is smaller and resolution is barely acceptable.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Large output file - PDF
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Large output file - PDF
Re: Large output file - PDF
But anyway, I am using Visio for my figures. However, I am either using Adobe Acrobat to save my Visio diagrams as PDFs, or using Visio 2007 which has a export to PDF feature.
Perhaps look at CutePDF it should be able to add PDF export to visio, with minimal of hassle and it is free! This will now mean your PDF will contain vector graphics rather than bitmap... which is always a bonus...
Hope this helps