View Single Post
Old 08-12-2023, 09:45 PM   #15
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Quote:
Originally Posted by michaelbr View Post
3 - copy/paste links/fotos manually
the step 3 requires a lot of work if there are lot of links/photos, anyone knows any tools/tips to make it automatic or easier than manually?
ps: OS MX Linux
If you use LibreOffice Writer to edit the text, do the links for footnotes, endnotes and so on there. They will convert nicely into epub using the Calibre conversion. I find it much easier to make the links in Writer rather than in the epub editor.

Dealing with epub images is a pain and depends on your audience...what do they use for readers? The most basic advice for physical ereaders like Kindle or Kobo is to declare the width as a percent and the height auto in the CSS...don't use absolute units. Then surround the <img...> line with a <p> or <div> to make it center/right/left. Like this:

<p class="center">
<img alt="" class="widepic" src="../Images/c02.jpg"/>
</p>

where "widepic" says in the CSS:

.widepic {
height: auto;
width: 98%;
}

And "center" is just that:

.center {
text-align: center;
text-indent: 0;
margin: .5em 0 .5em 0;
}

So you can pull the images into the Writer version, and apply something like this at the epub editor stage. I can usually replace what the conversion does with this using some simple regex. This is almost always readable on various readers or apps..
retiredbiker is offline   Reply With Quote