Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-20-2023, 11:59 PM   #1
Woodssi
Enthusiast
Woodssi began at the beginning.
 
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.
Woodssi is offline   Reply With Quote
Old 12-21-2023, 06:18 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 12-21-2023, 11:43 AM   #3
Woodssi
Enthusiast
Woodssi began at the beginning.
 
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.
Woodssi is offline   Reply With Quote
Old 12-21-2023, 11:49 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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.
KevinH is offline   Reply With Quote
Old 12-21-2023, 11:53 AM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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.
KevinH is offline   Reply With Quote
Old 12-21-2023, 01:05 PM   #6
Woodssi
Enthusiast
Woodssi began at the beginning.
 
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.

Woodssi is offline   Reply With Quote
Old 12-28-2023, 06:57 AM   #7
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
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.
Notjohn is offline   Reply With Quote
Old 12-28-2023, 07:02 AM   #8
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: 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:
Originally Posted by Notjohn View Post
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.
That's excess code. You only need to set the alignment once in body.
JSWolf is offline   Reply With Quote
Old 12-28-2023, 08:29 AM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 12-28-2023, 11:23 AM   #10
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: 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:
Originally Posted by DiapDealer View Post
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.
Yet I've seen plenty of Kindle eBooks with justification set to full.
JSWolf is offline   Reply With Quote
Old 12-28-2023, 11:25 AM   #11
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
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
Quote:
Originally Posted by JSWolf View Post
Yet I've seen plenty of Kindle eBooks with justification set to full.

Just because some people do it incorrectly doesn't make it right....
Turtle91 is online now   Reply With Quote
Old 12-28-2023, 11:31 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: 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:
Originally Posted by Turtle91 View Post
Just because some people do it incorrectly doesn't make it right....
Thing is, Amazon allows it so it happens.
JSWolf is offline   Reply With Quote
Old 01-02-2024, 09:24 AM   #13
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by DiapDealer View Post
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.
...and usually just rip it the hell out and then justify the text anyway.

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
Hitch is offline   Reply With Quote
Old 01-02-2024, 10:13 AM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 01-02-2024, 11:18 AM   #15
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by DiapDealer View Post
I thought that was what happened, but I wasn't certain. Thanks for clarifying.
Hell, that's because KDP is remarkably inconsistent with HOW they apply those rules. I've seen files where everything is ripped out and some where they aren't. Sometimes, it has to do with the source material too. Files submitted in similar timeframes...there aren't really good guides or guidelines, as we all know.

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
Hitch is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 04:44 PM.


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