Nothing Special   »   [go: up one dir, main page]

11 Creating Fixed-Layout Books With Image Pop-Ups or Virtual Panels

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Publishing on Kindle: Guidelines for Publishers

10.6.3 Aligning Text


By default, text aligns to the upper left corner of the containing HTML element. Many books may have text
that is right-aligned, bottom-aligned, or justified. The easiest way to identify the alignment is to imagine an
outline around the text and identify which edges of the paragraph are associated with a margin (top, left,
right, bottom).

Never use non-breaking space ( ) characters for text alignment. Instead, use CSS top, right,
bottom and left to position <div> elements that contain absolutely positioned text. Use two adjacent
sides to position each <div> element. For example, top and left but never top, left, and bottom. CSS
text-indent and line-height are useful in aligning text within HTML block elements.

11 Creating Fixed-Layout Books with Image Pop-Ups or Virtual Panels


Graphic novels, manga, and comics (hereafter referred to as graphic novels) are the most common fixed-
layout books with image pop-ups or Virtual Panels. They are similar to books, but present a
unique challenge because they tend to be longer and have more complex content.

Graphic novels include a large amount of detail in images that displays on a 1920 x 1200 screen. To
overcome this and other accessibility concerns, Amazon encourages the use of customized content and
our Kindle Panel View feature, which optimizes the content for a high-resolution reading experience. For
more details on Kindle Comic Creator, see section 2.2.3.

This format supports Enhanced Typesetting, provided that there is no hybrid text in the eBook (see
section 11.6).

Important: Nested anchor tags are not supported in fixed-layout books. Fixed-layout books with nested
anchor tags will be suppressed.

11.1 Metadata Guidelines


The OPF file specifies metadata necessary for fixed-layout books. For a demonstration, see the graphic
novel example at www.amazon.com/kindleformat (under the KindleGen Examples heading in the
sidebar).

While similar, the various types of fixed-layout formats have key differences. Unless explicitly stated,
guidance for fixed layout books with image pop-ups or Virtual Panels should not be applied to any other
format, such as fixed-layout books with text pop-ups.

Metadata Description

Layout can be specified using one of the following Required. Identifies the book as having a fixed
metadata fields: layout.

1) <meta Valid values for rendition:layout metadata are


property="rendition:layout">pre- reflowable or pre-paginated. The default
paginated</meta> value is reflowable.
2) <meta name="fixed-layout" Valid values for fixed-layout metadata are
content="true"/>
true or false. The default value is false.

Kindle Publishing Guidelines Amazon.com 49


Publishing on Kindle: Guidelines for Publishers

Metadata Description

<meta name="original-resolution" Required. Identifies the original design resolution of


content="1024x600"/> the content . The
pixel dimensions can have any positive integer
value. These values must be in proportion to the
overall aspect ratio of the original content.

Orientation can be specified using one of the Optional (but recommended).


following metadata fields:
Valid values for rendition:orientation
1) <meta metadata are portrait, landscape, or auto.
property="rendition:orientation">lands Locks the orientation of the book to either portrait or
cape</meta> landscape. If the value is auto, both portrait and
landscape modes are supported. The default value
2) <meta name="orientation-lock"
is auto.
content="landscape"/>
Valid values for orientation-lock metadata are
Note: This is not currently supported in iOS.
portrait, landscape or none. Locks the
orientation of the content to either portrait or
landscape. If the value is none, both portrait and
landscape modes are supported. The default value
is none.

<meta name="primary-writing-mode" Required for Virtual Panels in manga with right-to-


content="horizontal-rl"/> left reading order; optional for other fixed-layout
books. Defines page rendering order, reading
mode, and reader navigation (including Kindle Text
Pop-Up, Kindle Panel View, and Kindle Virtual
Panels). Valid values are horizontal-lr,
horizontal-rl, vertical-lr, and vertical-
rl. The default value is horizontal-lr.

The default behavior is horizontal-lr when the


page progression direction is left-to-right or not
specified. Use the value horizontal-rl to set
the page progression direction to right-to-left.

Use the value vertical-rl to set a page


progression direction of right-to-left for Chinese,
Japanese, and Korean books.

Kindle Publishing Guidelines Amazon.com 50

You might also like