MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   TOC filter and Multiple HTML Files (https://www.mobileread.com/forums/showthread.php?t=91527)

Beedrew 07-20-2010 11:30 PM

TOC filter and Multiple HTML Files
 
Hi, I am trying to create an EPUB from a set of HTML files. One of the files is a copyright page. I want that page to show up after the cover image, but optimally that file would not be listed in the Contents.

I created a file called index.html and that is the one I am selecting to be converted when I use Calibre.

Per the User Guide, in that file I am listing all of the other .html files that I want in the EPUB, as follows:

<h2>Contents</h2>

<a href="copyright.html">Copyright</a><br/>
<br/></H2>

<a href="introduction.html">Introduction</a><br/>
<br/>

....and so on.

However, no matter what I do, "Copyright" appears in the TOC of my ebook. I tried putting 'Copyright' in the TOC filter field, but that did not work.

Any ideas? What am I doing wrong?

Thanks,

Bee

kovidgoyal 07-20-2010 11:32 PM

The TOC filter applies to the metadata TOC. If you dont want the copyright entry in the in book TOC do this:

<a style="display:none" href="copyright.html">Copyright</a>


All times are GMT -4. The time now is 10:56 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.