Home  Beta programs 
  Welcome to Mobipocket Developer Center
powered by FreeFind

Mobipocket Creator 4.0 - Publisher Edition

Getting Started
How to create an eBook - Step by StepHow to create an eBook/Database with the built-in templatesHow to Import a Word documentHow to Import a Text fileHow to Import a PDF documentImporting Image filesHow to save your publicationHow to open an existing publication
Publication Files
Where is my publication stored?Add files/Create new items/Remove itemsList view and Thumbnail viewChanging the order of a file in the publicationPreview and Edit a publication fileTable of Contents WizardDefining publication metatadaDefining guide items
Building an eBook
Security/Encryption OptionsBuild details: warnings and errorsTesting and reading on the PCSend the eBook to your PDADeploy the eBook to wholesale distribution systems
Application Settings
Publication PreferencesEditing Preferences
How to Register the Creator
Creator License
Troubleshooting
Troubleshooting
Home | Hide TOC | Add to Favorites

Table of Contents Wizard

This wizard automatically generates a table of contents file (mbp_toc.html) for your publication.

The table of content headings are extracted from the HTML files of your publication, based on tag name/attribute filters that you provide.

The title of a heading is the text encapsulated by a matching tag.

The wizard automatically adds anchors in the HTML files of your publication, at the position corresponding to a matching tag, and generates the hyperlinks for the headings in the table of contents file.

  • You can define up to three levels of headings
  • For each level, you can specify a filter based on a tag name OR a tag attribute+value OR a tag name AND attribute+value
  • A "Table of Contents" item appears in the Publication List. You can preview the table of contents HTML file by double-clicking on the "Table of Contents" item, then click the "Preview in web browser" link

Updating the table of contents

When you update the Table of contents, all anchors are regenerated according to the updated filters, and a new mbp_toc.html file is regenerated.

Examples

Tag nameAttributeValue
First Level:classtitle
Second Level:h2
Third Level:divclassheading3

Notes

  • An attribute must always be specified together with a value
  • If no matching tag is found at one level, any filters specified at levels below will be ignored
  • Anchors are inserted as "id" attributes on the matching tags, and with a "mbp_toc_" format

Copyright 2000-2007 Mobipocket.com