![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 355
Karma: 65460
Join Date: Jun 2011
Device: Kindle
|
Formatting problems from HTM (ZIP) to RTF
I generally do proofing and formatting corrections in RTF, but have run into a snag recently in HTM-to-RTF. I'm hoping one of the resident geniuses can sort me out.
It boils down to this: converting from HTM to RTF, an extra line is added between paragraphs. Code:
<p>some text.</p> <p>some more text. </p> some text. some more text. instead of: some text. some more text. I checked off the "Remove spacing between paragraphs" box in the Conversion dialog, but that didn't make a darn bit of difference one way or another. I have that perfectly dangerous level of computer savvy: not enough to achieve what I want to, but just enough to make real hash of things. Any help here would be appreciated. |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
RTF is simple, and offers a few more formatting options than TXT, but it's not used much and not supported well. I used to use it, too, but I'd suggest that you might want to switch to using EPUB or HTML directly.
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 355
Karma: 65460
Join Date: Jun 2011
Device: Kindle
|
Quote:
Yes, I know it's HTM -- the code I gave was the input. Which is why I'm trying to figure out why that input is inserting a line break into the RTF document (the output) that isn't indicated by the input. And I can assure you, there is an extra line being inserted during the conversion process. However, it is gratifying to know that you agree: based on that code, it should not be adding additional lines between paragraphs. The question is: why is Calibre doing it, and how can I make it stop? As to editing ebooks in EPUB format, I haven't found a program that is intuitive enough for me to grasp it. As to editing the HTM directly (in a text editor, I presume), there are some formatting operations that I could conceivably perform, but again, my comfort level is such that I would vastly prefer to do the bulk of the editing in RTF. Again, thanks in advance for any insight you guys may be able to add. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
When you have a paragraph tag, it is supposed to add a line in between. That's how you tell paragraphs apart.
Maybe you really wanted a br tag, instead? |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
The conversion code is working as intended. |
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
conversion, htm, paragraph spacing, rtf |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
htm and html show as Zip format? | charlie94 | Calibre | 6 | 07-19-2010 01:44 PM |
Bug, calibre adding .htm ebooks as ZIP ? | carpii | Calibre | 3 | 02-27-2010 04:58 PM |
RTF formatting question | Amalthia | Workshop | 6 | 09-17-2009 06:07 PM |
RTF formatting problems | Chai_kovsky | Sony Reader | 1 | 02-02-2007 11:41 PM |
RTF formatting questions | kenbaldwin | Sony Reader | 7 | 10-30-2006 12:48 PM |