View Single Post
Old 02-19-2013, 09:06 PM   #1
NASCARaddicted
Addict
NASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and graceNASCARaddicted herds cats with both ease and grace
 
Posts: 340
Karma: 43106
Join Date: Apr 2009
Location: Germany
Device: BeBook One, Pocketbook Touch, Pocketbook Touch HD
columns for dummys? I need help

Hello

I need your help with an epub file and columns. I know, columns only work with ADE, but even though there are some websites about columns, I still don't get it to work.

Here is what I have got so far:

at first, I got the page-template.xpgt from another epub file. I added it to the manifest of my content file

Code:
<item id="page-template" href="page-template.xpgt" media-type="application/vnd.adobe-page-template+xml" />
This is how my main text file looks:

Code:
<head>
	<title>Test</title>

	<meta name="Author" content="NASCARaddicted"/>
<meta http-equiv="Content-Style-Type" content="text/css" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <link href="default.css" type="text/css" rel="stylesheet"/>
  <link rel="stylesheet" type="application/vnd.adobe-page-template+xml" href="page-template.xpgt"/>
</head>
The default.css is my normal css file. In this css-file, there is one line:

Code:
.column {oeb-column-number: 2;}
And then, in my main file, I have this section:

Code:
<div class="column"><p>lots of text</p>
<p>more text</p>
...
...
</div>
After that, I packed everything and tried it with different readers. At first I tried it with my Pocketbook Touch and my old Bebook One (both use ADE). But none of them shows 2 columns, they both use one. Then I tried it with the ebook viewer from Calibre and an epub-Reader add-on for Firefox. It always showed up with just 1 column.

So what am I doing wrong?

Thanks in advance for your help
NASCARaddicted is offline   Reply With Quote