11-26-2012, 11:19 PM | #16 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
You could do as Kovid suggested and save the rtf as web paged filtered then convert to mobi making sure you have a neg value under the indent size so calibre doesn't change your indents (see attached). If you don't want calibre to change your paragraph indents during conversion then quit telling calibre to change your paragraph indents. If you think this is a bug, submit a bug report. Last edited by DoctorOhh; 11-26-2012 at 11:33 PM. |
||
11-27-2012, 12:43 AM | #17 |
null operator (he/him)
Posts: 20,459
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
11-27-2012, 08:07 AM | #18 | |
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
|
|
11-27-2012, 06:04 PM | #19 |
Connoisseur
Posts: 84
Karma: 335288
Join Date: Nov 2012
Device: Kindle
|
@Jackie_W,
I'm going to try your suggestions, but I have a few follow-up questions. I apologize in advance for my ignorance and dumb questions. Please be patient with me -- I am a tech novice. I'm looking at the example document. It appears that you use "Heading 1" for the chapter title; "Normal" for the first, non-indented paragraph; and "Normal (Web)" for all subsequent paragraphs. Is that correct? If I format my documents as described above, do I just then important them directly into Calibre (without converting them to web-filtered)? And then run the regular conversion to .mobi without making any preference changes? Last edited by A Lurker; 11-27-2012 at 06:45 PM. |
11-27-2012, 06:32 PM | #20 | |||
Connoisseur
Posts: 84
Karma: 335288
Join Date: Nov 2012
Device: Kindle
|
Quote:
I tested a couple of ways to counter-act these Calibre-inflicted flaws (for example, I checked the box to remove spaces), but those created new problems. (Perhaps that's what you're referring to when you say the problems are self-inflicted?) If I follow your suggestion and stop fiddling with those settings, it certainly addresses these new problems, but it does nothing about the underlying problem. Your suggestions merely get me back to square one (with no tabs and spaces between my parapgraphs). Quote:
Quote:
Other posters have suggested that I replace the tabs in my document with indents using Styles. That sounds like it could address my underlying problem. I will give that a try. Last edited by A Lurker; 11-27-2012 at 06:47 PM. |
|||
11-27-2012, 06:39 PM | #21 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
The problem is that in the HTML based formats used by eBooks such as ePub and mobi tabs have no effect at all on formatting. It makes no difference whether Calibre removes them or leaves them - it does not affect the output formatting. Therefore you cannot use tabs to control formatting - you have to use some other mechanism such as styles.
|
11-27-2012, 06:41 PM | #22 |
Connoisseur
Posts: 84
Karma: 335288
Join Date: Nov 2012
Device: Kindle
|
@ Jackie_W,
I just noticed that in the sample "RTF_Test.mobi" document you attached there is a space between the paragraphs. That is what I'm desperately trying to avoid. In previously conversion attemps I tried checking the "remove line spaces between paragraphs", but that messed with my tabs. I'm hoping that if I convert my tabs to indents I won't have that problem. |
11-27-2012, 06:44 PM | #23 |
Connoisseur
Posts: 84
Karma: 335288
Join Date: Nov 2012
Device: Kindle
|
|
11-27-2012, 07:48 PM | #24 |
Connoisseur
Posts: 84
Karma: 335288
Join Date: Nov 2012
Device: Kindle
|
@ Jackie_W, BetterRed and itimpi,
THANK YOU! Your suggestion worked. I edited the .rft file in MS Word. I deleted all the tabs in my document and replaced them with a 0.3 indent. I made sure the first paragraphs of each section were a "normal" style so that they would not be indented. Then I imported the .rtf directly into Calibre and converted it. By default, Calibre still inserted a line space between the paragrah. I re-ran the conversion, this time checking the "do not insert a space" box and setting Calibre's indent to "no change". This time, the document came out looking exactly like the original file. I truly appreciate all of your gracious, constructive suggestions, and your patience with my limited technical knowledge. |
11-27-2012, 08:20 PM | #25 | |||
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
The sample RTF used 'Heading1' as a chapter heading, but for my own docs I prefer to use 'Heading 2' for chapter hdgs and 'Heading 3' for sub-hdgs, reserving 'Heading 1' for the book Title and Author only. This is purely personal choice, calibre won't mind which you use as long as you tell it in your conversion settings. Re: non-indented paras - yes, for simplicity I just used the standard Normal style which, by default has a text-indent of zero. You can change it if you want. Re: indented paras - I modified the 'Normal(Web)' style to have a first line indent. I think, by default, it has the same style as 'Normal'. It's hard to explain why I've done it this way without getting into the nitty-gritty of saving docs as HTML rather than RTF. So I won't try for now. Quote:
Quote:
There are several ways to get round this
That's probably enough to be going on with. BTW I was in your position 3-years ago, trying to figure out the best way of getting Word to play nicely with calibre. It didn't take me long to realise that learning a little bit of html/css is essential if you're at all picky about how your ebooks look. It's probably not what you want to hear right now, but I'm afraid, as they say, resistance is futile [Edit: damn... too late... could have saved myself some typing if I'd seen your last post.] |
|||
11-27-2012, 11:20 PM | #26 | |
null operator (he/him)
Posts: 20,459
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I don't get stuck conversions since I wound back the settings to one job at a time at lowest priority - get twice as much done, and the CPU fan remains blissfully quite. BR |
|
11-28-2012, 12:19 AM | #27 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I'm glad you got it sorted out.
One note for folks reading this thread. The checkbox next to Removing spaces between paragraphs is also the checkbox that causes the Indent size box to be activated. The same is true for the checkbox next to Insert blank line between paragraphs, this box also activates the Line size box to the right on the same line. For each of the check-boxes mentioned there are two parts that are activated. |
02-06-2013, 01:04 PM | #28 | |
Blacklisted
Posts: 13
Karma: 10
Join Date: Feb 2013
Device: palm pixi
|
Quote:
In my case I don't have an rtf source so I still don't know what to do. I have a mobi source and I want to convert it to epub. The right thing is to rewrite calibre so it stops ignoring tabs IMO. But, in the meantime, does anyone know of a workaround for me? Last edited by jasontaylor7; 02-06-2013 at 01:14 PM. |
|
02-06-2013, 02:01 PM | #29 |
Grand Sorcerer
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I hate to get involved here but really, if you mean to say INDENTS say INDENTS not TABS.
As has been said over and over, tabs are treated as simply white space in ePubs and not as a means of imparting ANY formatting / layout to the ePub. |
02-06-2013, 02:43 PM | #30 |
Grand Sorcerer
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Normally I try to help beginners struggling with styling issues, but this 'mindless yeswoman' finds she can't be bothered with such an offensive post. Good luck getting others to help.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems converting rtf to mobi | Pierdzioszek | Conversion | 3 | 04-09-2012 03:04 PM |
RTF to Mobi to Kindle: Table Border and Formatting are lost | Starko | Calibre | 12 | 12-20-2010 05:46 AM |
Converting from RTF to MOBI drops graphics | Rimsky | Calibre | 2 | 10-11-2010 01:01 AM |
preserve table format when converting mobi to rtf | moogoogai | Calibre | 4 | 02-26-2010 12:50 PM |