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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2015, 05:15 AM   #1
iliakan
Member
iliakan began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2015
Device: iphone 6
HTML to EPUB conversion breaks styles

I had the structure like this (writing only classes):
Code:
.balance 
  .balance__pluses
    .balance__content
      .balance__list
  .balance__minuses
    .balance__content
      .balance__list
After ebook-convert to epub:
Code:
.balance.pcalibre1
  .page
    .balance__content
      .balance__list
  .balance__minuses.pcalibre3
    .balance__content1
      .balance__list
Classes are renamed and rearranged in a strange fashion! There is no balance__plus any more.

And when I open the resulting epub, I see the layout is broken http://ilyakantor.ru/screen/2015-01-15_1313.png.

When I unzip the epub and open it in the browser, the layout is broken as well.

It definitely does something wrong.

The HTML is inherently made simple to demonstrate the issue, it's (with styles and epub) here: http://ilyakantor.ru/convert.zip

Is it a bug? What I could to to evade it here?
iliakan is offline   Reply With Quote
Old 01-15-2015, 02:36 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by iliakan View Post
What I could to to evade it here?
@iliakan - try this, open the Book Editor (press 't'), then File->Import the HTML as a book to read your HTML.

BR
BetterRed is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub conversion not adding page breaks on separate HTML files neonbible Conversion 1 11-06-2012 11:36 AM
html to epub CLI conversion / html input m4mmon Conversion 2 05-05-2012 02:10 AM
HTML to MOBI conversion ignores page breaks LeftHanded Matt Conversion 2 12-21-2011 12:25 PM
Strip specific styles from EPUB conversion? kurokaze Conversion 1 04-06-2011 07:04 AM
Any way to force page breaks when converting HTML to EPUB Bierkonig Calibre 23 10-31-2009 01:51 PM


All times are GMT -4. The time now is 03:36 PM.


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