Jun 18th, 2012, 8:15 pm
The creators of Sigil have released a beta of their WYSIWYG ePUB editing program. I've played around with it a bit. The main big addition is the ability to add an inline HTML ToC to the text. Meaning as you've edited and stylized headings, it will create a clickable HTML formatted file to add with the overall ePUB file. In the old version (still available though since the current release is beta) you could create a ToC but there wouldn't be an inline document but if you viewed the book in a reader like Calibre, or iBook (not familiar what other ePUB reader outputs look like so can't say exactly what they would output as far as a table of contents) you could click on the part that would take you to the ToC and it would be visible. So now you can make an edited copy of a book look even closer to retail if you did an edit in Sigil with the addition of inline HTML.

Alas, there is ALWAYS a catch. If you create the inline HTML toc and save the ePUB file, then open in Calibre and convert to mobi. Calibre's conversion output will read the HTML in the epub as a list which technically it is right? But as being said though, the output in ePUB may look fine when adding the ToC. Conversion to MOBI or some other format but I am using mobi since it is a popular format here on site as an example. The inline ToC will be fine but you will end up with numbers by the numbers and anything else listed in that ToC portion of the converted book.

Example:

  1. Title Page
  2. Copyright
  3. Chapter 1
  4. Chapter 2
  5. Chapter 3

and so on. As how to correct this? I don't know, I've looked through the conversion options of Calibre when wanting to convert to .MOBI but to no luck. The issue lies within the HTML of the ToC if my guesses are correct and my minuscule knowledge of HTML are as well.

Code: Select all<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Table of Contents</title>
 
<style type="text/css">
p.sgc-toc-title { text-align:center; }
  ol { list-style-type: none; }
  li { margin-top: 0em; }
  a { font-weight: normal; }
</style>
</head>

<body>
  <p class="sgc-toc-title">Table of Contents</p>

  <ol class="sgc-toc-ol-1">
    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_000.html">TITLE PAGE</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_003.html">ALSO BY TOM CLANCY</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_004.html#heading_id_2">COPYRIGHT PAGE</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_005.html">1</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_006.html">2</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_007.html">3</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_008.html">4</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_009.html">5</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_010.html">6</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_011.html">7</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_012.html">8</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_013.html">9</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_014.html">10</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_015.html">11</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_016.html">12</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_017.html">13</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_018.html">14</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_019.html">15</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_020.html">16</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_021.html">17</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_022.html">18</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_023.html">19</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_024.html">20</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_025.html">21</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_026.html">22</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_027.html">23</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_028.html">24</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_029.html">25</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_030.html">26</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_031.html">27</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_032.html">28</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_033.html">29</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_034.html">30</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_035.html">31</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_036.html">32</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_037.html">33</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_038.html">34</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_039.html">35</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_040.html">36</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_041.html">37</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_042.html">38</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_043.html">39</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_044.html">40</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_045.html">41</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_046.html">42</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_047.html">43</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_048.html">44</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_049.html">45</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_050.html">46</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_051.html">47</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_052.html">48</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_053.html">49</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_054.html">50</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_055.html">51</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_056.html">52</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_057.html">53</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_058.html">54</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_059.html">55</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_060.html">56</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_061.html">57</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_062.html">58</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_063.html">59</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_064.html">60</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_065.html">61</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_066.html">62</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_067.html">63</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_068.html">64</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_069.html">65</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_070.html">66</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_071.html">67</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_072.html">68</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_073.html">69</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_074.html">70</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_075.html">71</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_076.html">72</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_077.html">73</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_078.html">74</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_079.html">75</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_080.html">76</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_081.html">77</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_082.html">78</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_083.html">79</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_084.html">80</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_085.html">81</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_086.html">82</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_087.html">EPILOGUE</a></li>

    <li class="sgc-toc-li-1"><a class="sgc-toc-heading-1" href="../Text/CR%21HM65BPBWR52M111AR9GVNKVRCV0D_split_088.html">ALSO BY TOM CLANCY</a></li>
  </ol>
</body>
</html>


But looking through the list classes <li class="blah blah blah"> is counting each individual split in the ePUB document. There isn't really 88 its more like well... 87 :lol: and number thus as is.

If it would serve everyone's benefit though, given more time and a few screenshots I will post a tutorial for those who would like to try out and use Sigil for their own use. It really is something worth using if you have the time and patience to deal with it. That is another thread and another matter. Lets discuss my findings in this new version.
Jun 18th, 2012, 8:15 pm

Check ALL links before PMing me.
Jun 20th, 2012, 11:02 am
I will most likely wait until it comes out of Beta status. My last experience with a Beta version of Sigil was not ... "pretty". :shock: :shock: :D

My personal outlook on Beta anything - unless you are a programmer/coder - "Beware of Betas". :lol: :lol:

Of course, YMMV
Jun 20th, 2012, 11:02 am

Image

"We Gladly Feast on Those Who Would Subdue Us." - Addams Family
Jun 20th, 2012, 3:06 pm
Well honestly by the look of things, the way this turned out to seem pretty stable. EXCEPT for maybe the inline ToC part :lol:
Jun 20th, 2012, 3:06 pm

Check ALL links before PMing me.
Jun 21st, 2012, 5:38 am
Bohica60 wrote: "Beware of Betas". :lol: :lol:

Of course, YMMV

I'm with Bo on this one. I have a "Murphy's Law" kind of thing for anything "Beta".

Even the dang fish are nasty little things.

But if you do publish a tutorial, I'll not only name my first born after you, I'll name the second one BBQ Grill.
Jun 21st, 2012, 5:38 am

Image Image
Jun 21st, 2012, 6:13 am
I'll probably do the tutorial when they publish 0.6.0, the betas that are being released are for 0.6.0

But IF you do the inline ToC for ePUB... DONT convert it to MOBI! If you do the standard generated ToC like in the current stable version 0.5.3, then Calibre will create an inline ToC for MOBI.
Jun 21st, 2012, 6:13 am

Check ALL links before PMing me.
Jun 21st, 2012, 7:40 am
mesquite wrote:I'll probably do the tutorial when they publish 0.6.0, the betas that are being released are for 0.6.0

But IF you do the inline ToC for ePUB... DONT convert it to MOBI! If you do the standard generated ToC like in the current stable version 0.5.3, then Calibre will create an inline ToC for MOBI.

... and since I use Sigil to fix/makeup Mobis for my Mobipocket Reader ... :shock: :shock: :lol: :lol:
Jun 21st, 2012, 7:40 am

Image

"We Gladly Feast on Those Who Would Subdue Us." - Addams Family
Jun 21st, 2012, 3:37 pm
Well it's been suggested in their little forum thread on another site like ours that you could use DIV layers to create the inline for MOBI.
Jun 21st, 2012, 3:37 pm

Check ALL links before PMing me.
Jun 21st, 2012, 11:12 pm
mesquite wrote:Well it's been suggested in their little forum thread on another site like ours that you could use DIV layers to create the inline for MOBI.

Way beyond my proficiency & knowledge level with this program. I just use it for edits and to fix things like broken sentences/paragraphs, fix chapter breaks, text edits, etc.

As far as the TOC goes, honestly, it doesn't bother me whether that is there or not. :lol:

Unlike some I've run across here, not having a "point-and-go TOC" is not the end of the world to me. I come from a background of learning to read books printed on paper, so not having that "point-and-go TOC" does not bother me as much as it does some people. :lol:

If the TOC is in some sort of unusable condition, I just delete it. I can still read the actual book just fine. :D

Not to say that there is anything wrong with someone wanting a correct version of it, just that it's no biggy to me.
Jun 21st, 2012, 11:12 pm

Image

"We Gladly Feast on Those Who Would Subdue Us." - Addams Family
Jun 21st, 2012, 11:45 pm
I think that some of us are just getting too "instant gratification" and too lazy for our own good. No TOC? ALL ebook readers have that little thing that advances the book when you touch it and slide to the right or to the left. Heaven forbid you break your finger doing that. They even keep your spot when you close the app.

And that's exactly how I feel about the people that make a big fuss about the dang TOC. If you don't like it, fix it yourself, but don't come crying to me about something that you got for FREE in the first place.

Talk about ingrate.

Now you got me all riled up.
Jun 21st, 2012, 11:45 pm

Image Image
Jun 22nd, 2012, 5:09 am
I too grew up in the age of printed paper and physical bookmarks. To me and this is why I sat down to learn Sigil's benefits was cause I found some GREAT books, in GREAT shape digitally, they just needed the work and so I took the time to study and fix the errors. Unless of course your last name is Patterson (James and Richard North) and you like to write 120 chapters for 400-500 pages of book, then my patience better be riding pretty thick in order for me to sit down and painstakingly alter your book for my liking.
Jun 22nd, 2012, 5:09 am

Check ALL links before PMing me.