Under Ubuntu 12.04 I converted with Calibre an html source to epub format, but when I read the resulting epub with Calibre I noticed (using the 'inspect' command of Calibre viewer) that images get some additional styling, absent both in original html and in html that epub is made of. For example,
<img src="copertina_retro.jpg" alt="pict" width="100%"/>
in html becomes
<img src="copertina_retro.jpg" alt="pict" width="100%"
style="height: 502px; width: 351.91752577319585px; ">
inside Calibre viewer, when inspecting the image. This prevents me to make manual modifications to the size of a single image.
How can I avoid such 'restyling'?
Does it happen just with Calibre viewer or it is typical behaviour of ebook readers?
mmj, have you tried tex4ebook (https://github.com/michal-h21/tex4ebook ) instead of Calibre? It is based on tex4ht and creates epub or mobi files directly from LaTeX – michal.h21 Jan 10 '14 at 19:11michal, didn't know abouttex4ebookI will surely try it. – mmj Jan 12 '14 at 09:59epubsource, the 2nd line is the same line as 'inspected' from Calibre viewer. – mmj Jan 12 '14 at 10:03epubsource are overridden by additional unrequested style. In particular I can't enlarge the size of a specific image. – mmj Jan 12 '14 at 16:00