View Single Post
Old 06-06-2016, 01:31 AM   #4
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Thanks you for your nice plugin.

I am used to append a second style-sheet to my books. Later, once I finished editing the book, I prune it with the Calibre editor. Among the CSS lines you can find these ones:

Code:
.Title, .Heading, .Subtitle,{
text-indent: 0;
}
The plugin stopped parsing this style-sheet because of this code (see screenshot). It's very nice to know precisely what happens instead of getting a terse and cryptic "failed".

I would like to know if the above code is wrong and if I should break it in three parts. The rationale behind this code is that the converter writes these above-mentioned styles in the first style-sheet without any text-indent, and it spoils the display.

Without these offending lines, the plugin seems to work smoothly (second screenshot) and offers a very customizable choice, which is always a plus.
Attached Thumbnails
Click image for larger version

Name:	Sélection_073.png
Views:	1080
Size:	14.0 KB
ID:	149250   Click image for larger version

Name:	css.png
Views:	1192
Size:	18.5 KB
ID:	149251  

Last edited by roger64; 06-06-2016 at 01:49 AM.
roger64 is offline   Reply With Quote