Docstoc

e-Pub

Document Sample
e-Pub Powered By Docstoc
					              e‐PUB Process 




            Welcome to our
                e-PUB
                Process




By Anand                       Page ‐ 1 -
                               e‐PUB Process 

                             E-book (PDF)
We are to sprit in PDF three Part
First part: (Front Matter)
   1.   Cover page to save (Cover.html)
   2.   Title page to save(Title.html)
   3.   Copyright page to save (Copyright.html)
   4.    Contents page to save (Contents.html)
   5.   Foreword page to save (Foreword.html)
   6.   Preface page to save (Perface.html)
   7.   Acknowledgements page to save (Acknowledgements.html)
   8.   Introduction page to save (Introduction.html)

Second part: (Body Matter)
   1. Chapter to save (Chapter00.html)
   2. Part to save (Part0.html)
   3. Section to save (Section0.html)

Treed part: (Back Matter)
   1.   References(References.html)
   2.   Appendix to save (Appendix.html)
   3.   About the Author to save(Abouttheauthor.html)
   4.   Index to save(Index.html)




By Anand                                                        Page ‐ 2 -
                     e‐PUB Process 



                   OCR to the PDF
                          |
                    Word Replace
                           |
            Tagging For XHtml + Extra Work
                           |
                         QC
                           |
                   Online Validation
                           |
                    QC For .epub
                           |
                    Send For ePUB




By Anand                                     Page ‐ 3 -
                                e‐PUB Process 

            OCR (Optical Character Recognition)

 1.    Open the Abby fine reader ( Ctrl O )

 2.    Select the PDF type the pages you want for example am want 20 pages
       to 40 pages type ( 20-40 )

 3.    Save batch As give page number to save example ( 20-40 )

 4.    Zone for single page ( Ctrl E ) for all pages ( Ctrl Shift E )

 5.    Text zone for green ( Ctrl 2 )

 6.    Table zone for blue ( Ctrl 3 ) (Right click->Analyze Table Structure-
       >click)

 7.    Image zone for red ( Ctrl 4 )

 8.    Go to next page( Ctrl + ) privies page ( Ctrl - )

 9.    Read all pages ( Ctrl Shift R )

 10.   Check spelling ( F7 ) for italic ( Ctrl I ) for bold ( Ctrl B ) for subscript (
       Ctrl + ) for superscript ( Ctrl Shift + ) for underline (Ctrl U) special
       character to copy Character Map (Run->charmap) and past to Check
       spelling window.

 11.   Send all pages to Microsoft Word.

 12.   Close Abby fine reader.




By Anand                                                                        Page ‐ 4 -
                                 e‐PUB Process 

                                Word Replace

Open find and replace ( Ctrl H )




Step 1;
Find what: Tab space (^t)
Replace with: single space ( )


Step 2;
Find what: Double space ( )
Replace with: Single space ( )


Step 3;
Find what: single cote (')
Replace with: single cote (')


Step 4;
Find what: double cote (")
Replace with: double cote (")




By Anand                                          Page ‐ 5 -
                             e‐PUB Process 
Step 5;
Find what: (^b)
Replace with: (<a id=”page_”/>)


Step 6;
Find what: (^g)
Replace with: (<p class="image"><img src="images/f000-00.jpg"
                alt="Image"/></p>)


Step 7
Run Nimas_Cleanup (Tools->Templates and Add-Ins->click the box and click
                   ok)




By Anand                                                             Page ‐ 6 -
                                 e‐PUB Process 



            HTML (Hyper Text Markup Language)

       Heading
       Paragraph, subscript, superscript, bold, italic, attributes, line break, span,
       small caption.
       Border
       Entity
       List
       Inserting an Image.
       Table
       Link



                                Html structure
<html>
<head>
<title>Title</title>
</head>
<body>
………………
……..............
</body>
</html>


                            Tags are three types


   1. Opening tag
   2. Closing tag
   3. Self closing tag


By Anand                                                                        Page ‐ 7 -
                                e‐PUB Process 


                                    Opening tag


The tags are coming for center in a less then (<) and grater then (>) <tag name>
Ex: <html>, <head>, <body>, <title>…………………



                                    Closing tag


All tags are needs to close in html
Closing tags is after less then and back slash (/), tag name and grater then.
</tag name>
Ex: </html>, </head>, </body>, </title>…………………



                                    Self close tag


Some tags only self close in an html
Closing tag in an opening tag
Ex: <br />, <hr />




                                Heading levels:
There are 6 levels in an html tag

The biggest is heading one <h1>




By Anand                                                                        Page ‐ 8 -
                               e‐PUB Process 
Ex:

<h1>heading level 1</h1>

<h2>heading level 2</h2>

<h3>heading level 3</h3>

<h4>heading level 4</h4>

<h5>heading level 5</h5>

<h6>heading level 6</h6>



                                Display in html



heading level 1
heading level 2
heading level 3
heading level 4
heading level 5
heading level 6




                                Paragraph
Para:

<p>This paragraph tag is use in only a paragraph</p>
Display:
This paragraph tag is use in only a paragraph




By Anand                                               Page ‐ 9 -
                              e‐PUB Process 

Bold tag:
The <b> tag can be inside <p> tags.
Ex:
<p><b>Anand</b> Anand</p>


Display:
Anand Anand


Italic tag:
The <i> tag can be inside <p> tags.
Ex:
<p><b><i>Anand</i> Anand</b> <i>Anand</i></p>
Display:
Anand Anand Anand



Superscript tag:
The <sup> tag can be inside <p> tags.
Ex: <p>(a&#x002B;b)<sup>2</sup></p>
Display:
(a+b) 2


Subscript tag:
The <sub> tag can be inside <p> tags.
Ex: <p>H<sub>2</sub>O</p>
Display:
H2O




By Anand                                        Page ‐ 10 -
                               e‐PUB Process 
Attributes you mention in a tag:
<h2 name="value">

Name is an attribute. The main condition is don’t give space in an value.



Line break tag
<br />
Span tag
The <span> tag is an inline-level element.
The <span> tag can only contain other inline elements like abbr, strong, or tt.
The <span> tag can be inside <p> tags or <div> tags.


Div tag
The <div> tag in XHTML is a tag that defines logical divisions within the
content of a page. What this means is that a <div> tag defines sections of a Web
page to make it easier to manage, style, and manipulate. You can use the <div>
tag when you want to center a block of content or position a content block on
the page. The <div> tag is a very powerful tool for Web developers.

Border
<hr />

Display:


Small caption

The <small> tag can be inside <p> tags.
Ex: <p>A<small>NAND</small></p>

Display:

ANAND




By Anand                                                                    Page ‐ 11 -
                                 e‐PUB Process 

Entity
Special charter is need to as code on
html. Entity format is &#x four digit
number followed by semicolon ;


Ex: â

&#x00E2;




List

Lists are two types, Order list and unordered list.
Order list tag <ol>, Unordered list tag <ul>

List items tag <li> is same for two lists.

Order list:

                 Html code                                    PDF
<ol>                                           1.   Anand
<li>Anand</li>                                 2.   Basker
<li>Basker</li>                                3.   Murugan
<li>Murugan</li>                               4.   Vadivel
<li>Vadivel</li>                               5.   Kannan
<li>Kannan</li>
</ol>


Same principal of lower alpha, upper alpha, lower roman, upper roman

Unordered list


By Anand                                                               Page ‐ 12 -
                               e‐PUB Process 

              Html code                                   PDF
<ul>                                     ● Tricuspid (AV valve)
<li>Tricuspid (AV valve)</li>            ● Mitral (AV valve)
<li>Mitral (AV valve)</li>               ● Pulmonic (semilunar valve)
<li>Pulmonic (semilunar valve)</li>      ● Aortic (semilunar valve)
<li>Aortic (semilunar valve)</li>
</ul>


Same principal of circle and square.



Inserting an Image.

<img src="images/f000-00.jpg" alt="Image"/>      ( f000-00 )

The first three digits is page number second two digits number is order of image

Ex: page 89 have one image, we are saving the image name give f089 and
follow by the En Dash (–) then give 01. 01 is nothing but that page has only one
image so that way to save [f089–01.jpg].




By Anand                                                                  Page ‐ 13 -
                             e‐PUB Process 

Table:
    A             B                   <tr>
C             D                       <td>C</td>
                                      <td>D</td>
E             F                       </tr>
                                      <tr>
<table>                               <td>E</td>
<tr>                                  <td>F</td>
<th>A</th>                            </tr>
<th>B</th>                            </table>
</tr>


Link

www.somename.com

<a href="http://www.somename.com">www.somename.com</a>

Ex:         www.google.com

<a href="http://www.google.com">www.google.com</a>



……………………………………………………………………………………….




By Anand                                                 Page ‐ 14 -
                               e‐PUB Process 

     XHTML (eXtensible HyperText Markup Language)

→     For Part number
            • <h1 class="partnum"><a id="p0"/>XXXXX</h1>
→     For Part title
            • <h1 class="parttitle">XXXXXX</h1>
→     For Chapter number
            • <h1 class="chapnum"><a id="c0"/>XXXXXX</h1>
→     For Chapter title
            • <h1 class="chaptitle">XXXXXX</h1>
→     For Contents title
            • <h1 class="tochead">XXXXXX</h1>
→     For full length Text Paragraph
            • <p class="text">XXXXXX</p>




→     For Paragraph with indent spacing
            • <p class="textindent">XXXXXX</p>




→     For Paragraph with hanging indent spacing
            • <p class="hangindent">XXXXXX</p>




By Anand                                                    Page ‐ 15 -
                                  e‐PUB Process 

→     For Block quote
            • <p class="blockquote">XXXXX</p>
→     For References
            • <p class="reference">XXXXX</p>
→     For Figure Caption
            • <p class="caption">XXXXXX</p>
→     For Table Caption
            • <p class="caption1">XXXXXX</p>
→     For Foot note
            • <p class="fn">XXXXXX</p>
→     For Figure coding
            • <p class="image"><img src="images/f000-00.jpg" alt="Image"/></p>
→     For Heading 2
            • <h2 class="heading"><a id="c0-00"/>XXXX</h2>
→     For Heading 3
            • <h3 class="heading1">XXXX</h3>
→     For Heading 4
            • <h4 class="heading2">XXXX</h4>
→     For Bullet List
            • <ul>
            • <li>xxxxxxxx</li>
            • <li>xxxxxxxx</li>
            • <li>xxxxxxxx</li>
            • </ul>

By Anand                                                             Page ‐ 16 -
                                  e‐PUB Process 

→     For Order List (Numeric)
            • <ol>
            • <li>xxxxxxxx</li>
            • <li>xxxxxxxx</li>
            • </ol>
→     For Order List (lower alpha)
            • <ol class="loweralpha">
            • <li>xxxxxxxx</li>
            • <li>xxxxxxxx</li>
            • </ol>
→     For Order List (roman)
            • <ol class="roman">
            • <li>xxxxxxxx</li>
            • <li>xxxxxxxx</li>
            • </ol>
→     For Square List
            • <ul class="squf">
            • <li>xxxxxxxx</li>
            • <li>xxxxxxxx</li>
            • </ul>




By Anand                                           Page ‐ 17 -
                                  e‐PUB Process 

→     All colored Text box need to code as below
            • <div class="box">
            • <p class="xxxxx">xxxxx</p>
            • </div>
→     Table need to code as follows:
            • <table class="table1" border="1" frame="hsides" rules="groups"
              cellspacing="0" cellpadding="0">
            • <thead>
            • <tr>
            • <td>xx</td>
            • <td>xx</td>
            • <td>xx</td>
            • </tr>
            • </thead>
            • <tbody>
            • <tr>
            • <td>xx</td>
            • <td>xx</td>
            • <td>xx</td>
            • </tr>
            • </tbody>
            • </table>




By Anand                                                                Page ‐ 18 -
                                 e‐PUB Process 

→     All IDs need to captured
            • Chapters (<a id="c0"/>)
            • Heading 2(<a id="c0-00"/>
            • Figures (<a id="fig0.0"/>)
            • Tables (<a id="tab0.0"/>)
            • Pages (<a id="page_0"/>)
            • Reference (<a id="ref_0"/>)
→     Id tags need to code at proper place.
→     Links for
            • Chapters (<a href="Chapter00.html#c0">Caption</a>)
            • Figures (<a href="Chapter00.html#fig0.0">Caption</a>)
            • Tables (<a href="Chapter00.html#tab0.0">Caption</a>)
            • Pages (<a href="Chapter00.html#page_0">Caption</a>)
            • Reference (<a href="Chapter00.html#ref_0">Caption</a>)
→     For Copyright
            • 1st hierarchy <p class="cpytxt">
            • 2nd hierarchy <p class="cpytxt1">
            • 3rd hierarchy <p class="cpytxt2">
            • 4th hierarchy <p class="cpytxt3">
→     For Contents coding
            • 1st hierarchy <p class="toc">
            • 2nd hierarchy <p class="toc1">
            • 3rd hierarchy <p class="toc2">
            • 4th hierarchy <p class="toc3">

By Anand                                                               Page ‐ 19 -
                                 e‐PUB Process 

→     For Index coding
            • 1st hierarchy <p class="index">
            • 2nd hierarchy <p class="index1">
            • 3rd hierarchy <p class="index2">
            • 4th hierarchy <p class="index3">
→     NCX file needs to capture up to level 1 after Chapter title.
→     All the entities need to captured in UNICODE
→     Graphics size needs to maintain so it looks good in e-PUB (Not more than
      600 pixel in width.
→     All the links should be valid and linked properly.




By Anand                                                               Page ‐ 20 -
                          e‐PUB Process 

                 EPSILON SHORTCUT KEYS
Help
F1                  help
Shift-F1            context-help
F5                  show-bindings
F6                  what-is
F1 L                show-last-keys
F1 A                apropos
F1 V                show-version
Unbound:            wall-chart, info, man, search-man-pages

Bookmarks
Alt-/               set-bookmark
Alt-J               jump-to-last-bookmark
Ctrl-X /            set-named-bookmark
Ctrl-X J            jump-to-named-bookmark

Buffers
Ctrl-X B            select-buffer
Ctrl-X K            kill-buffer
Ctrl-X Ctrl-K       kill-current-buffer
Ctrl-X Ctrl-B       bufed
Ctrl-(Tab)          switch-buffers
F12, Ctrl-X>        next-buffer
F11, Ctrl-X<        previous-buffer
Ctrl-X Ctrl-Q       change-read-only
                    kill-all-buffers

Commenting Commands
Alt-;                indent-for-comment
Ctrl-X ;             set-comment-column
Alt-(Minus) Ctrl-X ; kill-comment




By Anand                                                      Page ‐ 21 -
                         e‐PUB Process 

Comparing
Ctrl-F2            compare-windows
                   compare-sorted-windows
                   visual-diff
Alt-]              next-difference
Alt-[              previous-difference
                   Unbound: diff, merge-diff

Display Commands
Ctrl-F6          set-show-graphic
Shift-F6         change-show-spaces
                 Unbound: set-color, set-font, hex-mode

EEL Extensions
Alt-F3             compile-buffer
                   Unbound: execute-eel, eval, set-debug,
                   profile, list-undefined
Files
Ctrl-X Ctrl-F      find-file
Ctrl-X Ctrl-V      visit-file
Ctrl-X Ctrl-S      save-file
Ctrl-X Ctrl-W      write-file
Ctrl-F7            copy-to-file
Ctrl-X I           insert-file
Ctrl-X W           write-region
Alt-F9             print-buffer
Alt-˜              change-modified
F7                 cd
Ctrl-X D           dired
Alt-O              quick-dired-command
Ctrl-X Ctrl-L      find-linked-file
Ctrl-X S           save-all-buffers
                   Unbound: revert-file, new-file, set-line-translate


By Anand                                                       Page ‐ 22 -
                         e‐PUB Process 

Formatting
Ctrl-X F           set-fill-column
Alt-Q              fill-paragraph
Alt-Shift-Q        prefix-fill-paragraph
Alt-2 Alt-Q        unfill paragraph
Ctrl-C Ctrl-A      align-region
Ctrl-C>            mail-quote-region
Ctrl-C<            mail-unquote
Ctrl-C Alt-Q       mail-fill-paragraph
                   Unbound: fill-region, auto-fill-mode

HTML/XML Commands
Alt-=        html-find-matching-tag
Alt-i        html-list-element-nesting
Alt-Shift-L  html-list-mismatched-tags
Alt-Shift-E  html-close-last-tag
Alt-Shift-F  html-forward-tag
Alt-Shift-B  html-backward-tag
Alt-Shift-D  html-delete-tag
Alt-Shift-R  xml-sort-by-attribute-name

Indenting
Alt-M              to-indentation
(Tab)              indent-previous
Shift-(Tab)        back-to-tab-stop
Ctrl-X(Tab)        indent-rigidly
Ctrl-Alt-\         indent-region
Alt-S              center-line
Ctrl-X Alt-(Tab)   tabify-region
Ctrl-X Alt-I       untabify-region
Alt-(Tab)          indent-under




By Anand                                                  Page ‐ 23 -
                           e‐PUB Process 

Inserting and Deleting
“NormalKeys”          normal-character
Ctrl-Q               quoted-insert
Alt-#                insert-ascii
Ctrl-O               open-line
(Backspace)          backward-delete-character
Ctrl-D,(Del)         delete-character
Alt-\                delete-horizontal-space
Ctrl-X Ctrl-O        delete-blank-lines
(Ins)                overwrite-mode

Internet
                     view-web-site
Ctrl-Alt-C           show-connections
URL services:        http, ftp, scp, telnet, ssh

Key Bindings
Alt-X, F2            named-command
Alt-F2               show-menu
F4                   bind-to-key
(Esc)                alt-prefix
Ctrl-ˆ               ctrl-prefix

Keys At Prompts
?                    Show matches.
Alt-(Up)             Show previous responses.
Alt-E                Edit a response or match.
Alt-(Down)           Grab next word from buffer.
Alt-(PgDn)           Grab next line from buffer.
Alt-G                Insert alternative response.


Keyboard Macros
Ctrl-X (             start-kbd-macro
Ctrl-X )             end-kbd-macro
By Anand                                            Page ‐ 24 -
                          e‐PUB Process 

Keyboard Macros
Ctrl-F4             last-kbd-macro
Ctrl-X Alt-N        bind-last-macro
Shift-F4            pause-macro

Killing and Yanking
Ctrl-@              set-mark
Ctrl-X Ctrl-H       highlight-region
Ctrl-X Ctrl-X       exchange-point-and-mark
Ctrl-K              kill-line
Ctrl-W              kill-region
Alt-W               copy-region
Ctrl-Y              yank
Alt-Y               yank-pop
Ctrl-Alt-W          append-next-kill
Ctrl-X H            mark-whole-buffer
Ctrl-X #            mark-rectangle
Ctrl-X X            copy-to-scratch
Ctrl-X Y            insert-scratch

Language Support
Alt-’               list-definitions
Alt-i               list-preprocessor-conditionals
Ctrl-CCtrl-R        comment-region
F3, Ctrl-(Up)       pull-word
Ctrl-(Down)         pull-word-fwd
Ctrl-(NumSlash)     browse-symbol

Miscellaneous
Ctrl-G             abort
Ctrl-U             argument
Ctrl-X =           show-point
Ctrl-X L           count-lines
Unbound:           narrow-to-region, widen-buffe

By Anand                                             Page ‐ 25 -
                                  e‐PUB Process 

                              E-Pub Structure
E-Pub Structure Required E-Pub Contents




OEBPS Content




META-INF Content




Why should I use the .epub format?
Because it's a completely open and free standard. The .epub is a standard for
eBooks created by the International Digital Publishing Forum. It consists of basic
XHTML for the book content, XML for descriptions, and a re-named zip file to
hold it all in. Anyone can make these eBooks, and since they're essentially just
XHTML, anyone can read them.

How to Make an ePub eBook by Hand
If you're interested, I figured out the information in this guide by a combination of
reverse engineering the Sherlock Holmes book from Adobe's site, reading through
the specs at the IDPF web site, and trial and error until I got a working eBook to
load properly in Digital Editions. (I figure it's OK to do that since Holmes is in the
public domain now...).


By Anand                                                                     Page ‐ 26 -
                                   e‐PUB Process 

Tools Needed:

   • OCR to PDF Example: ABBYY FineReader 8.0 Professional Edition

   • A text editor. Anything that can edit text files, HTML, and XML. Example:
     Notepad, Epsilon.

   • A .zip program. Anything that can create .zip files. Example: Windows XP's
     built-in .zip support



The Process can be broken down into two parts:

1) Prepare the content

2) Put in the container.

First, let's go check out the official specs. Yes, it's very boring and hard to follow,
but aren't they all? These will come in handy later on though. After getting the
basic structure of the file setup, the official specs are handy to reference for tags
that aren't used very often, or if you can't remember what exactly goes in a certain
tag. Don't let them scare you though, we really only have to fiddle with two XML
files, the rest is either straight XHTML, or files that you can copy from the sample
file that we'll be looking at later.

IDPF Specs:


   •   mimetype - tells a reader/operating system what's in here

   •   META-INF folder - This folder contains, at minimum, the container.xml
       file, which tells the reader software where in the container to find the book.

   •   OEBPS folder - Recommended location for the books content. It contains:
         1. Images folder - images go here

            2. ISBN number.opf - XML file that lists what's in the container

            3. toc.ncx - This is the table of Contents

            4. xhtml files - The book's contents are in these
By Anand                                                                      Page ‐ 27 -
                                   e‐PUB Process 


Lets look at each of these in more detail.
Feel free to extract these files and use them as a template...
One thing to note before we get started: the filenames are case sensitive.
This means that if you have a file named "Chapter1.html" and you refer to it as
"chapter1.html" in the .OPF file or .NCX file, the book will not display properly.

Mimetype
This file is just a plain ASCII text file that contains the line:
"application/epub+zip"
The operating system can look at this file to figure out what a .epub file is instead
of using the file extension. This file must be the first file in the zip file, and must
not be compressed.

META-INF Folder
This contains the container.xml file, which points to the location of the ISBN
number.opf file. This folder is the same for every e-book, so you should be able to
recycle the whole folder from the sample file without making changes.

OEBPS Folder
Images Folder
If you have any images for your eBook, they go in here.

ISBN number.opf
This file gives a list of all files in the .epub container, defines the order of files, and
stores meta data (author, genre, publisher, etc.) information.
Note that this file can be named anything you want to call it, as long as the
container.xml file mentioned above points to the correct filename.
Lots of stuff in this file. I'll go through each required tag here. Check the specs to
see more information about optional meta data tags.

dc:title - Title of the book
dc:language - Identifies the language used in the book content. The content has to
comply with RFC 3066. List of language codes. (I'd just copy the language tag
from the sample...)
By Anand                                                                         Page ‐ 28 -
                                  e‐PUB Process 
dc:identifier - This is the book's unique ID. This has to be a unique identifier for
every different e-book. The spec doesn't give any sort of recommendation for what
to use, but an ISBN number would be a good bet. I used the name of my web site
and the date and time.
One thing to note, because of how the file interacts with toc.ncx, just modify what's
after the " uuid:" on this line.
Next comes the manifest. This is just a listing of the files in the .epub container,
and their file type.
Each item is also assigned an item ID that's used in the spine section of ISBN
number.opf. This list does not have to be in any particular order.
The spine section lists the reading order of the contents. The spine doesn't have to
list every file in the manifest, just the reading order. For example, if the manifest
lists images, they do not have to be listed in the spine.

toc.ncx

This is the table of contents. This file controls what shows up in the left Table of
Contents pane in Digital Editions
Things you need to change:

Make sure the uid matches what you have in ISBN number.opf
doctitle: The text inside the text tag is what will show up as the books title in the
reader software

The navpoint tag.
Each nav point is a chapter listing, the text is the chapter name, and the src is the
file it links to.
If you copy a navpoint tag set to add chapters, make sure to update the id and
playorder values.
Notes:
According to the spec, the ID can be anything you want, but it's easier to keep
track of things if you use the same ID you used for that file in the .OPF file. Also,
some readers won't properly display the Table of Contents if the ID doesn't match.
Also, the playorder values have to be in order. (An item with playorder 1 will be
before an item with playorder 2, etc.) They also have to be listed in order, and can't

By Anand                                                                      Page ‐ 29 -
                                  e‐PUB Process 
have any gaps. (You'll get an error if you jump from 1 to 20, etc)

page-template.xpgt
This file isn't part of the IDPF spec, but Adobe Digital Editions uses it for
formatting and setting column settings and whatnot. You don't need this file at all,
but your book will look nicer in Digital Editions if you include it. Other readers
should just ignore it.
Note: You can use a .css style sheet file to layout styles for your book as well. Just
make sure to list it in the manifest section of ISBN number.opf
Also of note here, any styling should be done in a CSS stylesheet, and not in the
document.

Content .xhtml files
Content files should be XML 1.1 documents
If you're not familiar with XML, it's basicly HTML with closing tags for every
element, and several style tags are not supported.

Making the Container
Now we make the .epub container that all these files go in.
 1. Create an empty .zip file with whatever name you like
 2. Copy the mimetype file into the zip file (don't use compression on this file)
 3. Copy the rest of the files and folders mentioned above into the zip file *
 4. Re-name the .zip extension to .epub

* The specification recommends that the books files go in an "OEBPS" folder
inside the zip file. If you put them in another spot, be sure that container.xml in the
META-INF folder points to the correct location of the *.opf file.

The zip file layout should look something like this:




By Anand                                                                     Page ‐ 30 -
                                  e‐PUB Process 
mimetype
META-INF
container.xml
OEBPS images
ISBN number.opf
toc.ncx
stylesheet.css
content.html


You should now be able to open your eBook in Adobe Digital Editions, or any
other reader that supports the .epub format.
If you want to cheat, download the file below. It's a zip file that has empty chapter
pages, and the content and toc files pre filled out, so all you have to do is copy and
paste your content into the empty files, and modify the OPF and NCX files.


Checking your ePub file
So you've made a sample ePub book, and it won't open, or it opens with an error,
or looks funky. What now?
epubcheck is a program that will scan your ePub file and display any errors it finds
in the book.




By Anand                                                                     Page ‐ 31 -

				
DOCUMENT INFO
Shared By:
Tags:
Stats:
views:210
posted:4/12/2012
language:English
pages:31
Description: e-pub