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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2012, 08:49 PM   #1
Sneddles
Member
Sneddles began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2012
Device: Kindle keyboard
PDF to HTMLZ conversion stylesheet problem

I have noticed on some PDFs that when they are converted to HTMLZ with class used for handling CSS, then the stylesheet does not include the named classes but only contains:
@page{
margin-bottom: 5pt;
marging-top: 5pt
}

This happens for both internal and external stylesheets.

If I use inline for the CSS then the style looks correct.

As an experiment, I tried the same conversion without using the search & replace function and the stylesheet was generated correctly. The stylesheet did not include any @page entry.

I am using Calibre 0.8.52, but the problem has happened with earlier versions.
I'm not sure if it was happening before the enhanced search & replace function was introduced.
Sneddles is offline   Reply With Quote
Old 05-23-2012, 10:37 PM   #2
Sneddles
Member
Sneddles began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2012
Device: Kindle keyboard
I have just had the same problem with EPUB to HTMLZ.

The EPUB was created by Calibre and had a valid stylesheet.
Sneddles is offline   Reply With Quote
 
Enthusiast
Old 05-24-2012, 12:54 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://bazaar.launchpad.net/~kovid/c...revision/12253
kovidgoyal 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
HTMLZ Conversion burbleburble Conversion 3 08-29-2011 05:04 AM
conversion and stylesheet question pckopp Calibre 8 12-26-2010 10:21 PM
PDF Conversion Problem - He xtreme50 Calibre 1 05-24-2010 03:42 AM
EPub conversion stylesheet.css problem nycaleksey Calibre 1 03-25-2010 11:42 PM
Problem with PDF conversion Bombatomica PDF 6 02-13-2010 08:27 AM


All times are GMT -4. The time now is 05:17 AM.


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