ebook production jumpstart - idpf

41
eBook Production Jumpstart Copyright © 2012 eBook Architects LLC. All rights Reserved. Joshua Tallent Founder/CEO @jtallent / @ebookarchitects

Upload: others

Post on 14-May-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: eBook Production Jumpstart - IDPF

eBook Production Jumpstart

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Joshua Tallent

Founder/CEO

@jtallent / @ebookarchitects

Page 2: eBook Production Jumpstart - IDPF

eBook Workflows

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 3: eBook Production Jumpstart - IDPF

Standard InDesign ePub Workflow

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 4: eBook Production Jumpstart - IDPF

Standard Kindle Workflow

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 5: eBook Production Jumpstart - IDPF

If you must convert an ePub…

Get used to disappointment

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 6: eBook Production Jumpstart - IDPF

Best In-House Kindle Workflow

Copyright © 2012 eBook Architects LLC. All rights Reserved.

OPF

Page 7: eBook Production Jumpstart - IDPF

Common Outsourcing Workflow

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 8: eBook Production Jumpstart - IDPF

Better Outsourcing Workflow

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 9: eBook Production Jumpstart - IDPF

• ePub files pass ePubCheck and ePubPreflight

• Kindle file not just a conversion from the ePub

• Clean, human-readable, semantic HTML code

• Limited number of styles, used properly

• Correctly formatted and positioned images

• NCX and OPF metadata correct

• Tables formatted properly for all devices

• Subject Index (and others) linked to page numbers

• The QED standard is a great place to start

qualityexcellencedesign.com

Signs of a Good eBook Conversion

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 10: eBook Production Jumpstart - IDPF

Build a relationship with your conversion vendor.

In eBook conversions,

you do get what you pay for…

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 11: eBook Production Jumpstart - IDPF

ePub 3

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 12: eBook Production Jumpstart - IDPF

New in ePub3

• XHTML5

• Spine can have HTML and SVG

• Video & audio support

• EPUB 3 Audio Overlays

• JavaScript support

• Enhanced global language support (vertical writing, writing directions)

• MathML support

• CSS media-queries

• CSS3 styling with ePub-specific prefixes

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 13: eBook Production Jumpstart - IDPF

New in ePub3

• XHTML5

• Spine can have HTML and SVG

• Video & audio support

• EPUB 3 Audio Overlays

• JavaScript support

• Enhanced global language support (vertical writing, writing directions)

• MathML support (not complete)

• CSS media-queries

• CSS3 styling with ePub-specific prefixes

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 14: eBook Production Jumpstart - IDPF

Kindle Format 8

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 15: eBook Production Jumpstart - IDPF

Kindle Format 8 is not ePub

Page 16: eBook Production Jumpstart - IDPF

Features of KF8

• All of the same features as Mobipocket, including:

– Image downsampling

– Dictionary and Index markup

– Packaged in a PRC container

• Some support for HTML5 and CSS3

• Fixed layout capabilities

• Comic books with panel view options

• Dual old and new format packaging for backwards compatibility

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 17: eBook Production Jumpstart - IDPF

Can’t I just convert an ePub file into to the KF8 format?

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 18: eBook Production Jumpstart - IDPF

Reasons you need a Kindle eBook

• Differences between the Kindle and ePub formats

• Differences in how Kindle files display on various Kindle devices

• Backwards compatibility issues that are easier to develop for in Kindle source code

• Complexity of creating a single ePub file for all devices

An example: Casablanca

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 19: eBook Production Jumpstart - IDPF
Page 20: eBook Production Jumpstart - IDPF
Page 21: eBook Production Jumpstart - IDPF

Dropcaps

span.dropcap {

float: left;

font-size: 3.2em;

font-weight: bold;

line-height: 1;

margin: 0 0.1em 0 0;

height: 0.9em;

}

Copyright © 2012 eBook Architects LLC. All rights Reserved.

span.dropcap{

font-size: 3.2em;

font-weight: bold;

float: left;

line-height: 1;

margin-top: 0;

margin-right: 0.1em;

margin-bottom: 0;

margin-left: 0;

height: auto;

}

Page 22: eBook Production Jumpstart - IDPF
Page 23: eBook Production Jumpstart - IDPF
Page 24: eBook Production Jumpstart - IDPF
Page 25: eBook Production Jumpstart - IDPF
Page 26: eBook Production Jumpstart - IDPF

A note about default styling

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 27: eBook Production Jumpstart - IDPF
Page 28: eBook Production Jumpstart - IDPF

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 29: eBook Production Jumpstart - IDPF

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 30: eBook Production Jumpstart - IDPF

Introduction to Media Queries

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 31: eBook Production Jumpstart - IDPF

It is easier to make different versions of your eBooks for

the different retailers than to use media queries on a single

file

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 32: eBook Production Jumpstart - IDPF

If you use media queries, test the files extensively

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 33: eBook Production Jumpstart - IDPF

Media Queries

• Useful for applying styles that work in some devices or settings, but not in others.

• Most powerful in iBooks on the iPad, and in KF8

• Standard values are all and screen

• Can also target devices based on screen dimensions with width and height, or min-/max- values

• More general, use orientation

• Adobe RMSDK/ADE does not have support for media Queries except all; breaks when @media in CSS has orientation, etc.

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 34: eBook Production Jumpstart - IDPF

Inline Media Queries

• Nook ignores CSS after an inline media query

p {...}

@media all and (orientation:portrait) {

p {...}

}

@media all and (orientation:landscape) {

p {...}

}

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 35: eBook Production Jumpstart - IDPF

Linked Media Queries

• This will allow for different CSS files, for example, for general styles, portrait, and landscape:

<link href="styles.css" type="text/css" />

<link media="all and (orientation:portrait)"

href="portrait.css" type="text/css" />

<link media="all and

(orientation:landscape)"

href="landscape.css" type="text/css" />

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 36: eBook Production Jumpstart - IDPF

KF8 Media Queries

• KF8 and mobi-specific media references

<link media="amzn-mobi" href="mobi.css"

type="text/css" />

<link media="amzn-kf8" href="kf8.css"

type="text/css" />

-------------

<link media="not amzn-mobi" href="mobi.css"

type="text/css" />

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 37: eBook Production Jumpstart - IDPF

Making KF8 source

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 38: eBook Production Jumpstart - IDPF

Converting ePub to KF8

• Rip open the ePub, pull out the OEBPS folder and related files

• Remove the Cover HTML file and all references in OPF and NCX

• Move anchors in front of formatting tags

• Optional: change anchors to name= (not id=)

• Convert poetry, lists, etc. to KF8 backwards compatibility formatting

• Flatten transparent PNGs and GIFs

• Small images must have width and height attributes

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 39: eBook Production Jumpstart - IDPF

[code example] The Book of Texas

Copyright © 2012 eBook Architects LLC. All rights Reserved.

Page 40: eBook Production Jumpstart - IDPF

Copyright © 2012 eBook Architects LLC. All rights Reserved.

eBookNinjas.com

#eprdctn eprdctn.org

Page 41: eBook Production Jumpstart - IDPF

Q & A

Joshua Tallent

Founder/CEO

[email protected]

512-939-3466

www.ebookarchitects.com

www.kindleformatting.com

@jtallent // @ebookarchitects

Copyright © 2012 eBook Architects LLC. All rights Reserved.