View Single Post
Old 04-12-2013, 08:03 AM   #2
PageLab
Connoisseur
PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.
 
PageLab's Avatar
 
Posts: 70
Karma: 515184
Join Date: Sep 2011
Location: Brasília
Device: Kindle3, iPad, Nook, Kobo, Positivo Alfa
Two solutions:

CSS:
Code:
body {
	oeb-column-number: 1; 
}
...or using the old and more complicated (but still functional) page-template.xpgt method:

Code:
<ade:template xmlns="http://www.w3.org/1999/xhtml" xmlns:ade="http://ns.adobe.com/2006/ade"
		 xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="single_column">
			<fo:region-body column-count="1" />
		</fo:simple-page-master>

		<fo:page-sequence-master>
			<fo:repeatable-page-master-alternatives>
				<fo:conditional-page-master-reference master-reference="single_column"/>
			</fo:repeatable-page-master-alternatives>
		</fo:page-sequence-master>

	</fo:layout-master-set>
</ade:template>
This file should be declared in the manifest as follows:

Code:
<item id="template" href="page-template.xpgt" media-type="application/vnd.adobe-page-template+xml"/>

Last edited by PageLab; 04-12-2013 at 08:09 AM. Reason: Simplifying page-template code
PageLab is offline   Reply With Quote