![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]()
with some files where i need to add a <h#> tag to and then insert a chapter break (i use ctl <enter>) the new html split created by the break goes above the cover. and this the screws up the order of the toc. to fix things i've been starting over with 3.6 and 3.6 works like it usually does.
![]() |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
What?
You're talking about adding an h tag then splitting. Then you talk about the cover (where does this come in at all). Finally, you reference a version that doesn't exist (I can understand getting the numbers mixed up or being off a little bit but there 0.3.4 is a long way from 3.6). Can you rewrite the issue you're having and provide more detail of exactly what you're doing and what's happening? |
![]() |
![]() |
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I had finally managed to screen captured the events and put together a bug report package, but never filed it. Normal Sigil Splits always worked as expected. |
|
![]() |
![]() |
![]() |
#4 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 972
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]() Quote:
in the left panel, normally when doing a split the new split appears right below the original one. but in this instance it appears at the very top of the list (above the cover split). hope that makes more sense. ![]() Last edited by alansplace; 08-07-2011 at 10:54 AM. |
|
![]() |
![]() |
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Same here. We are using 0.3.4 in production (on Debian). The inability to perform "split on Sigil chapter markers" was a big-time dealbreaker for us. Ver 0.3.4 works flawlessly.
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I used S&R to place markers before chapter headings (confirmed) them I pressed F6. (NB the long name is the parent. I expected/need the splits to immediately follow the parent) |
|
![]() |
![]() |
![]() |
#8 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
If I need to split something else out after that, I place the cursor at the split point, and use the "split chapter" button. That works for me. |
|
![]() |
![]() |
![]() |
#9 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Until I worked this out, I had a total mess ![]() |
|
![]() |
![]() |
![]() |
#10 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 972
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-T2, Kindle Paperwhite 11th gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
I've fixed several distinct issues with chapter splitting. There was one final problem with element ids and ToC generation that I only discovered and fixed yesterday, but that will go into the next release, which will be soon. Right now you have to make sure that all heading tags that aren't at the start of a flow have an id for the ToC to work properly, but that requirement will soon go away and Sigil will generate them automatically.
Split on SGF Chapter Markers should work exactly as expected in 0.4.0RC2, with no need to resort to workarounds or shuffle the files. The new chapters will now be placed in order immediately after the original chapter from which they were split and will be named [original file name]-0002, -0003, etc. This will work no matter where the original chapter is in the reading order. Please test out 0.4.0RC2 and check that chapter splitting works properly in all cases. It was the main blocking issue that I wanted to resolve for the final release. |
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
For what it's worth, I gave the Apple version of 0.4.0-RC2 a quick run-through and all the chapter splitting things seemed to be resolved, including IIRC the split button to divide one chapter into two. I have not tried the Win version.
Also FWIW, yesterday morning I cloned the sigil repository and built Sigil on Ubuntu and on Debian. On both, most everything seemed to work except that the program hangs when the "generate toc" button is pressed. I realize that the cloned repository probably contained several commits beyond RC2, so I don't know how meaningful my results are. To say nothing of the issue of whether I built it correctly or not (though a build of 0.3.4 worked fine). I only mention it since you said you've been messing with the TOC-building code, so possibly something got broken. |
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
|
![]() |
![]() |
![]() |
#14 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
And it has, and it's fixed!
![]() I will note in passing that on the KDE desktop, it still suffers from (evidently) some conflict with KDE's QT libraries. But the workaround discussed here works. I just added the code to unset the QT_PLUGIN_PATH variable in the sigil.sh script file, and it's good to go. I tried both methods of file splitting as well as dragging files in the book browser to re-order them, and then re-build the TOC. All works as expected. ![]() |
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
![]()
i just made some changes (search for something, replace with nothing) in code view on all html files. then when i clicked on the windows red x in the upper right corner sigil closed without its usual question as to whether it should save my changes. had to do it all over again and choose 'save' in the 'file' drop-down.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.3.4 / Sigil 0.4.0 RC1 / Cover in Nook Color | Bertrand | Sigil | 13 | 08-06-2011 04:06 AM |
Behavior changes | kovidgoyal | Development | 37 | 06-22-2011 08:40 PM |
toolbar behavior | alansplace | Calibre | 2 | 06-02-2011 12:31 AM |
DR1000 RC1 firmware review | splendor | iRex | 26 | 06-17-2010 09:35 AM |
release candidate 0.2-rc1 | dottedmag | OpenInkpot | 36 | 10-18-2009 12:07 AM |