03-29-2012, 09:09 AM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Mar 2012
Device: iPad
|
fb2 to epub wrong text formatting
Here is the text of fb2 before conversion and here is the same page of a text after conversion in epub calibre. How to fix it?
Last edited by rulet; 03-29-2012 at 09:13 AM. |
03-30-2012, 01:19 PM | #2 |
Member
Posts: 16
Karma: 10
Join Date: Mar 2012
Device: iPad
|
Well, I found the way to make correct text formatting. I used this python script.
Usage is to create separate directory for fb2 file(or files) then put fb2html.py(it's need to give it execute permissions) script and fb2 files in it, cd to that directory in terminal and start the script fb2html.py fb2file. After conversion into html file(with pictures also), calibre converts then html file to epub with correct text formatting. Last edited by rulet; 03-30-2012 at 01:33 PM. |
Advert | |
|
03-30-2012, 01:36 PM | #3 |
Member
Posts: 16
Karma: 10
Join Date: Mar 2012
Device: iPad
|
I just wonder what will be the bash command for batch conversions of all fb2 files in one directory using that python script?
|
03-30-2012, 02:09 PM | #4 |
Member
Posts: 16
Karma: 10
Join Date: Mar 2012
Device: iPad
|
Hm... seems like wrong text formattig shows wnen opening converted epub in fbreader program. But when opening converted epub from fb2 in calibre text formatting is correct.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Text formatting | jerrywojo | Ectaco jetBook | 4 | 01-19-2010 03:37 PM |
Unicode characters OK in text but wrong in TOC | paulpeer | ePub | 8 | 01-15-2010 06:17 PM |
Text tool for formatting Gutenberg text files | bob_ninja | Workshop | 5 | 11-13-2007 12:28 PM |