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:
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.
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
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.
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:
- Title Page
- Copyright
- Chapter 1
- Chapter 2
- 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
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.
Check ALL links before PMing me.