I didn't think that DocBook technically allowed you to have subsection content such as paragraphs directly following a section. How are you validating your XML?
From: Peter Fleck [mailto:peterfleck@gmail.com]
Sent: Monday, July 07, 2014 02:43
To: docbook@lists.oasis-open.org
Subject: output order preface epub3
Hi guys,
Not sure if this is a bug or my xml. The structure is below:
<preface>
<title>Foreword</title>
<para>...</para>
<para ....</para>
<section>
<title>...</title>
<para>...</para>
<para>...</para>
</section>
<section>
<title>...</title>
<para>...</para>
<para>...</para>
</section>
<section>
<title>...</title>
<para>...</para>
<para>...</para>
</section>
<para>...</para>
<para>...</para>
<para>...</para>
</preface>
In the epub 3 the paragraphs at the end are outputted after the paragraphs at the start before the first section. Do I need to just wrap the first and last paragraphs into a simplesect to avoid this?
It works fine in the FO output.
Peter