View Single Post
Old 09-16-2015, 01:28 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,083
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cssQuest View Post
I want to study the CSS stylesheets of the books in my Kindle library.

(In this forum post I'm skipping discussion of AZW vs AZW3, EPUB, converting to AZW3 and EPUB, DeDRM (6.3.4), and KindleUnpack. I think I've explored those issues and experimented enough to think that they are not the problem I'm experiencing.)

I'm bringing my Kindle books into Calibre, right clicking their titles, and selecting 'Edit Book'.

It seems that the stylesheets are being transformed in some way (creating endless 'p' and 'calibre' classes) which makes it difficult to interpret the CSS author's styling intent.

In my research, I came across mention of Calibre "Flattening CSS Hierarchy" that might be applicable, but never did locate detailed discussion about that. At this point, I've exhausted what I can find to search on this subject.

Question: How I can view the CSS stylesheets of Kindle books in their original form (without having been transformed or "flattened"(?) )?

Thank you.
IIRC Conversion is what flattens the book styles, not edits

Kindle unpack (the plugin)

This all assumes the book has not been converted by Calibre
theducks is offline   Reply With Quote