![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2013
Device: Haali Reader
|
ePub->fb2 (what am I doing wrong?)
Hello. I'm trying to convert some of my ePubs into FB2 (in batch, but I don't think it's important - butch or no butch). Here's the problem:
The resulting file FB2 is readable, it includes all images, so far so good, but... It's completely unstructured, that is, no parts, chapters, and any other titles-subtitles tags. So I can't go to, let's say, Chapter 4, and unable to see the structure of the book at all. On the other hand, ePub is a compressed collection of HTMLs, so it should be easy enough for Calibre to replace HTML headers wih FB2 tags. How should I force the program do what I need and what would be a more or less nice and usable FB2 file? (I'm sure there's some answer to this.) Thank you in advance. |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
I had to look up FB2 to find out what it was!
I take it you have experience of other FB2 books which ARE structured - i.e. the format WILL do it? Open your ePub in Sigil. IS it divided into chapters, each a seperate XHTML file? If not, it's easy to split them. IS there a title at the beginning of each chapter, in a header style? Has the TOC been generated? |
![]() |
![]() |
![]() |
#3 | ||
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2013
Device: Haali Reader
|
Quote:
Here's a snippet from a structured FB2: <section> <image xlink:href="#Any2FbImgLoader0"/> </section><section><title><p><strong>Burglars Can’t Be Choosers</strong></p></title> <p id="AutBody_0DocRoot">By Lawrence Block</p> <p>Book 1 in the Bernie Rhodenbarr series</p> <p>Copyright © 1977 by Lawrence Block</p> <p><emphasis>For Steve and Nancy Schwerner</emphasis></p> </section><section><title><p><strong>Chapter One</strong></p></title> Quote:
As for checking one of the ePubs in Sigil, there's everything as you wrote above. 1.t is divided into chapters, each a separate XHTML file. 2, There a title at the beginning of each chapter, in a header style. 3. And yes, the TOC has been generated by Sivil. Still, while converting this ePub in Calibre I'm getting something close to TXT file (with images, though, but it's not an even semi-healthy FB2). |
||
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
There's a "Sectionise" option in Calibre's "Convert" page, under "FB2 Output". Mine defaulted to "nothing". You could try some other settings.
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2013
Device: Haali Reader
|
Quote:
I think that there's a necessity to choose "Structure Detection" on the left pane, but what to do with the right pane with all XPath expresssions, beats me. I've tried different stuff according to XPath help - nothing works! Last edited by MichaelV; 05-06-2013 at 11:19 AM. Reason: a typo |
|
![]() |
![]() |
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
So, what reads a FB2 file? What are the format's advantages? I can't find much about it.
|
![]() |
![]() |
![]() |
#7 | ||
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
If the file already is split into sections (should be) then it could be something with your reader not supporting splitting on sections. That said the FB2 output is super advanced. EPUB doesn't translate into FB2 very wel... Quote:
The major issue with FB2 conversion is it has lots of very specific tags. Such as a tag to denote poetry. This is really easy to turn into nicely formatted html for epub. However, since html doesn't have a way to truly mark the use/intent of a section of text it's non-trival (nearly impossible) to convert a section of text into the specialized FB2 tags. Some advantages, it's an open format. I believe it predates epub 2. It's also single file. Truly single file. Not a package of multiple files like EPUB. It's very book centric. A reading system should be able to easily understand and display a book in the format very well. But as with any format it doesn't matter how good it is if no one has interest in work with it. Writing an FB2 reader is still going to be a large undertaking. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
html to fb2 or epub | rulet | Conversion | 7 | 06-24-2012 05:54 PM |
fb2 to epub wrong text formatting | rulet | Conversion | 3 | 03-30-2012 02:09 PM |
Raccoon Reader - reads ePub, fb2, fb2.zip, txt on WP7 for free | Andrei_Shvydryk | Reading and Management | 0 | 10-31-2011 03:17 PM |
0.7.58: FB2 to MOBI conversion something wrong | eothain | Conversion | 3 | 04-30-2011 04:36 AM |
epub or FB2 what do you use? | Dopedangel | HanLin eBook | 1 | 04-06-2010 01:21 PM |