Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2020, 09:42 AM   #1
TheSmitty
Addict
TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.
 
TheSmitty's Avatar
 
Posts: 317
Karma: 1181422
Join Date: Dec 2017
Location: DFW, TX area
Device: Kindle Colorsoft, Libra Colour, Voyage, iPad Pro 11, iPad Mini 7
H20 justification issue

Forgive me as I am not sure which forum to post this in. I have a book that I transferred from kindle to my H20 using Calibre.

One problem I see is that I cannot change the justification of the book on the H20. It always stays set with right justification. On the kindle you can switch it back and forth to what you want.
Am I missing something?
TheSmitty is offline   Reply With Quote
Old 11-10-2020, 11:32 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Edit the eBook in the Calibre editor. Remove all text-align: left; from the CSS. In the body CSS, add in text-align: justify; See the body CSS style that you should add in or replace body with.

Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}

Last edited by JSWolf; 11-10-2020 at 11:34 AM.
JSWolf is online now   Reply With Quote
Advert
Old 11-10-2020, 11:43 AM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,185
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You might also want to check the entire CSS stylesheet(s) for "text-align:" and remove any text-align: right that apply to body paragraphs. My habit is to remove all text-align justify or left allowing me to use the ereader's menu to select while leaving center and right. In your case, it appears the normal body paragraph has right alignment set.

BTW, I am assuming that by right justification, you mean the text is flush to the right margin and the left side of the text is ragged.
DNSB is online now   Reply With Quote
Old 11-10-2020, 06:15 PM   #4
TheSmitty
Addict
TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.
 
TheSmitty's Avatar
 
Posts: 317
Karma: 1181422
Join Date: Dec 2017
Location: DFW, TX area
Device: Kindle Colorsoft, Libra Colour, Voyage, iPad Pro 11, iPad Mini 7
I may have described it incorrectly. The text is aligned left along the margin. Any the right is aligned along the margin there. As opposed to jagged on the right side. Hope that makes sense.
TheSmitty is offline   Reply With Quote
Old 11-10-2020, 08:58 PM   #5
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,586
Karma: 14328510
Join Date: Nov 2019
Device: none
If you want it ragged / jagged on the right, straight on the left, then in calibre change the conversion settings so that Text Justification is Left align. The first image is in your global Preferences, under Conversion, Common Options. This affects all books from now on. The second one is where you can change it for the book you're converting, and those changes will stick, for just that book.

Then delete the book from your ereader, convert it again, then send it to your ereader. Before you send it to your ereader you can tap the V key and preview it with calibre.

I don't know what happens when you try to convert a book and the output format is already there. But to be safe you can right click on the Remove books button and select Remove Files of a Specific Format From Selected Books and remove the epub, before you convert it again.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2020-11-10 175454.png
Views:	110
Size:	43.5 KB
ID:	183320   Click image for larger version

Name:	Screenshot 2020-11-10 175551.png
Views:	112
Size:	65.6 KB
ID:	183321  

Last edited by hobnail; 11-10-2020 at 09:06 PM.
hobnail is offline   Reply With Quote
Advert
Old 11-10-2020, 09:26 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,185
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by TheSmitty View Post
I may have described it incorrectly. The text is aligned left along the margin. Any the right is aligned along the margin there. As opposed to jagged on the right side. Hope that makes sense.
That sounds more like the text is justified. Left aligned gives ragged right and right aligned gives ragged left. Centered, not to be left, out gives ragged left and right.
DNSB is online now   Reply With Quote
Old 11-11-2020, 10:32 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by TheSmitty View Post
I may have described it incorrectly. The text is aligned left along the margin. Any the right is aligned along the margin there. As opposed to jagged on the right side. Hope that makes sense.
Hyphenation does not work with left justified text.
JSWolf is online now   Reply With Quote
Old 11-11-2020, 01:09 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,185
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Hyphenation does not work with left justified text.
And left justified text does not give rivers which I personally find very annoying.
DNSB is online now   Reply With Quote
Old 11-11-2020, 03:24 PM   #9
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,586
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by DNSB View Post
And left justified text does not give rivers which I personally find very annoying.
I'm sure if I'd been using fully justified up to now and tried left justified I'd hate the left justified. But I learned about the advantages of left justified decades ago. There are some times a large space at the end of a sentence where it could have hyphenated a big word but I hardly notice it any more. Whereas those big space between words drive me nuts.
hobnail is offline   Reply With Quote
Old 11-11-2020, 04:35 PM   #10
TheSmitty
Addict
TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.TheSmitty ought to be getting tired of karma fortunes by now.
 
TheSmitty's Avatar
 
Posts: 317
Karma: 1181422
Join Date: Dec 2017
Location: DFW, TX area
Device: Kindle Colorsoft, Libra Colour, Voyage, iPad Pro 11, iPad Mini 7
Thanks for all the responses.

Other books I have from Kindle and moved to Kobo do not have the problem. The common denominator is that the one that allow me to successfully change the justification are Kobo epub. The books that do not allow changing of the justification are just epubs. How I have some in one format or another is a mystery at the moment.
TheSmitty is offline   Reply With Quote
Old 11-11-2020, 04:55 PM   #11
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,586
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by TheSmitty View Post
Thanks for all the responses.

The books that do not allow changing of the justification are just epubs.
For being able to change the justification on plain epubs you'll need to roll up your sleeves and dig into the book's css. In the css find and delete all lines that say
Code:
text-align: left;
or
Code:
text-align: justify;
If they say center or right, leave those alone. The text-align:justify is the more likely one. Find all occurances and delete them.

With the kobo, if there is neither a text-align:justify nor a text-align:left then you can change how it displays with the ereader's setting. Otherwise, either one forces it.

At worst there might even be
Code:
style="text-align: justify;"
in the html on the p tags; delete those as well.

Another avenue to try, and perhaps the easiest one, is to use the Kobo extended driver plugin for Calibre. It changes an epub to a Kobo epub (called kepub on these forums) on the fly when it sends the ebook to your ereader. See its page in the Calibre plugins section here.

Last edited by hobnail; 11-12-2020 at 02:29 AM.
hobnail is offline   Reply With Quote
Old 11-12-2020, 01:05 AM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
And left justified text does not give rivers which I personally find very annoying.
That's why I created a better hyphenation dictionary as Kobo's default settings are all wrong 5 is just way too large and leaves way too many gaps.
JSWolf is online now   Reply With Quote
Old 11-12-2020, 06:59 AM   #13
PapaQuebec
Member
PapaQuebec began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2012
Device: Kindle Oasis 2, Kindle Paperwhite 4,Samsung Tab S,
Actually, while you incredibly generous guys have been taking the time to reply to me I went into the edit menu, chose the CSS that showed me two font sizes were in use - 1.125EM and 0.75EM and changed them both to 1.125EM , saved and exited and copied the file to a spare Kindle PW3 - there is still a very slight difference in the pars but the difference is less than a point (as a former Journalist I tend to think in points - an EM and an EN were measures of width)

I'll play with this some more, but thanks guys (and gals) you've certainly pointed me in the right direction!!
PapaQuebec is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo H20 Maillemom Kobo Reader 11 07-09-2017 11:12 AM
Aura H2O dead H20 xdvsx Kobo Reader 10 05-28-2017 10:34 AM
Issue with Calibre 2.69 and Kobo Aura H20 w/ Koreader - device library disappeared! bunglegrind Devices 9 10-17-2016 09:23 AM
Collections Sync Issue with Calibre and Kobo Aura H20 CmplxAdSys Devices 2 08-10-2015 05:49 PM
Kobo H20 murg Kobo Reader 3 08-18-2014 08:10 PM


All times are GMT -4. The time now is 07:16 PM.


MobileRead.com is a privately owned, operated and funded community.