![]() |
#16 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
I've used the basic idea behind kmashlea's solution and created an experimental option (--sectionize-chapters). This will attempt to break the book into multiple sections based on chapters.
It detects chapters that match example case 1. So it won't work for every book. However kmashlea's rate of 6 out of 10 makes the option worthwhile to try. My code should match in a few more case so I'm hoping it will work in 7 or 8 out of 10 books. Everyone using this option should know that the code matches after conversion and modifies the tags so there is the possibility that using the option will cause the conversion to fail. If you have any issues (including books that are not being sectionized properly) please open a ticket and I will look into it. P.S. Thanks kmashlea for you help. |
![]() |
![]() |
![]() |
#17 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2010
Location: California
Device: PRS-505
|
Hello,
I'm trying to convert EPUB file to FB2. I'm getting single-section FB2 result, the sectionize-chapters option didn't work for me... Ah well... But since I'm converting from EPUB, my intermediate HTML just happens to be one HTML file per chapter. I realise that this is special case, but I wonder if it possible perhaps to implement another option, like sectionize-chapters-per-file to somehow benefit from the fact that source happens to be nicely split in chapters already. Last edited by viktorz; 11-29-2010 at 08:49 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FB2 Output for Nook - Calibre | bthoven | Calibre | 4 | 09-22-2010 06:59 AM |
FB2 output | KarateMonkey | Calibre | 0 | 03-14-2010 07:47 PM |
FB2 output | Solicitous | Calibre | 1 | 02-10-2010 11:20 PM |
FB2 Output error | stahanovez | Calibre | 2 | 08-02-2009 03:33 PM |
FB2 Output for Calibre | orwell2k | Calibre | 5 | 06-05-2009 06:14 PM |