Quote:
Originally Posted by MistaPrime
Let's try it a different way;
Please convert this HTML: https://pastebin.com/Quk0kqxh
into the ePUB.
And the output of the footnote should look like this:
Attachment 172571
Notice how the footnote number is styled as a superscript. Is smaller and higher than the rest of the text.
Can anyone do that using Calibre with that HTML?
If yes, how?
When I tried the footnote appeared like a regular text size, not a superscript. And it is because Calibre removes classes from footnote links.
|
You are using a class 'footnote' which is not defined anywhere in the HTML snippet you posted. I ran a report in Sigil and came up with the attached image. You will notice that there are 13 style classes in the HTML. There are no CSS files to supply those classes.
In the HTML file, there are references to 3 stylesheets between the head and end of head tags:
Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Legislative Summary of Bill C-XX: </title>
<link rel="stylesheet" type="text/css" href="/Content/LOP/ResearchPublications/styles/2012pubs.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="/Content/LOP/ResearchPublications/styles/2012pubs_print.css" media="print"/>
<!--Remove stylesheet below before posting. Only need stylesheets above -->
<link href="../../../Styles/2012pubs.css" rel="stylesheet" type="text/css" media="screen"/>
</head>
Are you expecting calibre to browse the internet searching for those stylesheets? When I download a page from the internet using Firefox, I use the Save Page As function which downloads the related files as well as the main page.