ebook img

EPUB From the Ground Up: A Hands-On Guide to EPUB 2 and EPUB 3 PDF

257 Pages·2013·15.328 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview EPUB From the Ground Up: A Hands-On Guide to EPUB 2 and EPUB 3

BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter Blind Folio: i EPUB from the Ground Up 00-FM.indd 1 22/08/13 4:58 PM BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter Blind Folio: ii About the Author Jarret W. Buse (Huntingburg, Indiana) is a Microsoft Certified Trainer and a Microsoft Certified Systems Engineer. Jarret has been the coauthor of or a contributor to several books on certification topics. He has years of experience working with e-books, including EPUB. He can be contacted at [email protected]. About the Technical Reviewer Devyn Collier Johnson graduated high school at age 16 and has earned four computer certifications: NCLA, Linux+, LPIC-1, and DCTS. He has also created his own chatbot and markup language called Xaiml. Devyn hosts his chatbot, Neo, and the new Xaiml language at https://launchpad.net/neobot. Devyn can be contacted at [email protected]. 00-FM.indd 2 22/08/13 4:58 PM BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter Blind Folio: ii Blind Folio: iii EPUB from the Ground Up A Hands-on Guide to EPUB 2 and EPUB 3 Jarret W. Buse New York Chicago San Francisco Athens London Madrid Mexico City Milan New Delhi Singapore Sydney Toronto 00-FM.indd 3 22/08/13 4:58 PM Copyright © 2014 by McGraw-Hill Education (Publisher). All rights reserved. Printed in the United States of America. Except as permitted under the Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of Publisher, with the exception that the program listings may be entered, stored, and executed in a computer system, but they may not be reproduced for publication. ISBN: 978-0-07-183053-9 MHID: 0-07-183053-7 e-Book conversion by Cenveo® Publisher Services Version 1.0 The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-183052-2, MHID: 0-07-183052-9. McGraw-Hill Education eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative, please visit the Contact Us pages at www.mhprofessional.com. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. Information has been obtained by McGraw-Hill from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, McGraw-Hill, or others, McGraw-Hill does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from the use of such information. TERMS OF USE This is a copyrighted work and McGraw-Hill Education (“McGraw Hill”) and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, transmit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill’s prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms. THE WORK IS PROVIDED “AS IS.” McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, consequential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise. BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter Blind Folio: iv Blind Folio: v I dedicate this book to my beautiful wife, Cassandra. With her, my life is full and would be empty without. God has put us together and kept us together while our love has only grown. Nearly 20 years ago we met, and it seemed that we were the only two souls in the world because it felt as if I’d known you forever. The world did not exist, and we knew we would be together always. Along with my wife I also dedicate this book to our children, all fourteen: the seven we have and the seven lost before birth. To Devyn, Logan, Caleb, Eilly, Alyse, Morgan, and Grant: you were all loved, even before you were born, and with love you endure to face this world. Never give in to the world, for you are always loved. All of you are in my heart, never to leave it. 00-FM.indd 5 22/08/13 4:58 PM This page has been intentionally left blank BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter Blind Folio: vi Contents at a Glance 1 EPUB Defined ............................................................. 1 2 HTML ..................................................................... 27 3 CSS ........................................................................ 69 4 Fonts, Images, and Colors ................................................. 113 5 Navigation Center eXtended (NCX) and Open Packaging Format (OPF) .................................... 129 6 Converting EPUB Files .................................................... 141 7 EPUB Security ............................................................ 155 8 EPUB 3 .................................................................... 169 9 JavaScript ................................................................. 195 Index ...................................................................... 227 vii 00-FM.indd 7 22/08/13 4:58 PM This page has been intentionally left blank BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter BeginNew / EPUB from the Ground Up: A Hands-on Guide to EPUB 2 and EPUB 3 / Jarret Buse / 052-9 / Front Matter Blind Folio: viii Contents ACKNOWLEDGMENTS ........................................................... xiii INTRODUCTION .................................................................. xv 1 EPUB Defined ............................................................. 1 EPUB Version 2 (EPUB 2) .......................................................... 2 Open Container Format ....................................................... 3 Key Word Usage .............................................................. 4 Open Packaging Format (OPF) ................................................ 11 Open Publication Structure (OPS) ............................................. 11 What About the Kindle? ....................................................... 11 What Is SVG? ................................................................ 12 What Is Namespace-based Validation Dispatching Language (NVDL)? ........ 14 What Is DAISY or DTBook? .................................................. 14 What Is an EPUB? .................................................................. 17 Preparing to View the Contents of an EPUB File ............................... 17 Viewing the Contents of an EPUB File ........................................ 20 XML Basics .................................................................. 21 2 HTML ..................................................................... 27 XHTML ............................................................................ 28 What Is XHTML? ............................................................. 28 What’s the Difference Between HTML and XHTML? ......................... 29 ix 00-FM.indd 9 22/08/13 4:58 PM

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.