I had the same problem. Here's how I solved it:
- Create an Invisible Text paragraph style. Specifics of style don't matter.
- Apply the Style to the text you want to be included in your navigational TOC.
- Export to EPUB.
- Open EPUB using eCanCrusher or some other utility.
- Open CSS file inside of OEPBS folder.
- Find your Invisible Text paragraph style in the CSS document.
- Change the color: attribute to ffffff (white)
- Save CSS file and close.
- Use eCanCrusher to reconstitute the folder into a .epub document.
The only downside to this fix is if the reader changes the device display to anything other than white, the text will show. In this case there is also a way to add a 0% transparency attribute to the CSS, which I'm investigating.
Hope this helps.
Again, my friend and problem-solver extraordinaire Bob Levine came to the rescue with a better solution to this problem.
Create a paragraph style called Invisible. Don't worry about how the style looks. Color can be black or whatever.
Apply Invisible style to text that you want to hide on screen but want to appear in your navigation TOC.
Write a short CSS file like this:
Save CSS file.
Export as EPUB. In the Export dialog go to CSS > Attach Style Sheet.
Add Invisible style into your document TOC style and then choose Layout > Update Table of Contents.