Book

/* Make toc float left, to better use the space right to it */
 * 1) toc { float:left; margin:1em 2em 1em 0; }

The  tag of an XML book definition is the outermost node, root node to all other nodes. It defines basic behavior of the engine.

Book attributes are in general global settings, such as page turning behavior (speed, area in which a page turn can be triggered, and so on). Some of the attributes are inherited by the chapters the book contains, such as the pages' background color.

All listed attributes titles are prefixed with a small icon. When annotated with, that means the setting is primarily graphics related, i.e. it means the settings changes how something is displayed. on the other hand means that the setting is primarily used to control the book's behavior.

Obviously not all settings can be be put into one of these two categories 100%, so there might be some discrepancy in expectance, meaning the icons should only serve as very rough, primary orientation.

= Attributes =





















= Child Nodes = The  may have   child nodes, one for each chapter, to define the actual contents of the book.

Two child nodes can be used to define an overall background of the book,  for a static, global background, and   for a background bound to the page's position and size (i.e. it will also be scaled when zooming in or out). Those two nodes take any number of ASUL elements as their children, which will then be displayed as their actual children on the stage. The variables for the parent size and height will be the total space available to the engine for   (which is the whole stage size when using the release as it is), and the page width and height for the. The origin (top left, coordinates ) is the top left of the overall space available to the engine for the   and the position of the top left corner of the book for the.

As of version 2.0.8 it is also possible to define an overall foreground via, which may contain ASUL elements to be shown on top of everything else.

Plugins may use additional nodes to let the user define additional properties, as does the sidebar plugin.

= Examples =