epub not properly referencing stylesheet?
Hi. I have ran into several epubs that don't reflect the stylesheet.css when converted to azw3 using calibre. I am a total noob at this so I couldn't figure out what is going on. I have, however, noticed that all these epubs have a page-template.xpgt file apart from the stylesheet.css.
In the current file I am working on, this is the information at the top of each page. I couldn't figure out what is wrong:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb">
<head>
<title>The Misleading Mind</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="xhtml/css" />
<link href="../Misc/page-template.xpgt" rel="stylesheet" type="application/page-template+xml" />
<meta content="urn:uuid:68e57379-d4ba-4560-a6f9-fbca461346a5" name="Adept.expected.resource" />
</head>
What should I change? I have tried deleting the page-template.xpgt and all references to it on each page, but the problem persists. When viewed with Kindle Previewer, the resulting AZW3 file has zero formatting. Help please.
|