|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 286
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
Formatting problems from HTM (ZIP) to RTF
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: 3,994
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:
__________________
The speed limit on our spacetime highway of life is c - lightspeed. Surprisingly, the posted minimum is also c. We can go no faster, nor any slower! The conversion factor from the time dimension to space is ct. When stationary in space, we must move into the future at c to have our clock tick off t. When moving in space, the spacetime vector c tilts from pure motion in time. The faster we move in the space dimension, the slower we move in the time dimension. |
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 286
Karma: 56788
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: 1,418
Karma: 1040308
Join Date: Jan 2009
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: 3,994
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.
__________________
The speed limit on our spacetime highway of life is c - lightspeed. Surprisingly, the posted minimum is also c. We can go no faster, nor any slower! The conversion factor from the time dimension to space is ct. When stationary in space, we must move into the future at c to have our clock tick off t. When moving in space, the spacetime vector c tilts from pure motion in time. The faster we move in the space dimension, the slower we move in the time dimension. |
|
|
|
|
![]() |
| Tags |
| conversion, htm, paragraph spacing, rtf |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| 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 |