View Single Post
Old 07-29-2019, 02:12 PM   #15
MistaPrime
Member
MistaPrime began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2019
Device: EPUB
Quote:
Originally Posted by DNSB View Post
Or are you planning to adding a stylesheet into the epub after using calibre to create it in a frenzy of manual editing?

So stop trying to convert a naked HTML file to an epub. What you should be doing is generating a file with the HTML and CSS files so calibre has that information available. You can download the webpage and add the files into a .zip file and then use calibre on that .zip file to generate an epub which includes the HTML and CSS (plus any downloaded images, etc.) which you then edit to remove the cruft.
Indeed, I was planning on adding a stylesheet/CSS to Calibre's custom CSS option.

Thanks for your suggestion, I appreciate that.

Quote:
Edit: I noticed you used the term "we" and not I several times in your posts. Given that the HTML you posted appears to be from a Canadian government site, you should consider hiring someone semi-competent. Someone who might understand a a webpage is not just the raw HTML files but the supporting code (CSS stylesheets, javascript, etc.).
The HTML above was found by Googling "footnote styles", I frankly didn't even notice it was from a Gov site but that does prove a bigger point, that even larger sites do not use <sup> in their HTML.

Regarding the competency level comment, I am not good at reading between the lines but if you are attempting to judge my competency in HTML based on the request above, you may want to re-read the request.

Thanks for the input, your help has been greatly appreciated.
MistaPrime is offline