Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2012, 09:09 AM   #1
rulet
Member
rulet began at the beginning.
 
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.
rulet is offline   Reply With Quote
Old 03-30-2012, 01:19 PM   #2
rulet
Member
rulet began at the beginning.
 
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.
rulet is offline   Reply With Quote
Advert
Old 03-30-2012, 01:36 PM   #3
rulet
Member
rulet began at the beginning.
 
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?
rulet is offline   Reply With Quote
Old 03-30-2012, 02:09 PM   #4
rulet
Member
rulet began at the beginning.
 
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.
rulet is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:18 PM.


MobileRead.com is a privately owned, operated and funded community.