Thread: unit conversion
View Single Post
Old 01-17-2012, 07:11 PM   #1
soma
Junior Member
soma began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2012
Device: cybook opus
unit conversion

I would like to convert all units in an ebook (eg. imperial to metric). Is there an easy way to do this? Programatically it shouldn't be too hard to write some regular expressions, convert the captured text to floating point and do the units conversion, but this is a bit beyond the 'search & replace' feature. If not, what would be the best way to extend calibre to do this?
soma is offline   Reply With Quote