Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

>

Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Kindle Format 8 Guidelines

News Kindle  publishing bookshelf Recommended Links Self Publishing Grammar checkers Frontpage Kindle Publishing Tools
KindleGen Kindle Previewer calibre Guidelines  Random Findings Humor Etc

Adapted from  Amazon Kindle Publishing Guidelines.  

Text Guideline #1: Body Text Must Use Defaults

The body text in a reflowable Kindle book (fiction and non-fiction) must be all defaults.   The reason for this is that any styling on body text in the HTML will override the user’s preferred default reading settings. Users report such behavior as a poor reading experience. Here are the most important points:

 Text Guideline #2: Use CSS for Page Breaks

Do not insert blank lines of text to create page breaks. Use the CSS page-break-before and page-break-after attributes.

Text Guideline #3: Formatting Paragraphs

KindleGen automatically indents the first line of every paragraph by default. To change this behavior, use the text-indent style on the <p> tag. For example:

To change the space before each paragraph, use the margin-top style on the <p> tag.

Text Guideline #4: Other Encodings Are Supported

The source of a Kindle book can be encoded in many different ways. All encodings are supported, provided that:

• The encoding of the HTML files is clearly stated in the HTML; and

• The computer used for compiling the sources supports the encoding and knows how to convert it to UNICODE.

Amazon recommends specifying the encoding of the HTML files in the HTML itself by using the <meta> tag in the <head> section.

Example

<html>
<head> 
... ... ...
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> 

Text Guideline #5: Spaces and Unicode Characters

The only supported spaces are the normal space, the non-breakable space (&nbsp;) and the zero-width non-joiner (&zwnj;). Use of any other space can break the selection, dictionary lookup, and line-wrap algorithms.

Do NOT use Unicode format characters, as they may cause problems.

Text Guideline #6: Monospaced Font Is Supported

Kindle uses a default font for content if none is specified; it also supports a monospaced font.

Kindle uses the monospaced font to render content in the following tags: <pre>, <code>, <samp>, <kbd>, <tt>, <font face="courier">, <font face="monospace">.

With the exception of <pre>, the tags listed above do not change the text alignment. If the content in these tags should be left-aligned, wrap the tags listed above in a <div> styled with CSS using text-align:left.

Publishers can include their own font for their content. Amazon has a quality assurance process to ensure that these fonts display well on e Ink-based devices and do not impair the reading experience. Do not include the Charis font; it is replaced with a higher quality font in the Kindle Readers.

Text Guideline #7: CSS Support

The earlier Kindle platform offered very basic support for Cascading Style Sheets (CSS). This has been significantly enhanced in KF8 with support for CSS 2/CSS 3. (See section 11.2 for the list of supported CSS attributes/selectors). To verify that your use of CSS elements displays the way you intended, preview your Kindle book on different devices before publishing it.

Avoid using fixed values such as points and pixels for CSS properties such as font-size, width, height, margin, padding, text-indent, and line-height. To enable rendering across various screen sizes and resolutions, specify these values in percentages.

When using the margin and padding CSS properties, specify the values in percentage (%) instead of em units. This ensures that the margins do not grow wide with large font sizes. Margins should be assigned values of 0 or greater to keep content from falling off the edge of the screen or overlapping

Kindle Publishing Guidelines Amazon.com 13 other content. Always set left and right margins to 0 for normal body text to allow users the full range of margin selection using device defaults.

To ensure pagination, the Kindle Reader does not honor line-height value less than 1.2 em or 120%.

Elements such as drop caps should be specified using percentages or relative units (positive or negative) instead of fixed values such as points and pixels. (Example: drop caps: Use font-size: 300%). The top of the drop cap should be aligned with the body text. To create drop caps, Amazon recommends using the following sample CSS:

Example

p.para { 
   font-family: "Times New Roman"; 
   font-size: 4em; 
   margin-bottom: 0; 
   margin-top: 0; 
   text-align: justify; 
   text-indent: 0; 
}
@media amzn-kf8 
{ 
   span.dropcaps 
   { 
      font-weight:normal; 
      font-size:320%; 
      float:left; 
      margin-top:-0.3225em; 
      margin-bottom:-0.3245em; 
   } 
}
@media amzn-mobi 
{ 
   span.dropcaps 
   { 
      font-size:3em; 
      font-weight: bold; 
   } 
}

To verify that the drop caps display as intended, test the book as described in section 9.1, Testing Kindle Books.

Text Guideline #8: Page Numbers

Kindle books do not always map directly to page numbers in physical editions of the book. For this reason, there should not be any reference to page numbers in the book. Page numbers should not be included in cross-references or the index. Amazon may make page numbers available for books as additional book metadata. Amazon generates these page numbers based on its own internal technology.

Text Guideline #9: Customizing Font Selection

The primary or main font in a book should be set at the <body> level. If you prefer to use additional text styling such as bold or italics, ensure that the styles are set on the text rather than the font so that any font that the customer selects correctly displays these styling elements. Below are examples of both correct and incorrect implementation of customizing fonts in an ebook. Incorrect HTML Code Correct HTML Code
<html> <body>

<p style="font-family:PrimaryFont"> Primary font content </p>

<p style="font-family:SecondaryFont"> Secondary font content</p>

<p style="font-family:PrimaryFont"> Primary font content </p>

<p style="font-family:PrimaryFont"> Primary font content </p>

</body> </html>

<html> <body style="font-family:PrimaryFont">

<p> Primary font content </p>

<p style="font-family:SecondaryFont"> Secondary font content </p>

<p> Primary font content </p>

<p> Primary font content </p>

</body> </html>



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March, 12, 2019