08-17-2009, 02:25 AM | #1 |
Wizard
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
|
Issue with Sigil and chapter titles (Heading 2)
I've been playing with Sigil doing my favourite 19th century classic Australian comedy, Dad and Dave's On Our Selection (as you do), and I think I've run across an issue with either Sigil or the calibre epub viewer:
Some the chapter headings - by which I mean text selected for Heading 2 (somewhat randomly) appear either the way they should, or as small text. |
08-17-2009, 05:45 AM | #2 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2008
Location: España
Device: Sony PRS 505
|
If you use code view you can see the chapter headings you want are as follows:
<h2 id="heading_id_9"><span xml:lang="en-GB" lang="en-GB">Chapter I.<br /></span></h2> and the "small text" chapter headings are as follows: <h2 id="heading_id_10"><span xml:lang="en-GB" lang="en-GB"><span class="sgc-3" xml:lang="en-GB" lang="en-GB">Chapter II.</span><br /></span></h2> If you delete the unnecessary code in each instance you will achieve the desired result. |
Advert | |
|
08-17-2009, 08:45 AM | #3 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Had Sigil added in those spans, that would have been a problem, but it seems you imported this epub from somewhere and those spans came with the original. |
|
08-19-2009, 04:14 AM | #4 |
Wizard
Posts: 2,981
Karma: 11862367
Join Date: Apr 2008
Device: Sony Reader PRS-T2
|
OK, I've removed the <span>'s (working from text source) and have created the attached ePub.
There are a few things I would like to do to it but it's not too bad as-is. I'm new to epub generation but I would have liked to:
|
08-19-2009, 08:26 AM | #5 | |
book creator
Posts: 9,656
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Quote:
2) idem 3) yes, would like that, too 4) You have to do that per code view |
|
Advert | |
|
08-19-2009, 08:34 AM | #6 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Why would this be difficult to do? You have the "TOC items only" checkbox at the bottom of the TOC editor. Uncheck it and it will show all the headings in the file. Then just click the "Include" checkbox next to the item you want to include back in.
|
08-19-2009, 08:53 AM | #7 | |
book creator
Posts: 9,656
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Quote:
|
|
09-01-2009, 06:27 PM | #8 | |
Groupie
Posts: 193
Karma: 1032826
Join Date: Mar 2008
Location: Miami, FL, USA
Device: iPhone 4, iPad 2
|
Quote:
For some reason H1 items are not included in the TOC even when I uncheck the "TOC items only" box and click on the item checkbox to include. Here is the HTML code: Code:
<h1>Part 1<br /></h1> <p class="sgc-8">This is part one of the book</p> <hr class="sigilChapterBreak" /> <h2 id="heading_id_2">Chapter 1</h2> Code:
<navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>Chapter 1</text> </navLabel> <content src="text/content007.xhtml"/> </navPoint> <navPoint id="navPoint-2" playOrder="2"> <navLabel> <text>Chapter 2</text> </navLabel> <content src="text/content008.xhtml"/> </navPoint> Code:
<h2>Part 1<br /></h2> <p class="sgc-8">This is part one of the book</p> <hr class="sigilChapterBreak" /> <h2 id="heading_id_2">Chapter 1</h2> Code:
<navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>Part 1</text> </navLabel> <content src="text/content007.xhtml"/> </navPoint> <navPoint id="navPoint-2" playOrder="2"> <navLabel> <text>Chapter 1</text> </navLabel> <content src="text/content008.xhtml"/> </navPoint> Art Last edited by artbatista; 09-01-2009 at 06:36 PM. |
|
09-01-2009, 07:44 PM | #9 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
09-01-2009, 08:46 PM | #10 |
Groupie
Posts: 193
Karma: 1032826
Join Date: Mar 2008
Location: Miami, FL, USA
Device: iPhone 4, iPad 2
|
|
11-15-2011, 08:38 AM | #11 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: iphone, and others
|
Sigil TOC problem
I've read a few of these posts looking and couldn't find a solution, i apologize if i missed it. I'm new to making ebooks, although I know HTML and CSS.
I am working on a client's eBook in ePub format and using Sigil, it seems to work on the Nook, and other browsers but on the iPhone in iBooks, I'm missing chapter 9 in the TOC. every other chapter is there, and I've checked the code and re-written it... i can't figure out why it's not showing up. I saw it's touched on in this thread, but I'm using version: 0.4.2 on a macbook pro, and no luck with ch9. here's my code on the headers: <h1 class="story sigilNotInTOC" id="Chapter-Nine.html" xml:lang="en-US" xmlns:xml="http://www.w3.org/XML/1998/namespace"></h1> <hr class="sigilChapterBreak" /> <div style="text-align: center;"> <h1 class="title_one" id="heading_id_2">CHAPTER NINE<br /></h1> </div> <div style="text-align: center;"> <h2 class="Subheader" id="heading_id_3">He Didn’t Accept It Then, He Won’t Accept It Now<br /></h2> <div> I'd really appreciate help, I imagine this is an easy fix. Thanks in advance! Gabriel |
11-15-2011, 09:49 AM | #12 | |
Well trained by Cats
Posts: 30,377
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
2 ways to fix. 1) remove that phrase 2) Open the TOC editor, UN-tic the "TOC items Only" box, now you can see both the Included and Hidden items. Want to see where a particular hidden item is? Tick it, Save the TOC edit. Now it shows in the Book Browser list. Double-click that line item. Presto! it (the page, at least) appears in the Edit window. |
|
02-05-2020, 05:53 PM | #13 |
Connoisseur
Posts: 92
Karma: 10
Join Date: Jan 2020
Device: kindle
|
using Sigil 0.9.13 when I click in the ebook to display the chapter table, I get my book title repeated for every chapter.
If I click on one of the headings, it goes to a different page, so the chapter path seems correct, just that every chapter description is the same. I have a contents page which shows correct at the front of the book |
02-05-2020, 05:57 PM | #14 |
Connoisseur
Posts: 92
Karma: 10
Join Date: Jan 2020
Device: kindle
|
I am using Sigil 0.9.13 and epub3 (upgraded from 2) when I open the chapters it shows my book title for every chapter.
If I click on a new chapter it goes to to a new section, so the path seems ok, but the chapter descriptions are all the same. I tried generating a new TOC but it did not change the chapter description. I have a contents page a t the front of the book which is OK |
02-05-2020, 06:17 PM | #15 | |
Connoisseur
Posts: 92
Karma: 10
Join Date: Jan 2020
Device: kindle
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recomendation about Heading in Sigil | sergiodongala | Sigil | 6 | 07-06-2011 08:12 PM |
Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 06:35 AM |
How to avoid page break after heading/chapter | tkirke | ePub | 6 | 01-22-2010 02:12 PM |
html2epub: chapter splitting on more than 1 heading level | Portnull | Calibre | 1 | 06-25-2009 09:17 AM |
Controlling chapter heading sizes? | Djehuty | Calibre | 3 | 04-27-2009 08:02 PM |