View Single Post
Old 08-02-2009, 03:38 PM   #49
Catire
Lord of the Universe
Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.Catire ought to be getting tired of karma fortunes by now.
 
Catire's Avatar
 
Posts: 670
Karma: 737849
Join Date: Jan 2008
Location: Maturin , Venezuela
Device: Sony Reader PRS-505 / PSP
Quote:
Originally Posted by Valloric View Post
You can select which headers end up in the TOC right now. There is an "Include" column in the TOC editor that removes that header from the TOC, but preserves it in the source.

But it seems you want to eliminate some heading levels from the TOC automatically. This you can't do right now. Create an enhancement request issue in the tracker, I'll need to think about this feature some more.
It actually does something like this (bug?) if there is a <span> within an <h1> and i choose not to include it in the toc it takes it out of the h1 and places it in a <p>


If i choose not to include this in the TOC....
PHP Code:
<h1 align=center style='text-align:center'><span style='font-size:36.0pt'>Book Title</span></h1

...it changes it into this

PHP Code:
  <h1 class="sgc-6 sgc-2 sgc-2 sigilNotInTOC"></h1>

  <
p>Book Title</p

Edit:

Testing it a bit more it seems that the style within the span is the thing that causes this because with just a span with no style it does not do this

Last edited by Catire; 08-02-2009 at 03:48 PM.
Catire is offline