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

Go Back   MobileRead Forums > E-Book Formats > Other formats > IMP

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2009, 12:18 PM   #1
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Easily create two column (newspaper-style) ebooks

I've just discovered how to create two column ebooks from a well designed and CSS enhanced .html source file.

As an example, I took a PG offering entitled Little Stories for Little Children by Anonymous using the HTML .zip (22896-h.zip) that I had already converted to .IMP format (posted here along with its source).

What I did was surround the main text of the ebook (after the cover image, title page and table of contents AND before the end credits) with the following html tags:
Code:
<div style="oeb-column-number:auto">

{main text of the ebook}

</div>
For years I've seen the "oeb-column-number:1;" style entry in the header and footer html code that gets produced by GEBLibrarian and now Mobi2IMP, but didn't know exactly what it did.

Well, it's useful for NOT making some of the heading or illustrations abide by this newly discovered two column rule. What you need to do then for anything within the main text of the ebook that you need only displayed in one column mode is add that in-line style ("oeb-column-number:1;") to the <h2> or <div class="figcenter"> constructs.

Now, have a look at the same ebook, in two column mode, in the below attached .imp ebooks (with html source .zip).

For reference, these are links to the previous one column EBW1150 .imp and one column REB1200 .imp

Note the only things changed (see bold parts) were these lines:
Code:
    h2 {
         text-align: center; /* all headings centered */
         page-break-before: always;
         clear: both;
         oeb-column-number:1;
       }

    .figcenter   {margin: auto; text-align: center; margin-top: 3em; oeb-column-number:1;}


<div style="oeb-column-number:auto">

{main text of the ebook}

</div>
Have fun with this!

Last edited by nrapallo; 02-06-2009 at 04:47 PM. Reason: typo
nrapallo 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
How to Create Newspaper Format Like the NY Times pilotheinrich Amazon Kindle 3 10-21-2011 03:18 PM
create custom format column blaubach Calibre 12 09-17-2010 03:22 PM
Create Newspaper TOC plantoschka Kindle Formats 2 09-09-2010 02:03 PM
Can Canadians easily purchase ebooks? yogi4675 Introduce Yourself 5 01-26-2009 05:07 PM
How to quickly and easily create newspapers, magazines, and blogs for your Kindle. GatorDeb Amazon Kindle 4 10-04-2008 06:26 PM


All times are GMT -4. The time now is 10:22 AM.


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