Math Tutorials and More
by George

Math Tutorials and More
by George

Example NCX File

<!-- The items to be supplied by the author are underlined. -->

<!-- The first three statements are the standard header for an NCX file. -->

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "">

<ncx xmlns="" version="2005-1" xml:lang="en">


<!-- The content of dtb:uid must be exactly the same as the uuid specified in the OPF file. -->

<meta name="dtb:uid" content="urn:uuid:efe839d0-4f4f-11e1-b86c-0800200c9a66"/>

<!-- The NCX specification allows for a hierarchal table of contents. It is recommended that the depth be set at 1 since that is all that the Kindle and Nook support. -->

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

<!-- The total page count and the max page number are not needed. Leave them set to zero. -->

<meta name="dtb:totalPageCount" content="0"/>

<meta name="dtb:maxPageNumber" content="0"/>


<!-- For docTitle use the dc:title specified in the OPF file. -->


<!--For docAuthor use the dc:creator specified in the OPF file. The name should be given in the form LastName, FirstName. -->

<docAuthor><text>Benthien, George</text></docAuthor>

<!-- The navMap section is the heart of the NCX file. For EPUB eBooks this section specifies the entries in the navigational table of contents. For the older keyboard Kindles this section defines a set of predefined bookmarks. You can jump between the preset bookmarks by pressing the right or left arrows of the 5-way controller. It appears that the Kindle Touch and the Kindle Fire do not use the NCX file. The order of the entries is specified by the playOrder attribute. The location is specified by the content src attribute. This consists of an HTML file name such as "filename.php" or an HTML filename with a named anchor added such as "filename.php#mark". The preset bookmarks for the Kindle will appear as little dots on the progress bar at the bottom of the screen.-->


<navPoint id="navpoint-1" playOrder="1">


<content src="introduction.php"/>


<navPoint id="navpoint-2" playOrder="2">

<navLabel><text>Chapter 1</text></navLabel>

<content src="chapter1.php"/>


<navPoint id="navpoint-3" playOrder="3">

<navLabel><text>Chapter 2</text></navLabel>

<content src="chapter2.php"/>


<navPoint id="navpoint-4" playOrder="4">

<navLabel><text>Chapter 3</text></navLabel>

<content src="chapter3.php"/>


<navPoint id="navpoint-5" playOrder="5">

<navLabel><text>Chapter 4</text></navLabel>

<content src="chapter4.php"/>


<navPoint id="navpoint-6" playOrder="6">

<navLabel><text>Chapter 5</text></navLabel>

<content src="chapter5.php"/>