Telemeta icon indicating copy to clipboard operation
Telemeta copied to clipboard

When trying EPub

Open AnasGhrab opened this issue 9 years ago • 1 comments

File "/usr/local/lib/python2.7/dist-packages/Telemeta-1.5.2-py2.7.egg/telemeta/views/epub.py", line 209, in write_book
   cover.content = render_to_string(self.template_cover, {'image': self.cover_filename})

AttributeError: 'CollectionEpubView' object has no attribute 'cover_filename'

AnasGhrab avatar Sep 04 '15 08:09 AnasGhrab

Hi Anas, OK, I will fix this. For the moment, you can add an image as a related media of the corpus or collection, resp. to what you want to export, to automatically define the cover image. The fix will be to display the title as text if no image is provided.

yomguy avatar Sep 04 '15 15:09 yomguy