Skip to main content
Dublin Library

The Publishing Project

ePub package.opf generator

This is the first pass at a script to generate a basic package.opf file for epub3 ebooks using Python 2.X. What it does # When you run it from the root of your ebook, the script will create a...

Exclusions

I'm sad to see the potential of exclusions not being used. No browser vendor supports the complete exclusion specification. IE 10+ is the one that comes the closes but doesn't support the full set of...

Creating Print CSS stylesheets

Rather than adopt a paged media model for printing HTML5/CSS pages let's look at how to move our content to make for a better printing experience. The idea for this stylesheet came from Evernote's...

CSS shapes: an update and an expansion

CSS Shapes (spec) allow you a finer grained control of how you flow the text around shapes and images. Only Chrome and Opera (both using the Blink rendering engine) and the beta version of Safari (iOS...

CSS regions, part 2

The landscape for CSS regions has changed drastically since the last time I visited the technology. Since the last post about the technology (published in October, 2013) the following events took...

Subsetting Fonts

In creating ebooks we need to pay attention to files size... Modern fonts have many more characters than we use in normal books. Subsetting the fonts will allow us to decrease the size of the font by...

CSS Support and namespaces

There are two new @rules in CSS (well, they may not be new but they are new to me) that open an awesome set of possibilities for CSS development with or without a pre-processor. @namespace # CSS...

Quick and dirty ebook creation script

After creating all the content for an ebook there is still more work to do and I can't always remember the exact commands to run to finish the book. I do remember that I have to do the...

CSS Paged Media Update

Ever since I wrote my original research on paged media the specs have changed considerably. Here's an update based on the following specifications: CSS Paged Media Level 3 Working Draft from...

Archive Navigation