![]() |
#1 |
C L J
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,911
Karma: 21115458
Join Date: Dec 2008
Location: Birmingham UK
Device: Sony e-reader 505, Kindle PW2, Kindle PW3, Kobo Libra2
|
Kindle and Calibre Conversions
I'm new to kindle, having been a dedicated Sony 505 person till now. I just have a few basic questions.
Does Calibre convert lots of different formats: epub, txt, pdf, and many others but especially epub into a format which perfectly displays justified text on the Kindle (paperwhite 2)? The problem I have with the 505 is that it makes a poor job of displaying justified lrf which have been converted from epub. This was one of the main reasons for the Kindle purchase. I like reading pd classics downloaded from MR, but the uploaders who format the great books on MR have stopped uploading the lrf format. The epubs just don't look right on the 505. Please move this to the Kindle forum if necessary. Thanks. |
![]() |
![]() |
![]() |
#2 |
ɴₐɴ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
I usually work with EPUB and then convert to AZW3 for the Kindle. I use the Hyphenate This plugin in Calibre which greatly helps with justified text.
https://www.mobileread.com/forums/sho...d.php?t=208534 Exactly what justification problems are you're having with LRF files? I don't really have any experience with that format. Doesn't the Sony handle EPUB? Or does LRF just have advantages over EPUB on that reader? Here's an example of justified text on my Paperwhite: Last edited by JimmyR; 02-19-2014 at 06:32 AM. Reason: Add question |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
If you convert from EPUB to AZW3, the book will normally display perfectly on the Kindle.
However, if the EPUB is not justified, the AZW3 also won't be. You can set justification upon conversion, but I'm not a fan of that method. I normally open the book in the Calibre Viewer, and if it's not justified, I use Edit Book. Just find the the classes in the CSS that make up the body text, and add: text-align: justify; Or, if it's set to left, change it to justify. Save the book, and then convert it. |
![]() |
![]() |
![]() |
#4 |
C L J
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,911
Karma: 21115458
Join Date: Dec 2008
Location: Birmingham UK
Device: Sony e-reader 505, Kindle PW2, Kindle PW3, Kobo Libra2
|
Katsunami, please explain that more simply. I'm a not techie and find Calibre over complex at times. I certainly could handle CSS, whatever that is.
The 505 can't display epubs very well. This is discussed in the "What we're working on" thread in the Uploads department. This is the very reason I'm buying the kindle. See the last 3 pages of this thread: https://www.mobileread.com/forums/sho...=10203&page=58 Last edited by BookCat; 02-19-2014 at 12:02 PM. |
![]() |
![]() |
![]() |
#5 |
ɴₐɴ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
If you view the EPUB in the Calibre viewer and the text is justified, then the resulting AZW3 will be as well—provided that the option for text justification is set to "Original" or "Justify text" in the Look & Feel conversion options. See attached image.
If the EPUB text is left aligned, then set the option to "Justify text". You can also open the EPUB in the editor (Edit Book) and manually change/add the text-align property for the appropriate classes in the CSS—as Katsunami pointed out. The former method is obviously the simpler of the two. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Quote:
- Open the EPUB using Calibre's "Edit Book". - Click one of the chapter files. - Find the CSS class that represents the main body text. (See attachment 1.) - In this book, the class is called "calibre3", but it can have any name. - Open the book's stylesheet (in this case, stylesheet.css). - Find the correct class: it can be either "p.calibre3", or ".calibre3". (See attachment 2.) - Change "text-align: left;" to "text-align: justify;". If there is no text-align property, then add "text-align: justify;" to the class. - Save the book. Done. Many books have the first paragraph non-indented, while the following paragraphs are indented. In this case, the first paragraphs will be in their own class. You will also need to find the class name that belongs to the first paragraphs, and change the justify there as well. Master Trick: Sometimes, books have gaps between paragraphs, or they have a weird misaligned look: this happens if the paragraphs have an extra margin that is a bit larger than the normal line height. If one of these things bother you, do the same as above, an then: - Remove any "margin" property from the class that represents body text (and if necessary, also from the class that represents the first paragraphs.) - Add "margin: 0;" to the class. - Save the book. Poof. No more margins or weird misaligned looks in the body text. This works for most books, but sometimes it doens't; then you have a book with bad markup, and some heavy-handed editing may be needed. ===== Alignment through conversion vs. Manual alignment by CSS Calibre can do "Justify" and "Remove gap" while converting, as JimmyR points out, but I prefer doing this by hand. Because the re-alignment while converting is automated, the effects can not always be predicted. Sometimes, Calibre will also re-align and justify stuff that you DON'T want to change, such as poems or songs. (Think Tolkien...) Calibre may change them, but my method won't, as they will have their own class, different than the one used for the body text. (If it is a book marked up in a sane way, anyway.) Quote:
![]() Last edited by Katsunami; 02-19-2014 at 02:27 PM. |
||
![]() |
![]() |
![]() |
#7 | |
C L J
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,911
Karma: 21115458
Join Date: Dec 2008
Location: Birmingham UK
Device: Sony e-reader 505, Kindle PW2, Kindle PW3, Kobo Libra2
|
Quote:
Thanks for the conversion info. |
|
![]() |
![]() |
![]() |
#8 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#9 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
The 505 viewed epubs fine and integrated with calibre as well or better than any other dedicated ereader. I gave mine to my son years ago. As I recall it showed full or left justified text as presented in the CSS. My personal preference led me to format all my epubs for left justification.
I was determined to stay with my 505 later the 950 until I found a device as well integrated. Once chaley said he was developing an Android app I knew the calibre integration would be great so I bought a Nexus 7 and haven't looked back. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre conversions | Andy Comanda | Introduce Yourself | 4 | 11-17-2011 06:53 AM |
Conversions readable in Calibre but not on device | Roobarb | Conversion | 1 | 03-05-2011 02:40 PM |
Calibre conversions for kindle | gfoster | Amazon Kindle | 12 | 12-29-2010 03:39 AM |
Conversions crash calibre | slantybard | Calibre | 0 | 07-20-2009 12:50 AM |
Calibre ePub re-conversions... | slantybard | Calibre | 1 | 07-14-2009 05:05 PM |