12-20-2023, 11:59 PM | #1 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
|
Does Kindle automatically Justify alignment?
Hello peeps,
Have received gift of a new Kindle Paperwhite, and a flash drive with a load of EPUBs on. Have been reading posts (not on here) from people saying that the displayed text will be Justify by default, with no option on the Kindle itself to change this. I'd prefer to read in left-aligned format. As such, is there a straightforward .css template that I could link to the EPUB files, or is there an easier way of doing it? Thanks in advance. Last edited by Woodssi; 12-21-2023 at 12:26 AM. |
12-21-2023, 06:18 AM | #2 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
A Kindle does not read epubs. You'd be better off asking in a kindle (or epub) forum if this is possible. It's not really a Sigil-specific question. The behavior of Epubs converted to Kindlebooks are not really our forte/concern. Our concern is making spec-compliant epubs.
|
12-21-2023, 11:43 AM | #3 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
|
Ok...
My current Kindle reads EPUBs just fine. My question (or the possible solution) is about the .css file. Does that not come under a Sigil topic? (as it'll be Sigil I would use to amend the file) If not, then I apologise and this thread can be closed. |
12-21-2023, 11:49 AM | #4 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Actually your current kindle does not read epubs directly, instead it converts them to either a kf8 or kfx native kindle format. It is this conversion that is specific to Kindle that we are not experts on. Especially how it converts and injects its own css and how it interprets styling issues. That is why it is better to ask your question in our Kindle forum here on MobileRead to see how best to modify your existing css stylesheet to do what you want.
|
12-21-2023, 11:53 AM | #5 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
You can create a new css file with css code to style the body to use justify left and link it after all existing css files in each xhtml file but I am not sure if a kindle conversion would respect that at all.
But people on the Kindle forum would know. |
12-21-2023, 01:05 PM | #6 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
|
Ahh, I understand now.
I'll pop over to the Kindle forum and ask the question there. |
12-28-2023, 06:57 AM | #7 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I don't see your question in the Kindle Formats forum, so I'll post my tuppence-worth here:
My every paragraph style contains the line: text-align:justify; If you substitute "left" for "justify", your text will be as ugly (IMHO) as you want it to be. |
12-28-2023, 07:02 AM | #8 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's excess code. You only need to set the alignment once in body.
|
12-28-2023, 08:29 AM | #9 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm fairly certain that the Kindle Publishing Guidelines frown on forcing any kind of justification (full or left) for general body text. It's OK for a special stylized section of text, but forcing a justification value for ALL text can interfere with the reader's ability to make up their own mind (through device/app preferences) about what is "ugly" or not. Any attempts at forcing the user's choice in this regard is why Amazon might choose to ignore any such heavy-handed efforts to do so.
|
12-28-2023, 11:23 AM | #10 | |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-28-2023, 11:25 AM | #11 |
A Hairy Wizard
Posts: 3,096
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
|
12-28-2023, 11:31 AM | #12 |
Resident Curmudgeon
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-02-2024, 09:24 AM | #13 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Any efforts--to do any type of justification--justified, left-aligned, right-aligned--over the "body" text (body tag) or anything like that (e.g., the main paragraph style) are typically just ripped right the hell out in the final conversion. IF you leave your file alone, no mandated alignment anywhere (except for small blocks like blockquote and the like, of course) and you have a more-recent eInk, you should be able to choose your own justification. If you have an older device, it will simply default to justified. Them's the breaks. There is NO reason on God's green earth, in 2023 or frankly, since about 2015, for alignment to be on every paragraph formatting codes. Just...isn't. Hitch |
|
01-02-2024, 10:13 AM | #14 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I thought that was what happened, but I wasn't certain. Thanks for clarifying.
|
01-02-2024, 11:18 AM | #15 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
It's still the Wild West, in the backrooms of KDP, to be honest. You can spend a lot of time throwing darts at the wall back there and just...well, hope for the best. I remember 15 years ago trying to be all cutting edge, doing the "cool stuff" (like sidebars) and all that. NOW, I just want the damned things to be consistent, lol. I find that we tend to be a lot more conservative now with what we do, for that reason. You just can't rely on them to do the same thing every. single. time. Not IME. hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub to Epub losing Justify text alignment | navyo | Conversion | 0 | 07-07-2016 06:33 AM |
How to automatically justify text? | cptnemo | Recipes | 9 | 11-27-2013 08:42 PM |
How do fixed forced alignment in a Kindle book | Kratos | Kindle Formats | 4 | 03-08-2013 08:26 PM |
Does Kindle for the PC fully justify the books? | JerrySmile | Amazon Kindle | 7 | 10-19-2012 09:02 PM |
hanging indents alignment on Kindle | backwoodsman | Calibre | 9 | 04-22-2012 03:36 AM |