Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-14-2010, 02:20 AM   #1
Achilles
Member
Achilles began at the beginning.
 
Posts: 23
Karma: 32
Join Date: Aug 2009
Device: Kindle 2
Unhappy RTF to HTML losing justification.

Hey people, I'm trying to convert an RTF to MOBI and the RTF to HTML conversion is losing all justification. All my centered and right aligned text is now left aligned. I know it's a bug in the RTF to HTML conversion as I've looked at the debug folders and it shows up in the very first html file in the Input folder.

Can someone (Kovid?) help me in solving this issue? I know the bug has been around for at least 6 months, as that was the last time I tried this procedure... I was hoping it would have magically fixed itself by now

Attached is a very simple RTF created in WordPad that illustrates the issue.

I'm using Calibre version 0.7.8

Thanks!
Attached Files
File Type: rtf RTF_Test.rtf (523 Bytes, 82 views)
Achilles is offline   Reply With Quote
Old 07-14-2010, 10:51 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Opena ticket and attach your file, forum posts get lost.
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 07-14-2010, 12:26 PM   #3
Achilles
Member
Achilles began at the beginning.
 
Posts: 23
Karma: 32
Join Date: Aug 2009
Device: Kindle 2
All these bugs are related to the RTF input plugin and have not been fixed:

http://bugs.calibre-ebook.com/ticket/5056
http://bugs.calibre-ebook.com/ticket/5055
http://bugs.calibre-ebook.com/ticket/5060

Is there some way to escalate them to a higher priority or to recategorize them so they're not ignored because they deal with LRF?

Thanks!
Achilles is offline   Reply With Quote
Old 07-14-2010, 12:33 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,436
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Priorities are meaningless, calibre development is done by volunteers, which means that tickets get fixed if a calibre developer feels like fixing them.

I personally care very, very little for RTF (never use it). It is a very poorly designed format, so fixing bugs in it is difficult. As a result, RTF Input/RTF output related bugs tend to languish.

What's needed is a developer that actually uses RTF, unfortunately, no such beast seems to exist
kovidgoyal is offline   Reply With Quote
Old 07-14-2010, 02:46 PM   #5
Achilles
Member
Achilles began at the beginning.
 
Posts: 23
Karma: 32
Join Date: Aug 2009
Device: Kindle 2
I'm on the lookout for a different RTF to HTML converter then I guess...
I've found this one:
http://www.sageshome.net/Soft.php#rtf2html

Which shows promise and outputs REALLY clean HTML, but it seems to convert all line breaks to <br> instead of proper <p> tags...

Gonna keep looking for the perfect converter...
Achilles is offline   Reply With Quote
Old 07-14-2010, 04:08 PM   #6
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by kovidgoyal View Post
What's needed is a developer that actually uses RTF, unfortunately, no such beast seems to exist
I occasionally use rtf. I've got a very old PDA (with buttons) that I really like. It's got an old version of a free reader (uBook) that handles txt and rtf well. I like real buttons, as my fingers don't hide the text I'm reading. Mostly, I read txt on it, as I have lots of very old txt format books, but it's sometimes nice to see some of the formatting available in rtf. OTOH, I know nothing of the rtf format itself, and only a little of the Calibre conversion process.

Even if I decided to tackle rtf conversion issues, it would be low on my priority list.
Starson17 is offline   Reply With Quote
Old 07-14-2010, 05:03 PM   #7
banjomike
Addict
banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.
 
banjomike's Avatar
 
Posts: 302
Karma: 397404
Join Date: Aug 2009
Location: UK
Device: PRS-505 Red,DSlibris,nook Glow,nook Simple rooted,nook HD+,Moon+,Zinio
Try this html file. Converted with OpenOffice.
Attached Files
File Type: zip RTF_Test.zip (760 Bytes, 48 views)
banjomike is offline   Reply With Quote
Old 07-14-2010, 05:19 PM   #8
Achilles
Member
Achilles began at the beginning.
 
Posts: 23
Karma: 32
Join Date: Aug 2009
Device: Kindle 2
Quote:
Originally Posted by banjomike View Post
Try this html file. Converted with OpenOffice.
Not bad. The HTML is a bit ugly, but at least it's keeping everything... I'll give that a shot on my document.

I also discovered TextEdit on the Mac, which saves out REALLY clean HTML complete with a stylesheet which makes editing the HTML quite a bit easier... Unfortunately, I only have access to a Mac at my office.
Attached Files
File Type: zip RTF_Test_TextEdit.zip (718 Bytes, 50 views)
Achilles is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTF into Sigil - need RTF->HTML converter Daemon Sigil 8 09-21-2010 04:56 PM
Cannot Convert HTML to RTF LightGuard Calibre 1 06-27-2010 11:37 AM
save to RTF or HTML lady_morana Calibre 3 04-02-2009 05:30 PM
RTF -> HTML Dave Berk Workshop 12 09-06-2008 07:38 PM
HTML to RTF? Alexander Turcic Workshop 8 02-11-2007 07:58 PM


All times are GMT -4. The time now is 12:37 PM.


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