View Single Post
Old 02-11-2011, 07:04 AM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by Agama View Post
It would be useful to have an option to switch off this @page per html file. Then any @page specified in the stylesheet would automatically apply to all pages. I use an entry in my CSS with units of "px" which means I then have to regex out all the @page blocks which calibre has inserted into the html files.

My Sony reader, (PRS-300), supports @page, so maybe all Sony readers do.
if I have understood Kovid correctly, you can remove it by setting zero values on the page setup options then converting epub to epub - I have not tested that, but if it works it would be faster than regex page by page.

i don't get the design logic though - why does calibre add it to each html file rather than set it once, globally in css ?
cybmole is offline   Reply With Quote