|  07-14-2010, 01:20 AM | #1 | 
| Enthusiast  Posts: 28 Karma: 32 Join Date: Aug 2009 Device: Kindle 2 |  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! | 
|   |   | 
|  07-14-2010, 09:51 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Opena  ticket and attach your file, forum posts get lost.
		 | 
|   |   | 
| Advert | |
|  | 
|  07-14-2010, 11:26 AM | #3 | 
| Enthusiast  Posts: 28 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! | 
|   |   | 
|  07-14-2010, 11:33 AM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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   | 
|   |   | 
|  07-14-2010, 01:46 PM | #5 | 
| Enthusiast  Posts: 28 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... | 
|   |   | 
| Advert | |
|  | 
|  07-14-2010, 03:08 PM | #6 | |
| Wizard            Posts: 4,004 Karma: 177841 Join Date: Dec 2009 Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T | Quote: 
 Even if I decided to tackle rtf conversion issues, it would be low on my priority list. | |
|   |   | 
|  07-14-2010, 04:03 PM | #7 | 
| Addict            Posts: 319 Karma: 397404 Join Date: Aug 2009 Location: UK Device: PRS-505,DSlibris,nook Glow & HD+,Tab S2,Moon+,Clara,Clara Colour | 
			
			Try this html file.  Converted with OpenOffice.
		 | 
|   |   | 
|  07-14-2010, 04:19 PM | #8 | 
| Enthusiast  Posts: 28 Karma: 32 Join Date: Aug 2009 Device: Kindle 2 | 
			
			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. | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| RTF into Sigil - need RTF->HTML converter | Daemon | Sigil | 8 | 09-21-2010 03:56 PM | 
| Cannot Convert HTML to RTF | LightGuard | Calibre | 1 | 06-27-2010 10:37 AM | 
| save to RTF or HTML | lady_morana | Calibre | 3 | 04-02-2009 04:30 PM | 
| RTF -> HTML | Dave Berk | Workshop | 12 | 09-06-2008 06:38 PM | 
| HTML to RTF? | Alexander Turcic | Workshop | 8 | 02-11-2007 06:58 PM |