EVERY GOOD EBOOK NEEDS A GOOD EDITOR Demystifying EPUB Structure for Non-Coders © Christen Thomas

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Web Development & Design Foundations with XHTML
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
WeB application development
Website Design.
Cascading Style Sheets
XHTML Basics.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
HTML Introduction HTML
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
EBook Authoring Tools alternatives to apple’s ibook publisher.
Creating and publishing accessible course materials Practical advise you can replicate.
Basics of HTML.
Create a Website Session I Key Components Hands-on HTML.
Creating a Simple Page: HTML Overview
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
Creating a Basic Web Page
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
CS 299 – Web Programming and Design Introduction to HTML.
Basic HTML e-Learning Tutorial Storyboard Linda Sauerbrun AET/545 February 15, 2015 Dr. Poe.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Introduction to web development and HTML MGMT 230 LAB.
HTML: Hyptertext Markup Language Doman’s Sections.
ECA 228 Internet/Intranet Design I Intro to Markup.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
WEB APPLICATION DEVELOPMENT For More visit:
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
HTML. HTML: What is it? – HTML stands for Hyper Text Markup Language – An HTML file is a text file containing small markup tags – The markup tags tell.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
HTML Basics.
XHTML Basics.
XHTML Basics.
XHTML Basics.
XHTML Basics.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
XHTML Basics.
Presentation transcript:

EVERY GOOD EBOOK NEEDS A GOOD EDITOR Demystifying EPUB Structure for Non-Coders © Christen Thomas

What should an editor know about ebooks?  QA (Quality Assurance)  Formats  EPUB Structure  Basic coding  Workflow  DRM (Digital Rights Management)

Editors know markup!

Ebooks use markup too… (we’ll break this down later)

Consistency, clarity, & conciseness Editors know all about these three goals. Good code should follow the same rules.

CMOS for print = EPUB check for ebooks

Editors know content best, & are best suited to check it EPUB coding consists of the book’s content, and applying styles which control what that content looks like. Example: H1 = Heading 1. The name of the heading is the content. The font size and treatment is the style.

What does it mean to edit an ebook? Approach the ebook as a reader. Use multiple devices. ie: Are headers or captions appearing isolated from text? ie: Are illustrations rendering correctly or scale with the device?

Examples of bad QA

Bad UX (User Experience)

Common QA errors  Weird f o r m a t t i n g  Missing, duplicated, or incorrect text  Misplaced or unanchored images  Broken links (Table of Contents, endnotes, URLs)  Typohs [sic]  Image quality  Unsupp ☐ rted char ☐ cters

EBOOK FORMATS Definitions, description, and support

versus format  ePUB: Content priority over design. Reflowable and accessible over many devices.  PDF: Priority in design matching print. Complex content.

ePUB: In detail  Reflowable content, across devices  Best for text only with little formatting  Require reader software  User can change font and size  Screen size irrelevant  No page references  Images lower quality, often b&w

EPUB has a bit of a poetry problem… BADBETTER

 New standard  Supports HTML 5, audio, embedded videos

PDFs: in detail  Control design & presentation  Ideal for complex content  Maintains format of print regardless of device  Requires scrolling or a large screen  Good quality of images

s

Ebooks and Ereaders

Mobi  Amazon’s proprietary format  Offer free conversion from ePub for publishers  Don’t offer the Mobi file in return  Small differences in formatting from ePub  Why better to convert to their format yourself?

KF8  Used on Kindle Fire (Amazon)  Replaces Mobi  Supports HMTL 5, CSS3 (ePUB 3 features)

IBA format  iBooks Author  Proprietary Apple format  Similar to EPUB, cannot be read or edited as an EPUB document

Fixed-Layout EPUB (FXL)  Keeps same layout and design as print, can also be enhanced and interactive  Styles and layouts are not reflowable  Amazon, B&N, Kobo, Apple accept them  Mostly kids books

Fixed-layout EPUB sample

When to use fixed-layout  _content=BISG+Bulletin+February+2013+CID_0678d12b99c1467a9de3f67c21f94b6e&utm_source= %20marketing%20softwar e&utm_term=httpwwwbisgorgpublicationsproductphpp28c437  If placement of text, tables, illustrations, is essential to maintain text or story  for titles that must match print-book layout (ex. contractual obligation to replicate printed work)  For children’s books, illustrated textbooks, cookbooks, 2-page- spreads, full-bleed art books

Enhanced Ebooks  Video, audio  Can embed PDFs  XHTML tables  Additional internal and external hyperlinks

Enhanced ebook sample: eBook Architects

EPUB STRUCTURE Looking at its folders and files to demystify

EPUB structure overview: EPUB files consist of content & style (chapter files in HTML & CSS file) Additional content in an EPUB: - cover page - copyright page - table of contents EPUB structure files: - mimetype - META-INF and container.xml file - OEBPS and the OPF and NCX

Exercise: Unzip/Zip EPUB file Download EPUBZip hread.php?t=55681 Select a DRM-free EPUB file and then UnZip it. Now you can look at the contents! Open an XHTML file. You can also select your EPUB folder and Zip it: this will create a Zipped EPUB on your Desktop.

Exercise: Validate your EPUB file Go to Select your EPUB file Try introducing an error into an XHTML file (like removing some of the tags), zip the EPUB and validate. Read errors, fix and try again.

HTML & CSS The building blocks of EPUB

EPUB = machine / human readable

What is HTML?  Markup Language developed for the internet  How text and media are displayed by a browser  Text-only file with tags  EPUB uses HTML to markup ebook text  Like proofreading markup, HTML is notation inserted into text  Tells browser and ereader how the manuscript is interpreted  Lots of resources to find HTML tags!

Without HTML Text like this: Chapter 1 Once upon a time, … They lived happily ever after. Displays like this in a browser, without any markup: Chapter 1 Once upon a time, … They lived happily ever after.

With a little HTML Add this markup: Chapter 1 Once upon a time, … They lived happily ever after. And it will display like this: Chapter 1 Once upon a time, …. They lived happily ever after.

What can HTML describe?  Heading levels  Paragraph breaks  Line breaks  Block quotes  Font sizes  Basic text styles (italic, bold)  Lists  Tables  Links  Images

Some basic HTML tags Paragraph bold or strong italics or emphasis To break a line of text use the break tag. Note that it only requires one tag, not an open and close tag.

Structure of an HTML file HTML is plain text. Write it in a plain text editor, such as Sublime Text, Notepad, or TextEdit. Microsoft Word imposes hidden markup which will interfere with your HTML file/needs clean up. Text editors default to a.txt file, but you can save it as an.html file or.xhtml file. Wait, WHAT IS THAT?!

So what is XHTML? XHTML is used in EPUB. It follows stricter rules. But everything covered so far is true of HTML and XHTML. XHTML has more detailed declarations. Tags are Case Sensitive. All tags are paired with an ending tag. XHTML is not a different language than HTML, think of it as a different accent.

HTML: created for browsers A browser can understand this: But that doesn’t look very good, does it? To make it human readable, what to do…?

Whitespace Whitespace makes code readable to humans, and easy to edit. Also, indentation helps. Isn’t this better?

What are those angled brackets? Define the structure of HTML Components of your book Skeleton of the EPUB’s content Usually, you need a pair of tags: An opening tag and a closing tag with an forward slash

your content is here!

Nested tags Tags can be "nested" within other tags, like this: (This is referred to "parent" node and "child" nodes)

Here’s how it works: is nested between opening and closing tags meaning that is the parent node and is the child node. also happens to be a child node of. is the always the "root" node and has no parent nodes. and are on the same level. They are both child nodes of. How do you show this?

Indentation helps Title goes here Content appears!

What is CSS? Cascading Style Sheets The difference between content (like text) and presentation (font, text colour and size) “Cascading” means it should reduce redundant styling HTML describes content, not how it looks. CSS gives you control over how this content is displayed.

CSS styling not in HTML:  Leading (line height)  Letter-spacing  Paragraph indenting  Control over serif or sans serif  Finely calibrated font size  Margins and padding on elements  Element outlining

CSS: Control in one central place  You can set the style once, and have it applied everywhere. You can tweak styles in one place to change the entire document.  This is an efficient workflow! And maintains consistency.

EPUB structure takeaways EPUB consists of chapters in xhtml, plus a CSS file One CSS file is used per book, applies styles to all content EPUB links and orders the content, includes a table of contents and book cover, and lets an ereader understand it Homework: As per previous exercises, get your hands on a DRM-free EPUB file. Unzip the EPUB Look at use of CSS and HTML with your new knowledge! Make some coding changes and look at the results.

Resources on EPUB  Great tutorial and listing of HTML and CSS tags  EPUB Straight to the Point: Industry go-to book about learning EPUB  Free tutorial on EPUB  from-indesign-to-ebook/: Resources, tutorials, articles on ebook production from-indesign-to-ebook/  Ladies Learning Code: HTML & CSS

WORKFLOW CONSIDERATIONS Scheduling, conversion, version control, cost

Workflow suggestions  know your ebook formats at acquisitions  go from production final files to ebook files to avoid parallel changes  use templates if possible in InDesign  consider tools like InCopy to improve marking up paper and designer input of changes  To “mark up” corrections in an ebook, reference chapter, quote, instead of page #  If a PDF format, mark up as per print

Workflow/QA takeaways  Don’t let your readers be your proofreaders, this undermines your product. – Laura  Test on multiple ereading devices, use ePubCheck  Treat the ebook as relatively raw manuscript not printed duplicate of edited book  When you OCR, expect more QA  Balance your conversion house options with time you have to fix mistakes

DRM What is DRM, and what does it do?

DRM: Digital Rights Management When you are reading ebook, do you feel that DRM: a) Protects the publisher and author from piracy b) Interferes with your reading experience c) You don’t notice it d) Forces you to read/purchase within a closed ecosystem e) You remove the DRM f) Prevents you from owning or sharing the ebook

Digital Publishing Resources  eBOUND Canada and BookNet Canada  #eprdctn on Twitter  Mobileread forum  Digital book conferences (Digital Book World, TechForum, eBOUND workshops, BookSummit, and BookCamp – Free!  Bloggers like Mike Shatzkin

Thank