View Single Post
Old 11-14-2010, 09:03 AM   #1
Raimond
Member
Raimond began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2010
Device: Sony PRS-600, Kindle Paperwhite
HTML to RTF paragraph problems

Hi,

I'm normally using calibre to convert html files to epub and PDF and thats working great. (commandline with ebook-convert)

Now I've tried to create a RTF file and the formatting isn't as it should be.

My test-html file:
Code:
<html>
<head>
</head>
<body>
<p>Line 1 with a lot of text .... </p>
<p>Line 2 with a lot of text .... </p>
<p>Line 3 with a lot of text .... </p>
<p>Line 4 with a lot of text .... </p>
<p>Line 5 with a lot of text .... </p>
</body>
</html>
Epub/PDF Output (as it should be!):
Code:
Line 1 with a lot of text ....

Line 2 with a lot of text ....

Line 3 with a lot of text ....

Line 4 with a lot of text ....

Line 5 with a lot of text ....
RFT Output:
Code:
	Line 1 with a lot of text .... 
	Line 2 with a lot of text .... 
	Line 3 with a lot of text .... 
	Line 4 with a lot of text .... 
	Line 5 with a lot of text ....
in RTF there is no space between paragraphs and every <p> is !!also!! replaced with an Tabstop

Is there a way to remore the tabstop and to insert a line between paragraphs?

Rai
Raimond is offline   Reply With Quote