View Single Post
Old 06-11-2014, 03:23 PM   #11
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)
DiapDealer published two days ago a script that converts cm to em directly within EPUB CSS stylesheets using Calibre.

More about it here
https://www.mobileread.com/forums/sho...6&postcount=30

It works both with condensed and "beautified" (classic) stylesheets. However, it does not convert values written in shorthand and leave them untouched.

Of course, still experimental.

Exemple with px in the screenshot for shorthand illustration. Number four (lowest one) should be OK however.
Attached Thumbnails
Click image for larger version

Name:	shorthand.png
Views:	224
Size:	24.5 KB
ID:	123997  

Last edited by roger64; 06-11-2014 at 03:30 PM.
roger64 is offline   Reply With Quote