Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-11-2013, 02:57 PM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 45,358
Karma: 32532934
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Force Single Column in Desktop ADE

How can I force a single column in the desktop version of ADE? When I make it wide enough, it automatically becomes two columns. I would like ADE to stay at one column regardless of how wide I make it.
JSWolf is offline   Reply With Quote
Old 04-12-2013, 09: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 09:09 AM. Reason: Simplifying page-template code
PageLab is offline   Reply With Quote
 
Advertisement
Old 04-12-2013, 12:26 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 45,358
Karma: 32532934
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Thank you. The first method is just what I was looking for.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Single-column HTML to 2-column PDF? martz PDF 4 01-05-2013 10:39 AM
Kobo Desktop and ADE DrNefario Kobo Reader 6 07-17-2012 05:59 PM
Q: multi-column PDF to single column mobi format converstion auburn1975 Calibre 7 01-28-2012 07:11 PM
split 2-column doc into single columns braver PDF 4 09-30-2009 12:15 PM
GUI desktop emulates papers and books on physical desktop Bob Russell News 2 06-25-2006 08:42 PM


All times are GMT -4. The time now is 08:02 PM.


MobileRead.com is a privately owned, operated and funded community.