| Part 1 | Format your book in MsWord |
| Part 2 | Import your book into Mobipocket Creator |
| Part 3a simple NCX |
How to make your simple, basic, no frills NCX file
Bookmark each chapter in MSWord and then cut and paste the NCX file with a few simple changes. |
| Part 3b difficult NCX |
How to make your more difficult, versatile NCX file
Find reference numbers in HTML code and add Chapter names, subheadings, and navigation for copyright page etc. |
| Part 4 |
Change entries in your .opf file for your NCX file
Build your book for the second time |
To convert to newest file format:
> Office Button > convert > newest file format > ok
Then Save it
> Office Button > Save > click
Be patient, this may take a while, especially if you have a big book.
This converts and saves it as a .docx file
About my table:
I had a table in the middle of my book and it went crazy in the Kindle version, so I converted mine to a .jpeg. The table was a bit fuzzy, but still readable. (I made a blank canvas, 8.5ins x 11 ins in Photoshop, and cut and pasted my table into the blank page. I then doctored it and saved it as a .jpg. There may be better ways of doing it.)
Short-cut to make a page break:
Put the cursor at the end of the text of the chapter and then Ctrl+Enter creates a page break.
Insert the image first.
> insert> picture > browse to find your picture > insert
This will put your photo in the top left corner. You need to center it now.
I seem to get two different screens next, depending on whether my book is a .doc file or a .docx file.
To center photo in .doc files
> Right click in the photo > format picture > layout > advanced > text wrapping > top and bottom > ok > center > ok
To center photo in .docx files
> Left click inside photo > Format > Position > more layout options
> Alignment > centered relative to > page
> text wrapping > top and bottom > ok
"How to Raise Day-Old Chicks in Your Back Yard",
By Jenny Robson.
Then insert a page break.
To insert a bookmark
Put your cursor before the first line of the page you wish to bookmark, or right cick inside an image.
> insert > bookmark > type the name of your bookmark > click add
If you want to mess around with the formatting of the Headings in the TOC, here is what I found worked for me.
It looks like this when altered.
Chapter 1
Discussion of Chicken Breeds
Old fashioned breeds
Giant breeds
Mid-size breeds
Small Layer breeds
Chapter 2
Space Needs
Layer chicks
Broiler chicks
Chapter 3
Heat and Ventillation Needs
I reformatted Heading 1 to have a 10pt space before it, to give a break before the next Chapter xx, and I put zero extra space after it.
I reformatted Heading 2 to be bold and not italic.
I reformatted Heading 3 to be regular type, not bold, and to be italic.
Here is what I did:
References > Table of Contents > Insert Table of contents
Format > From Templates, and uncheck Show Page Numbers
click Modify
> TOC1 > modify again
> Format > Paragraph > space before = 10pt, space after = 0 pt > ok > ok
> TOC2 > modify > check bold B and uncheck italic I
> Format > Paragraph > space before = 0pt, space after = 0 pt > ok > ok
> TOC3 > modify > uncheck bold B and check italic I > ok > ok
Uncheck Show Page Numbers if it has secretly checked itself again.
Ok
Check that your TOC bookmark is still where it should be.
To remove page numbers from the TOC
> References > Click down arrow for Table of Contents > insert TOC (even if you already have one made) > unclick Show Page Numbers > ok
> insert > bookmark > type the name of your bookmark > click add
To change filename extension to .doc
> Office Button > save as > MsWord 2003 - 2007 document > .doc file, not .docx > save
To convert your whole book to Filtered HTML in MsWord.
Open your book file, /My Books/Chicken Book.doc, if it is not already open.
> Office Button > Save As > Other
formats > file type > web page > filtered html
This puts the .htm or .html file in your /My Books folder (the same folder as your .doc file)
To import Your File into Mobipocket Creator
> Import from existing file > .html document
Browse to find your filtered .html file in /My Books/ folder
> Highlight the name Chicken Book.html > Open
> Click Import
To insert a cover image in Mobipocket Creator
Cover Image > Add a cover image > Browse > find your cover image on your hard drive
> Open > click Update at the bottom of the screen
Wait while it uploads your image and then the screen will change back to the Publication Files screen on its own.
To add a guide item for toc in Mobipocket Creator
New Guide Item > click
Type > find toc in the drop-down list > click.
Filename > Browse to your filename in your My Publications folder and highlight it.
> Open > click
Right arrow to the
end of the filename and insert #toc at the end of the filename. You do need the #sign, eg. ChickenBook.html#toc
To add a Guide item for your Title in Mobipocket Creator
Type > find title page in the drop-down list > click.
> Title> will automatically fill in with the words Title Page
> Filename > Browse to your filename in your My Publications folder and highlight it.
> Open > click
Right arrow to the
end of the filename and insert #title at the end of the filename. You do need the #sign, eg. ChickenBook.html#title
To make a Guide item for a cover image which has not been imported separately into Mobipocket Creator
> New Guide Item > click
> Type > find other.ms-coverimage in the drop-down list > click.
> Title > will automatically fill in with the word Cover
> Filename > Browse to your filename for the .html file, example ChickenBook.html, in your My Publications folder and highlight it.
> Open > click
> Right arrow to the
end of the filename and insert #cover at the end of the filename. You do need the #sign, eg. ChickenBook.html#cover
>
To make other Guide items in Mobipocket Creator
> New Guide Item > click
> Type > find copyright page, or whatever, in the drop-down list > click.
> Title > will automatically fill in with the words Copyright Page or whatever.
> Filename > Browse to your filename in your My Publications folder (NOT My Books folder) and highlight it.
> Open > click
> Right arrow to the
end of the filename and insert #copyright at the end of the filename, or whatever you have called your bookmark. You do need the #sign, eg. ChickenBook.html#copyright
Bookmark your chapters
Open your final word document, the last one you made before converting it to filtered HTML, called My Books/ChickenBook.doc
Insert a bookmark at each Chapter number.
Call them chap1, chap2, chap3 etc, in small letters with no spaces, to correspond to your chapter number.
It does not matter if you have bookmarked Chapter 1 with a start bookmark, just put a chap1 bookmark in as well as the start bookmark.
To insert a bookmark
Put your cursor on the word Chapter xx
> insert > bookmark > type the name of your bookmark > click add
>Once you have put in all your chapter bookmarks, Save it again as Chicken Book.doc, not .docx or anything else.
To convert your whole book to Filtered HTML in MsWord.
Open your book file, /My Books/Chicken Book.doc
> Office Button > Save As > Other
formats > file type > web page > filtered html
It will come up with a message saying you already have a file named that, do you want to replace it?
Yes
This puts the .htm or .html file back into your /My Books folder (the same folder as your .doc file)
To replace the .html file in Mobipocket Creator with this new version.
You should still be be in MSWord in /My Books/ChickenBook/Chickenbook.html
> Office Button > Save As > scroll to your MyPublications folder
> highlight your book folder, ChickenBook > open
> Save.
You should be saving your chickenbook.html file in /My Publications/ChickenBook/Chickenbook.html
Make sure it has the same name and .html or .htm extension as the one that is already in MyPublications folder.
It will come up with a message saying you already have a file named that, do you want to replace it?
Yes
To make a new blank text file
> My Publications/Chicken Book/
> Highlight folder Chicken Book
> File > New > Text Document > click
> Fill in ncx.html in the space for the file name. If the space is no longer flashing, click once inside the name and you should be able to write in it.
> A message comes up saying If you change a file name extension, the file may become unusable. Do you want to change it?
> Yes
To open the file in Notepad or EditPlus
> Right click the file name ncx.html
> Open with
> Notepad, or your own special text editor if you have one
> Save your changes as you work as File Type > html, all files or custom.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN"
"http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
<ncx version="2005-1" xml:lang="en"
xmlns="http://www.daisy.org/z3986/2005/ncx/">
<head>
<!-- The following four metadata items are required for all NCX
documents,
including those conforming to the relaxed constraints of OPS 2.0 -->
<meta name="dtb:uid" content="123456789X"/> <!-- same as in
.opf -->
<meta
name="dtb:depth" content="1"/> <!-- 1 or higher -->
<meta name="dtb:totalPageCount" content="0"/> <!-- must be
0 -->
<meta name="dtb:maxPageNumber" content="0"/> <!-- must be 0
-->
</head>
<docTitle>
<text>How to Raise Day-Old Chicks in Your Back Yard</text>
</docTitle>
<docAuthor>
<text>Robson, Jenny</text>
</docAuthor>
<navMap>
<navPoint id="nav1"
playOrder="1">
<navLabel><text>Chapter 1</text></navLabel>
<content src="ChickenBook.html#chap1"/>
</navPoint>
<navPoint id="nav2"
playOrder="2">
<navLabel><text>Chapter 2
</text></navLabel>
<content src="ChickenBook.html#chap2"/>
</navPoint>
<navPoint id="nav3" playOrder="3">
<navLabel><text>Chapter 3</text></navLabel>
<content src="ChickenBook.html#chap3"/>
</navPoint>
</navMap>
</ncx>
> Highlight the filename ncx.html in My Publications folder
> right click the mouse
> click rename
> type in toc.ncx
> hit enter (or return or whatever)
To make a new blank text file
> My Publications/Chicken Book/
> Highlight folder Chicken Book
> File > New > Text Document > click
> Fill in ncx.html in the space for the file name. If the space is no longer flashing, click once inside the name and you should be able to write in it.
> A message comes up saying If you change a file name extension, the file may become unusable. Do you want to change it?
> Yes
To open the file in Notepad or EditPlus
> Right click the file name ncx.html
> Open with
> Notepad, or your own special text editor if you have one
> Save your changes as you work as File Type > html, all files or custom.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN"
"http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
<ncx version="2005-1" xml:lang="en"
xmlns="http://www.daisy.org/z3986/2005/ncx/">
<head>
<!-- The following four metadata items are required for all NCX
documents,
including those conforming to the relaxed constraints of OPS 2.0 -->
<meta name="dtb:uid" content="123456789X"/> <!-- same as in
.opf -->
<meta
name="dtb:depth" content="1"/> <!-- 1 or higher -->
<meta name="dtb:totalPageCount" content="0"/> <!-- must be
0 -->
<meta name="dtb:maxPageNumber" content="0"/> <!-- must be 0
-->
</head>
<docTitle>
<text>How to Raise Day-Old Chicks in Your Back Yard</text>
</docTitle>
<docAuthor>
<text>Robson, Jenny</text>
</docAuthor>
<navMap>
<navPoint id="nav1" playOrder="1">
<navlabel><text>Copyright</text></navLabel>
<content src="Chicken Book.html#copyright"/>
</navPoint>
<navPoint id="nav2"
playOrder="2">
<navLabel><text>Chapter 1 - Discussion of Breeds</text></navLabel>
<content src="ChickenBook.html#_Toc309662188"/>
</navPoint>
<navPoint id="nav3"
playOrder="3">
<navLabel><text>Chapter 2 - Space Needs
</text></navLabel>
<content src="ChickenBook.html#_Toc309662196"/>
</navPoint>
<navPoint id="nav4" playOrder="4">
<navLabel><text>Chapter 3 - Heat and Ventilation Needs</text></navLabel>
<content src="ChickenBook.html#_Toc309662200"/>
</navPoint>
</navMap>
</ncx>
To open the code of My Publications/Chicken book/Chicken book.html in Mozilla (best) and Internet Explorer (second best)
>Go into Windows Explorer (not Internet Explorer)
>Double click your .html file name with the LEFT mouse button
It should automatically open in your default browser
Put your cursor in the middle of the page
>RIGHT click
>click View Source or View Page Source
You should now be looking at a source code.
EITHER use the "find" feature of the browser or text editor
> edit > find > Chapter
It should stop at Chapter 1.
then for chapter 2 and the rest click > find next
When you have found "Chapter 1" move on to the next blue box before finding your other chapters.
OR if that does not work
Scroll down in the code past a long list of black writing and then you should begin to see code in colored writing and your text and headings in non-bold black text.
Look for the word Chapter 1.
Example:
<a href="#_Toc309662188"><span
style=
"font-family:"Times New Roman","serif""
>Chapter 1</span></a>
You are looking for an anchor tag (<a....) that looks like this <a href="#_Toc309662188"> close to and before the heading that you want included in the NCX navigation file in your final Kindle book. You will be using the reference number that you see there, in this case it is #_Toc309662188.
You must include the # sign.
I have tried many experiments to find the easiest way to find these numbers, and the way I have used is the easiest I can find, although I am afraid it is still not a walk in the park for those of you do not know HTML. If you decide not to persevere and make your NCX file, you will loose some of the navigation features of the Kindle books. However, you will still have the Table of Contents.
<navPoint id="nav2"
playOrder="2">
<navLabel><text>Chapter 1 -
Discussion of Breeds</text></navLabel>
<content src="Chicken Book.html#_Toc309662188"/>
</navPoint>
<navPoint id="nav3"
playOrder="3">
<navLabel><text>Giant Breeds</text></navLabel>
<content src="Chicken Book.html#_Toc309662191"/>
</navPoint>
Notice this Toc number is different than that for Chapter 1.
> Highlight the filename ncx.html in My Publications folder
> right click the mouse
> click rename
> type in toc.ncx
> hit enter (or return or whatever)
Do NOT save in Mobipocket Creator or the changes will be removed.
<manifest>
<item href="toc.ncx" id="ncx"
media-type="application/x-dtbncx+xml" />
</manifest>
Change the spine tag from <spine> to <spine toc="ncx">
To rebuild your book a second time:
Go back into Mobipocket Creator.
Either hit the link to go back to the publication files,
or
> Click OPEN on the top bar
> Look in My Publication Folder
> (click OPEN if your book name is not visible)
> Click on your book name.opf > click OPEN
You should now be on the Publication Files Screen.
> Click Build on the top bar.