Thanks. I completely missed that. That's a great way to go.
FYI, I got this error when creating a lit file from an oeb *.opf file:
Code:
Traceback (most recent call last):
File "/home/wayne/bin/ebook-convert", line 8, in <module>
load_entry_point('calibre==0.6.0b1', 'console_scripts', 'ebook-convert')()
File "/home/wayne/src/calibre/src/calibre/ebooks/conversion/cli.py", line 217, in main
plumber.run()
File "/home/wayne/src/calibre/src/calibre/ebooks/conversion/plumber.py", line 685, in run
self.opts, self.log)
File "/home/wayne/src/calibre/src/calibre/ebooks/lit/output.py", line 30, in convert
split = Split(not self.opts.dont_split_on_page_breaks,
AttributeError: 'OptionValues' object has no attribute 'dont_split_on_page_breaks'
For the moment I just commented out the split code, and then it worked fine.