08-11-2009, 12:18 AM | #1 |
Zealot
Posts: 115
Karma: 24
Join Date: Oct 2008
Device: iPad 2
|
TOC in Sigil
Hi,
I just tried Sigil last week and have been loving it! I haven't had any issues outside of one. For all of my TOC items, there's a "<br/> html mark on each. It's not a huge deal, it just doesn't look nice. Is there a way to remove it? |
08-11-2009, 01:58 AM | #2 |
book creator
Posts: 9,656
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: Kindle Scribe
|
Simple. Get the newest version. I have made an issue and Valloric has adressed this bug already. Shaould work with Sigil 1.1
|
08-19-2009, 01:14 PM | #3 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
I have intentional <br /> tags in some of my chapter titles to make them look nice on the page while preserving the full titles. However the TOC generation keeps these tags which show up as box in Sigil and show up in ADE by overwriting the line again. Could you please remove these tags during toc generation? I am running 0.1.2. The box showing TOC says that it is an edit box. Is there plans allowing editing? or can I do it now some way?
|
08-19-2009, 01:48 PM | #4 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Create an issue and attach a minimal file that demonstrates this problem. Also, please be more specific. I have no idea what you mean by "the box showing TOC says that it is an edit box." What box? |
|
08-19-2009, 02:09 PM | #5 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
I will create an issue once I figure out how. Preserving the new lines in the TOC is what is causing the problem. They are being shown in ADE on top of the next line of TOC entry. Dale |
|
08-19-2009, 03:33 PM | #6 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Upon inspection of the toc.ncx file I found many hard returns within the <text> statements. Some were caused by my <br/> commands and some seem to be in there just because the program decided to break the line for some reason.
I believe there should never be an hard returns (newlines) with the <text> area of any autogenerated TOC.ncx file. There is no way the program can determine how this will be used or displayed. However, if the toc is directly edited by the user then perhaps the newlines could be preserved since the user would have put them in. Dale |
08-19-2009, 03:47 PM | #7 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
If you have newlines in your headings, they are currently preserved (this will be fixed so that they are removed). But Sigil will not add newlines to the <text> elements if there were none present.
|
08-19-2009, 04:17 PM | #8 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
The problem is in ADE. It is naive about users not putting newlines in the TOC entries, which is silly. I should be able to instruct the Reading System to display my entry in multiple lines. But I'll be changing Sigil's behaviour so it placates ADE. It's buggy but it's the market leader and unfortunately that means others have to play by its rules... and bugs. EDIT: The issue for this is here. It has been fixed. Last edited by Valloric; 08-19-2009 at 04:23 PM. |
|
08-19-2009, 04:30 PM | #9 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Chapter 1 This is the chapter title Now I do this with breaks to preserve the fact that the full chapter title includes both lines but I would not want the TOC to display this as two lines in a book or in a ebook because it would make the TOC twice as long and hard to read for no good reason. Unfortunately I cannot specify the formatting of this for the TOC separately. Anyway, thanks again. Dale |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC and Index links in Sigil | Bamber | ePub | 10 | 11-11-2010 02:12 PM |
Calibre ePub TOC and Sigil | salasnet | Calibre | 3 | 09-26-2010 05:34 PM |
Sigil Toc editor | Enesco | Sigil | 16 | 09-23-2010 06:41 AM |
New to Sigil, frustrated: bad TOC | RootlessAgrarian | Sigil | 24 | 02-15-2010 12:29 PM |
sigil and toc | bobcdy | Sigil | 5 | 10-17-2009 04:29 PM |