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
epub is made of. For example,
<img src="copertina_retro.jpg" alt="pict" width="100%"/>
<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 (github.com/michal-h21/tex4ebook ) instead of Calibre? It is based on tex4ht and creates epub or mobi files directly from LaTeX
michal, didn't know about
tex4ebookI will surely try it.
epubsource, the 2nd line is the same line as 'inspected' from Calibre viewer.