![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2010
Device: bebook one 2010 edition
|
spaces lost during converting to fb2 format
Hello, i dont know if this would count as a bug or has been posted here before ( i did do a search but couldn't find anything)
i have some properly formatted standard .txt files with nice spaces in between all of the appropriate lines Kind of like this:- chapter one John sat on the chair. Elsewhere joan was standing. When i convert the files to fb2 format it removes the spaces between the lines:- chapter one John sat on the chair. Elsewhere joan was standing. i am using the latest version of calibre and have tried using all of the options on and off during conversion, if i convert to epub then the lines stay in the right places, but if i then convert the epub files to fb2 format it removes the lines. Not sure why it is doing this but i really wanted to use fb2 format as it gives more accurate page numbers than epub Help! |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
You just opened a bug on this, but the description here and the description in the bug tracker are different.
Did you enable the 'treat each line as a paragraph' option before you converted it? edit: There is also an 'insert blank line' option under look and feel that might do what you want as well. |
![]() |
![]() |
![]() |
#4 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
@ldolse, I recently rewrote the FB2 output code. It's basic at this moment and does not currently support everything it used to. I plan to add support for the 'treat each line as a paragraph' option over the next few days.
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Cool, not sure I completely understand how that's even possible but I'll leave it to you
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 615
Karma: 2362786
Join Date: Jan 2010
Device: PocketBook Verse Pro Colour
|
I also prefer the fb2 page numbering. On a 6" reader, one page in fb2 more or less corresponds to one screen (depending on font size of course), whereas one page in ePub may be 2-3 screens. So in that sense fb2 page numbering is more 'accurate'.
|
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2010
Device: bebook one 2010 edition
|
Quote:
And i have tried every option on and off methodically when converting books, the insert line and each line as a paragraph function were both tested |
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
The count of total pages being wrong when reading a book means there is a fault in the reading software I would think. Certainly on my devices the count is accurate, and if I dynamically change the font size I am using both the value for the current page and the total number of pages change accordingly.
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Adobe DE based epub engines do something weird with page calculation. They create some sort of canonical version of a 'page' when the file is opened and stick with that page count no matter how you change the display. Depending on the font size you're using you could page across several user perceived pages and the ADE engine will tell you you are still on the same original page number. It's weird and I just ignore it. I think this is what the users are complaining about.
|
![]() |
![]() |
![]() |
#11 | ||||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Quote:
Basically, unless told other wise via a page map ADE creates page numbers by breaking up the data into chunks based on the following format. From the EPUB Best Practices Guide found on Adobe's site here. Quote:
|
||||
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
I don't personally care either way though, and perhaps I'm putting words in the other guys' mouths. |
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2010
Device: bebook one 2010 edition
|
pages
All i was saying was, that the reason i wanted to use fb2 as a format is that when you look at a book it will give you an accurate set of page numbers.
The epub and mobi formats used on my reader (bebook one 2010 edition) will say a book has 1150 pages when you start, when you are reading the page number will change with every page turn, but when you get to about 1000 pages in the book will end, it will go from page 999 to page 1150 on one turn and the book is finished. It was a minor gripe with the way mobi and epub books are displayed and it was not the thrust of my original question, i only mentioned it as a reason for using fb2 as a format; which by the way, is a much better format on my reader, it has more options for changing the page layout, it keeps the time on the page and has a faster rendering time for page turns! Since this thread started Calibre has been updated and has fixed the original problem with the formatting. Thanks |
![]() |
![]() |
![]() |
#14 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failure converting zip to fb2 | rbruce1314 | Calibre | 2 | 11-17-2010 05:39 PM |
Converting PDF - FB2 issue (0.72) | kgn | Calibre | 3 | 06-16-2010 07:22 AM |
error converting from fb2 format | jomaweb | Calibre | 3 | 04-23-2010 05:41 AM |
.fb2 format | Clemente | Which one should I buy? | 10 | 02-25-2010 02:56 AM |
TOC not created converting from FB2 | regul8or | Calibre | 1 | 08-03-2009 12:26 PM |