03-06-2013, 10:15 AM | #1 | |
Connoisseur
Posts: 60
Karma: 10
Join Date: Mar 2011
Location: UK
Device: Kindle 3, iPhone, iPad, PC
|
How do fixed forced alignment in a Kindle book
Hi.
I have updated a book of mine that is available on the Kindle store. I have received a quality control message from Kindle that says Quote:
I'm not sure what they are referring to exactly and their help page is lacking. Could it be page breaks? The original version epub was converted with Kindlegen. I converted the second edition epub with Calibre. Does this have any bearing? |
|
03-06-2013, 08:00 PM | #2 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Amazon wants this to be controllable by the user's preferences, so when the book forces the entire text into a certain justification, it degrades the user experience. You will have to open up the EPUB in an editor (many of us use Sigil), open the .css file, and search for "text-align". Here is an example: Code:
p {
margin-top: 0;
margin-bottom: 0;
line-height: 1.2em;
text-align: justify;
text-indent: 2em;
}
Instead of the device now making every paragraph justified, it will default to whatever justification the device/user preferences say. Quote:
If you already have the original EPUB, there is no reason you should NOT be using Kindlegen to generate files for Amazon. |
||
03-08-2013, 06:36 AM | #3 |
Connoisseur
Posts: 60
Karma: 10
Join Date: Mar 2011
Location: UK
Device: Kindle 3, iPhone, iPad, PC
|
Hi Tex2002ans. Thank you so much for you in-depth and solid answer. I will implement it this weekend and let you know.
The reason I use Calibre and not Kindlegen is because it easily converts the table of contents of my ePub. Using Kindlegen it doesn't and I find it so frustrating and difficult to add the ToC in that I give up. I don't understand why Amazon don't add such a feature to Kindlegen as not all writers find this easy! |
03-08-2013, 06:48 AM | #4 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
(KindleGen can compile ePubs, too.) Last edited by Doitsu; 03-08-2013 at 10:16 AM. |
|
03-08-2013, 08:26 PM | #5 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Do you have an inline TOC in your book? Perhaps you forgot to set it in the content.opf. Here is the guide section out of a typical book that I generated in Sigil: Code:
<guide>
<reference href="Text/cover.xhtml" title="Cover" type="cover" />
<reference href="Text/TOC.xhtml" title="Table Of Contents" type="toc" />
</guide>
If you do open your EPUB in Sigil though, you can right click on your TOC in the Book Browser, Add Semantics -> Table of Contents. This will add that section above to the content.opf automatically. Quote:
All that aside though, Sigil is a great EPUB making program. Plus it makes it very easy and takes care of a lot of these annoyances. As a side note, perhaps you should try to use the latest version of Kindle Previewer (a GUI frontend for Kindlegen, you can just drag and drop the EPUB onto Kindle Previewer and it will convert for you). Perhaps the latest version might handle your book better since last you tried it: http://www.amazon.com/gp/feature.htm...cId=1000765261 |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fixed Layout Childrens book Question | ralphiedee | Workshop | 1 | 09-14-2012 05:44 AM |
hanging indents alignment on Kindle | backwoodsman | Calibre | 9 | 04-22-2012 03:36 AM |
What will happen/I gain if I forced an ePub book to a KePub book? | andsoitgoes | Kobo Reader | 4 | 04-04-2012 04:33 PM |
Swiss Referendum on Fixed Book Prices | darryl | News | 10 | 03-18-2012 08:03 AM |
Kindle Fire Forced Me to Register | Art's Tart | Introduce Yourself | 3 | 11-22-2011 08:19 AM |