here you goThings I’ve made, read and saved — shared here.

Archive

9,565 entries: 46 from X, 8,923 from Pinboard, saved 1998 to 2026.

Browse by tag, site, author, folder or language

Tags

Sites

Authors

Folders

Languages

13 entries#publishing ×

October 2026

July 2026

2023

100-page-book

There is a niche for "small"ish books of about 100 pages that can be useful for

  • survey books
    • "what is there to know about X"
    • "what's new in X since Y event/version/year"
  • deep dive into a niche topic
    • "asyncio in python and how it is used in web applications"
    • "asyncio in python and how it can be used in non-web settings"

These small books should also be formatted for easy consumption over phone/tablet screen.

Why would this be a book vs a blog post?

There are many blog posts that have lives longer than published books, papers and manuscripts. I think thinking of a book forces a certain structure on the author and the content. Secondly, even a self-published book (a downloadable PDF) obtains the sheen a "product" vs writing, which some might desire.

Some exampled I can think of in this genre:

notes#publishing

2021

2020

Publishing

See also: 100-page-book

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 ghostscript -- source:

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

Cropping PDFs

Self publishing tools

Manning

Libraries

  • PrinceXML
  • Speedata Publisher to generate reports. XML->PDF. Uses LuaTeX. AGPL/Commercial license.
  • PreTeXt An authoring and publishing system for authors of textbooks, research articles, and monographs, especially in STEM disciplines. The best of DocBook, LaTeX, and HTML. Outputs: print, PDF, web, EPUB, Jupyter Notebooks, braille,. github; XML based syntax.

Web publishing

Zines

Book covers


See also: pandoc

notes#books#publishing

2011

2010