Quote:
Originally Posted by kovidgoyal
calibre includes chromium and uses it. And yes report the issue to the publisher, or use one of the workarounds i mentioned in my previous post.
|
Thank you. I found the flow option under Page Layout and it does address the issue.
The xhtml file that is being displayed starts with
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>To End in Fire</title>
<meta name="Generator" content="Cocoa HTML Writer"/>
<meta name="CocoaVersion" content="2022.5"/>
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<link rel="stylesheet" type="text/css" href="page_styles.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body class="calibre">
<div class="calibre2" id="calibre_pb_6"></div>
<p class="p2"><br class="calibre3"/></p>
<p class="p2"><br class="calibre3"/></p>
<p class="p9"><b class="calibre1">Mendel Spaceport</b></p>
<p class="p9"><b class="calibre1">Planet Mesa</b></p>
<p class="p9"><b class="calibre1">Mesa System</b></p>
<p class="p2"><br class="calibre3"/></p>
<p class="pcalibre p4">Cathy
Now since I cannot see why the priginal publisher would have included a reference to Calibre specific styles in the .epub it strikes me that "Cocoa" must be a tool used by Calibre to convert the document from its original .epub to the internal xhtml format used by Calibre. In which case the problem is in the conversion to xhtml. But why would the Cocoa tool convert to a style which is misinterpreted by the Chromium code which Calibre has chosen to use for layout?
When I look at a book from the same publisher (actually the immediately preceding volume in the same series) the internal Calibre file looks like:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/css" http-equiv="Content-Style-Type"/>
<title>Cauldron of Ghosts</title>
<meta content="Cocoa HTML Writer" name="Generator"/>
<meta content="1265.19" name="CocoaVersion"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre">
<div class="calibre4" id="calibre_pb_0">
<div class="calibre4" id="calibre_pb_1">
<div class="calibre4" id="calibre_pb_2">
<div class="calibre4" id="calibre_pb_3">
<div class="calibre4" id="calibre_pb_4">
<p class="chapter" id="calibre_toc_3">Chapter 2</p>
<p class="left">“Well, it would have been nice if they’d given us another week or so to complete our preparations, but I guess you can’t
My goal is to avoid other users of Calibre from encountering this frustration, not just to fix the problem for myself.