unc chapel hill 2014 ctc retreat - creating epub e books

28
Creating EPUB Ebooks Tyler Johnson

Upload: jonathan-pletzke

Post on 01-Jul-2015

241 views

Category:

Technology


1 download

DESCRIPTION

Creating E-Books with EPUB and Sigil - Tyler Johnson

TRANSCRIPT

Page 1: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Creating EPUB EbooksTyler Johnson

Page 2: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

What Is An Ebook ?

An electronic representation of a printed book.

Delivered through a specialized e-reader system.

Typically focused on immersive reading

experience.

Presentation elements are reflowable.

Presentation is controlled by the user.

Page 3: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Popular E-Readers

Hardware

Kindle

Nook

Kobo

iPAD

Software

software versions of hardware e-readers

Calibre

Adobe Digital Editions

Page 4: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

What Is EPUB ?

“The EPUB® specification is a distribution and interchange format standard for digital publications and documents. EPUB defines a means of representing, packaging and encoding structured and semantically enhanced Web content — including HTML5, CSS, SVG, images, and other resources — for distribution in a single-file format.” -IDPF EPUB 3 Overview, Conboy, Garth, et al. 2014

EPUB 3.0.1 released June 2014

Industry is at EPUB 2. Moving to EPUB 3.

Page 5: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

IDPF

International Digital Publishing Forum

http://idpf.org

Technical industry group focused on electronic

publishing and standards

Membership-based

Members include trade & academic publishers,

technology companies.

Produces “Recommended Specifications”

Page 6: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

EPUB 3 FeaturesFrom EPUB 3 Overview

http://www.idpf.org/epub/301/spec/epub-overview-20140626.html

Page 7: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Package Document

A single package document defines ALL of the

resources (files) necessary to render a book.

Metadata can apply across all resources

Defines a reading order

(compare these features with a website)

Page 8: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Layout

Reflowable content

eReaders use different resolutions.

Users control font, size, justification, more.

Fixed layout support

(print designers hate reflowable content)

Separation of content and presentation

Semantic markup

Uses HTML5 and CSS (yay!)

Page 9: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Multimedia

Images

Audio

Video

Media overlay documents

synchronized audio and text

Page 10: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Fonts

Fonts can be embedded in eBooks or included in

eReader systems

Two font technologies supported

OpenType

WOFF

Also ChemML & MathML

Page 11: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Scripting

Scripting is supported optionally but discouraged

(except for SVG)

Documents are meant to be rendered. They are

not programs to be executed.

eREADER security and update mechanisms are

limited and primitive.

Will limit portability across eREADERs.

It’s abook, not acomputer !

Page 12: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Text-to-Speech

Uses W3C standards

Speech Synthesis Markup Language (SSML)

Pronunciation Lexicon Specification (PLS)

CSS Speech Module (CSS3Speech)

Page 13: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Digital Rights Management

Not defined in EPUB 3

rights.xml sometimes spotted.

Readium Foundation developing lightweight DRM.

Commercial solutions available.

DRM Features

breaks platform portability

not user friendly (can't backup, iPad->Kindle)

Apple gave up on this. You should too.

Page 14: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Canonical Fragment

IdentifiersStandardizes a way to link within EPUB documents

Hyperlinking within text

Share bookmarks across platforms

Citations

Inter-publication

epubcfi(/6/4[chap01ref]!/4[body01]/10[para05]/3:10)

Intra-publication

<a href="../pub.opf#epubcfi(/6/4[chap01ref]!/4[body01]/10[para05]/2/1:3[;s=b])">location</a>

Page 15: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Container

ZIP!

Multiple files and directories

Compressed

Easy to share and distribute

Not tied to a URL, but must specify the artifact

itself (usually via citation, ISBN, etc.)

No network required

Page 16: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

E-Book DissectionA look at the guts…

Page 17: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

EPUB Guts

XHTML Content Files

Stylesheets

Media/Images

Navigation toc.ncx

Package – content.opf

Metadata: publication data

Manifest: lists all resources in the rendition

Spine: default reading order

Guide (Navigation Document in EPUB3): toc & landmarks

Page 18: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Practical Advice

Page 19: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

EPUB Application Fit

EPUB 2 is widely supported across multiple platforms and tools

Re-flowable text with images and good CSS formatting.

EPUB 3 feature support is spotty and varies by platform and feature.

Can work if you target a specific platform.

Easy

Novels

Manuals

Journals

Textbooks

More Difficult

Computer Programming

Math

Poetry

Picture Books

Page 20: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Select EPUB Editors

Windows Mac LinuxSigil x x xCalibre x x xApple Pages xAdobe InDesign / DreamWeaver

x x

Jutoh x x xtext editor x x x

Page 21: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Workflow

write

edit

approval

strip text

enter allcontent intoEPUB editor

createmedia

markup

exportEPUB

handtweak

test

uploadto

distributor

Kindlegen

validate&

munge

published!

PRODUCTIONPREP DISTRIBUTION

Page 22: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Validation

Adobe EpubCheck

http://validator.idpf.org

EpubCheck on github (FOSS)

Page 23: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Kindle Workflow

Generate EPUB using your favorite workflow.

Edit the source using SIGIL or other low level

editor to tweak start page and other elements.

Use Kindlegen or Kindle Previewer to generate

.mobi file.

Preview with Kindle Previewer

Rinse. Repeat.

Page 24: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Kindle

Kindlegen

Converts files from EPUB, HTML, XHMTL to

mobipocket and KF8 formats

Command line tool

Kindle Previewer

GUI tool that emulates Kindle hardware and

software readers. (requires X11 on Mac)

Will generate .mobi files.

Page 25: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Kindle Start Page

Kindles open .mobi files to the first page instead

of front matter. This is usually undesirable. To

correct you must modify the source.

Open content.opf

Add an element to <guide>

<reference href="Text/Section0001" title="Title

Page” type="text">

Page 26: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Cover Specifications

Size

1600 x 2400

Have smaller cover resolutions available

Produce thumbnails

JPEG

Compress to keep file sizes low!

Page 27: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

ISBNs

Use one for every format, edition, and channel

Fundamental product identifier, like SKU

Bowker is the US ISBN authority

https://www.myidentifiers.com/

Page 28: UNC Chapel Hill 2014 CTC Retreat - Creating epub e books

Resources

Liz Castro, technical writer and EPUB guru

http://www.elizabethcastro.com/

Joel Friedlander, book designer

http://www.thebookdesigner.com/

International Digital Publishing Forum

http://idpf.org/

Sigil

https://github.com/user-none/Sigil

Jutoh

http://www.jutoh.com/

UNC Libraries have many EPUB and other e-Books!