02-13-2019, 12:55 PM | #1 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
spacing problem in Kindle AZW3 converted from rtf file
Please forgive this newby question, which I'm sure has been discussed before.
My goal is to transfer my manuscript of quotes for distribution via Kindle. I first formatted the text and created a pdf that can be used for viewing on the computer. Following suggestions read on this forum, I then used CALIBRE to convert the rft manuscript to AZW3. The problem is line spacing. Attached you can see: a. sample from the pdf, with proper line spacing b. sample from the reformatted rtf, still respecting the line spacing design c. photo of Kindle screen that shows wrong line spacing. I do read in the forums that I need to play with the CSS codes for text height and line height to create the design I desire. My questions at this point are: 1. where are these codes in the rtf file? how can I view them? I can see the pilcrows but nothing more than that. 2. what program should I use to try to edit those? thank you. |
02-13-2019, 02:15 PM | #2 |
Evangelist
Posts: 416
Karma: 2289864
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
What you really want here is paragraph styles, and I don't think rtf is smart enough to support them. If you were using LibreOffice Writer (or Word) you could apply styles there, in the manuscript, and let Calibre convert the odt or docx file. It looks like your azw3 is getting the same style for each paragraph in conversion, at least for spacing.
For the html in the azw3, you want to end up with something like this: For the main paragraph, something like Code:
<p class="mainpara">your text</p> Code:
.mainpara { text-align: left; margin-top: 1.5em; margin-bottom: 0; } Code:
<p class="subpara">your text</p> Code:
.subpara { font-style: italic; text-align: left; margin: 0; } |
Advert | |
|
02-13-2019, 02:24 PM | #3 |
Well trained by Cats
Posts: 30,376
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The term is Paragraph breaks.
Line spacing ( applies to many lines within a paragraph block) is controlled by line-height: 1.2 (is normal) Make sure your conversion settings do not have remove blank lines. (also, your device may need to use Publishers Stylesheet unless you hard encode blank lines ) FWIW I gave up trying to get a 'perfect' conversion between formats. I hand edit my EPUB/AZW3 to add the FINAL polish |
02-13-2019, 04:28 PM | #4 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
Thank you. Actually, the very large collection of quotes was created in ACCESS, which was ideal for tracking and sorting the many different fields of text. Access also allows very detailed formatting options for export as pdf, and the resulting book is beautiful.
The problem is how to convert this for Kindle. Everyone seemed to agree that the pdf produced through ACCESS can't be converted for Kindle, and they recommended exporting as rtf. I had to hand edit that 140 page document, removing the pilcrows that messed up the spacing when the rtf was converted for Kindle. (Access does not have an option to export the text as a Word document.) 1. Is there a better option than rtf for exporting from ACCESS, that would be less problematic when converted for Kindle? 2. I think I can manually insert the CSS codes you suggested into the rtf but this newby does not know what program to use, or how to see the CSS codes. Your further suggestions would be much appreciated. |
02-13-2019, 04:34 PM | #5 | |
Well trained by Cats
Posts: 30,376
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
AFTER it was converted. Making conversions look beautiful depends on the version. so edit the version, not the source. BTW If the PDF is good, why make a AZW3? Make an AZW4 (I think the Kindle Previewer will do this for you) |
|
Advert | |
|
02-13-2019, 04:36 PM | #6 |
null operator (he/him)
Posts: 20,935
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The red and blue underlines in your 2nd image suggest it's an image of Word, or maybe Writer (can't recall if it underlines 'errors' in red and blue) - if so save the file as DOCX and try converting that.
And as previous responders have suggested if you use Styles in Word/Writer you'll get much a better result. BR |
02-13-2019, 04:47 PM | #7 | |
null operator (he/him)
Posts: 20,935
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
02-13-2019, 06:32 PM | #8 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
BR - about using Word
Hi BR. I was hopeful about your suggestion to use the Word program to create a 'docx' document that could be converted on Calibre for viewing on Kindle.
The result is very interesting and I've attached three samples, along with the original pdf (which shows the correct design for text). When I use the path you suggested, prose text is generally (not always) properly produced. But poetry and the two or three lines after each quote are frequently messed up - as you can see in the attached photos of my Kindle Thank you!. |
02-13-2019, 08:18 PM | #9 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
The PDF is great. But Calibre does not convert to AZW4. Only to AZW3.
|
02-13-2019, 08:23 PM | #10 |
Member
Posts: 20
Karma: 10
Join Date: Jan 2019
Device: Kindle
|
Hi The Ducks.
Sorry but I don't know what you mean. a. There is no AZW4 option on the Calibre converting program. b. If you are suggesting to convert the AZW3 file produced by Calibre, how to do that? What program to use? How to edit? CSS? something else? |
02-13-2019, 08:31 PM | #11 | |
Well trained by Cats
Posts: 30,376
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Kindle Previewer from a source that is correct (PDF?) That is a Amazon publishing tool |
|
02-13-2019, 09:35 PM | #12 |
null operator (he/him)
Posts: 20,935
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
What happens if you just send the PDF you got out of Access to Amazon, maybe they wrap it in their magic paper and string and turn it into an AZW4 ==>> MobileRead Wiki - AZW4
BR |
02-13-2019, 09:43 PM | #13 |
null operator (he/him)
Posts: 20,935
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Moderator Notice
@Anne Marie Weiss - I just noticed you have another read running in the Kindle formats forum on the same issue ==>> spacing problem in Kindle Mobi converted from rtf file Please read Guideline #3. I'm closing this thread. BR |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
spacing problem in Kindle Mobi converted from rtf file | Anne Marie Weiss | Kindle Formats | 33 | 02-18-2019 12:12 PM |
Problem with line spacing in converted .epub files | Vegard | Conversion | 2 | 05-09-2018 09:56 PM |
AZW3 Converted file on Kindle Oasis: Last paragraph doesn't always show | Debtoine | Conversion | 3 | 02-01-2017 11:21 AM |
Converted an RTF file to MOBI Problem | Knipfty | Calibre | 0 | 01-11-2010 10:24 PM |
Problem reading rtf file | jschall | Calibre | 5 | 08-18-2009 06:44 AM |