XML technologies / DocBook / Generating FO (PDF) / Examples of different book types / Type: novels and stories

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

A novel usually has the root element book or, for shorter stories, article. The structure is fairly flat, with few sections and subsections. If a table of contents is included, it tends to appear at the end rather than the beginning when readers should not anticipate the content.

Novels are read from beginning to end. They therefore need a comfortable reading layout: a balanced, single-column text area, an unobtrusive typeface and 8 to 11 point type with normal line spacing. Based on experience with linear reading, Willberg and Forssmann recommend about 60 to 70 characters per line and 30 to 40 lines per page. Headers are usually absent; footers contain the page number. Apart from italics, other emphasis is used sparingly to avoid distracting the reader.

The following parameters are for a novel measuring 14 cm × 21.5 cm.

Example: Parameters for novel output

<xsl:param name="paper.type">Roman</xsl:param>
<xsl:param name="double.sided" select="1"/>
<xsl:param name="page.width">14cm</xsl:param>
<xsl:param name="page.height">21.5cm</xsl:param>

Margins:

<xsl:param name="page.margin.outer">2.1cm</xsl:param>
<xsl:param name="page.margin.inner">1.8cm</xsl:param>
<xsl:param name="page.margin.top">2cm</xsl:param>
<xsl:param name="page.margin.bottom">2.8cm</xsl:param>

<xsl:param name="body.margin.bottom">10mm + 1em + 2pt</xsl:param>
<xsl:param name="body.margin.top">0cm</xsl:param>

<xsl:param name="region.before.extend">0cm</xsl:param>
<xsl:param name="region.after.extend">1em</xsl:param>

Indentation:

<xsl:param name="body.start.indent">0cm</xsl:param>
<xsl:param name="title.margin.left">0cm</xsl:param>

<xsl:param name="draft.watermark.image" select="''"/>

  

back to top