Image
image
image
image


Just Tell Me Simply:  Formatting a Kindle eBook for Non-Techies
Thank you so much for visiting us! Here are the lines to insert to create a NCX file..


Insert this line in the Spine location in the .OPF file:

<spine toc="ncx">


 

Insert this line in the Manifest location in the .OPF file:

<item id="ncx" media-type="application/x-dtbncx+xml" href="toc.ncx"></item>


 

This is the TOC.NCX Template

Note: You can add as many navPoints as you wish.  You can also delete all navPoints except “start.”  Copy and paste this text into Notrpad and save as TOC.NCX.  Everything in bold should be changed.

 

<?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 xmlns="http://www.daisy.org/z3986/2005/ncx/" 

  version="2005-1" xml:lang="en-US">

<head>

<meta name="dtb:depth" content="1"/>

</head>

 

<docTitle><text>Your Book Title</text></docTitle>

<docAuthor><text>The Author Name</text></docAuthor>

 

<navMap>

 

<navPoint id="start" playOrder="1">

<navLabel><text>Beginning of Text</text></navLabel>

<content src="new book.html#start"/>

</navPoint>

 

 

<navPoint id="chapt1" playOrder="2">

<navLabel><text>Chapter 1 of New Book</text></navLabel>

<content src="new book.html#chapt1"/>

</navPoint>

 

 

<navPoint id="chapt2" playOrder="3">

<navLabel><text>Chapter 2 of New Book</text></navLabel>

<content src="new book.html#chapt2"/>

</navPoint>

 

 

</navMap>

</ncx>

 


 

Warning:  Make sure that your book file extension matches the extension in the Content src statements:

<content src="new book.html#start"/>

It does not matter if .htm or .html just that they match with your text file.  This is a common mistake.


image


image
image