Publishing

Lulu specific notes

Fixing Embedded fonts error

When you are trying to publish a book via Lulu.com, you might encounter “embed fonts” error. This is the workaround I found on the web that uses ghostscript:

gs -dSAFER -dNOPLATFONTS -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
 -sPAPERSIZE=letter -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer \
 -dCompatibilityLevel=1.4 -dMaxSubsetPct=100 -dSubsetFonts=true \
 -dEmbedAllFonts=true -sOutputFile=new.pdf -f old.pdf

See also: Embed fonts in a PDF with pdflatex which shows a simpler technique:

pdf2ps doc.pdf
ps2pdf13 -dPDFSETTINGS=/prepress doc.ps doc2.pdf

However, the resulting PDF looks fuzzier than the original one.

Resizing all pages of a PDF to a common size

This can happen if you are combining multiple PDF documents (say using pdftk) to make a compendium. You can resize all the pages to be of the same size using ghostscriptsource:

gs -o /path/to/resized.pdf
   -sDEVICE=pdfwrite
   -dPDFFitPage
   -r300x300
   -g2550x3300
   /path/to/original.pdf

Cropping PDFs

Self publishing tools

Manning

Libraries

HTML publishing

Zines