GeneralAdvice on options to reduce the size of a compiled pdf

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bgreen
Posts: 38
Joined: Wed Nov 22, 2023 11:02 am

Advice on options to reduce the size of a compiled pdf

Post by bgreen »

Hopefully my last question for a while.

I have converted 14 webpages into individual pdf files using LaTeX. Besides not requiring hundreds of image files for the webpages, pdfs consistently print better. They have now been compiled into a book format which I wanted to post up as a downloadable file. Although not enormous size (35,000 KB) a smaller file would be desirable as I have a couple of other projects that will take up space.

Internet searches suggest a range of options related to font size, image size/type, packages and on-line converters (which I’m wary of). Much of the information might possibly be dated. I wanted to search the LaTeX forum for ideas but couldn’t find a way to search for a phrase. Is it possible to search for a phrase on this forum?

The packages I have loaded are in this preamble code. I don't have a workable example as yet, as I believe the starting point is the preamble

Code: Select all

\documentclass{article}
\usepackage{xcolor}
\usepackage{titlesec}
 \usepackage[a4paper, total={7in, 10in}]{geometry}
\usepackage{graphicx} 
\usepackage[english] {babel}
\usepackage{blindtext}
\usepackage[section]{placeins}
\usepackage{subcaption}
\usepackage[colorlinks]{hyperref}
\pagestyle {empty}
\usepackage[labelformat=empty]{caption}
\usepackage {wrapfig}
\titleformat*{\section}{\fontsize{12}{14}\selectfont}
\graphicspath{ {D:/a_surf/BB/bgpage/} }

\pagecolor{yellow!30}
Advice on options to reduce the size of a compiled pdf is appreciated. I

Bob.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply