View Single Post
Old 06-05-2014, 03:50 PM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,691
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by roger64 View Post
With the Calibre editor, I can export a stylesheet, then with the script I modify it and I import the modified file to replace the original stylesheet. Long to explain but technically very easy.
Yes. Easy because calibre's editor handles the extraction/rebuilding of the ePub (zip) behind the scenes for you.

Quote:
Originally Posted by roger64 View Post
I was hoping I could somewhat modify directly the stylesheet.
It could still be done ... but the resulting script would need to take on the extraction/rebuilding process that calibre's editor already does for you.

There might be a few shortcuts to take. Let me experiment a bit.
DiapDealer is online now   Reply With Quote