View Single Post
Old 08-16-2013, 03:29 AM   #1
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
Best practice for Outlining and Splitting

I'm interested in your practice of outlining a book with more than one heading level and where you split the content into several HTML files.

Example 1:
Code:
<!-- title.xhtml -->
<h1>Courtship and the Attractiveness of Polished Markup</h1>
<p class="author">Wilhelm von Ockham</p>
<!-- preface.xhtml -->
<h2>Preface</h2>
<p>...</p>
<!-- c-01.xhtml -->
<h2>Chapter 1</h2>
<p>...</p>
<!-- c-02.xhtml -->
<h2>Chapter 2</h2>
<h3>2.1</h3>
<p>...</p>
<h3>2.2</h3>
<p>...</p>
<!-- c-03.xhtml -->
<h2>Chapter 3</h2>
<h3>3.1</h3>
<p>...</p>
<h3>3.2</h3>
<p>...</p>
Example 2:
Code:
<!-- title.xhtml -->
<h1>Courtship and the Attractiveness of Polished Markup</h1>
<p class="author">Wilhelm von Ockham</p>
<!-- preface.xhtml -->
<h2>Preface</h2>
<p>...</p>
<!-- c-01.xhtml -->
<h2>Chapter 1</h2>
<p>...</p>
<!-- c-02-01.xhtml -->
<h2>Chapter 2</h2>
<h3>2.1</h3>
<p>...</p>
<!-- c-02-02.xhtml -->
<h3>2.2</h3>
<p>...</p>
<!-- c-03-01.xhtml -->
<h2>Chapter 3</h2>
<h3>3.1</h3>
<p>...</p>
<!-- c-03-02.xhtml -->
<h3>3.2</h3>
<p>...</p>
Do you outline/split in one of those 2 ways or do you use another structure?


One of my further interests is, if you distinguish between a content which is read linear (like a novel) or in a consulting way (like a reference book or a magazine).
I saw markup of magazines which repeat all levels of higher ranked headings on each HTML document (which contains one single article).

I suppose that is reaction of the poor support of devices for efficient navigation and orientation in books with a rich outline structure.

My Kobo Glo e.g. cannot generate a heading line which contains a complete "breadcrumb" like on webpages.
I don't know other devices and if they could automatically use a NCX to generate heading lines like

Quote:
Courtship and ... • Chapter 2 • 2.3 • Page 1/3
Thanks for your comments and inspiration.

Last edited by ibu; 08-19-2013 at 07:03 AM.
ibu is offline   Reply With Quote