Quote:
Originally Posted by kovidgoyal
You need to have an OPF file that refers to the cover in its <guide> section in the folder.
|
From what I can see, starting from the folder containing the textfile.txt and cover.jpg and using the [Add] function Calibre does create an OPF file containing:
PHP Code:
<guide>
<reference href="cover.jpg" type="cover" title="Cover"/>
</guide>
whether of not the folder contained a cover.jpg file so that if I subsequently manually copy in a cover.jpg file everything is good and from then on (converting to other ebook formats, copying to device etc.) the cover.jpg will bet moved as it should.
My problem is that the cover.jpg does not get get copied when the OPF file is first created. CORRECT?
What is non-trivial (to me) is figuring out what the name of the containing folder will be in the library and then creating some kind of .bat file that will copy cover.jpg from the original location to the Calibre-Library location.
Thanks .. Alec