This file was originally formatted by a professional, I just wrote the book. There were a couple of typos I wanted to fix, which was easy enough to address in ePub format, but now that I'm trying to convert the ePub to a MOBI, it's messing up the formatting on certain chapter headers, which were set up as tables to keep the appearance of a scripted exchange.
When I convert from Mobi to ePub, the formatting stays the same. When I convert from ePub to Mobi, the formatting changes such that the names on the left are squashed into too-narrow vertical columns, no matter the font size selected.
So here is how it appears in ePub (and how it should appear):
Here is the MOBI version Calibre puts out:
So here is the formatting as it appears when I convert from ePub to MOBI:
Quote:
<?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">
<head>
<title>Gedlund</title>
<link href="../Styles/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table class="opener" id="chap1">
<col width="40%" />
<col width="60%" />
<tr>
<td class="pr1">
<p class="lnoind2"><a id="start"></a>Lord Blisan:</p>
</td>
<td>
<p class="lnoind">Mr. Baston, you knew Mr. Gilmot in Gedlund, did you not?</p>
</td>
</tr>
<tr>
<td class="pr1">
<p class="lnoind2">A. Baston:</p>
</td>
<td>
<p class="lnoind">I did.</p>
</td>
</tr>
<tr>
<td class="pr1">
<p class="lnoind2">Lord Sinter:</p>
</td>
<td>
<p class="lnoind">(interrupting) That was not your first meeting though, was it?</p>
</td>
</tr>
<tr>
<td class="pr1">
<p class="lnoind2">Lord Blisan:</p>
</td>
<td>
<p class="lnoind">Order! Order! You’ll have your turn!</p>
</td>
</tr>
<tr>
<td class="pr1">
<p class="lnoind2">A. Baston:</p>
</td>
<td>
<p class="lnoind">No, it was not. He actually first joined us in Rakhasin. Despite Marshal Kilgrave’s suggestions to the contrary, Gilmot went spear to spear with the natives, as brave as anyone.</p>
</td>
</tr>
</table>
<p class="right mt2 ml4"><i>Verin Parliamentary Hearings on the Gedlund Invasion</i>, YT 382</p>
|
For the sake of curiosity, I tried to edit the professionally formatted MOBI version, but that had to be converted to ePub to view first, and the results came out differently than the ePub to MOBI version:
Quote:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Gedlund</title>
<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">
<table id="chap1" class="opener">
<col width="35%" class="calibre2"/>
<col width="65%" class="calibre2"/>
<tr class="calibre3">
<td class="pr"><p class="lnoind"><a id="start"></a>Lord Blisan:</p></td>
<td class="calibre4"><p class="lnoind1">Mr. Baston, you knew Mr. Gilmot in Gedlund, did you not?</p></td>
</tr>
<tr class="calibre3">
<td class="pr"><p class="lnoind">A. Baston:</p></td>
<td class="calibre4"><p class="lnoind1">I did.</p></td>
</tr>
<tr class="calibre3">
<td class="pr"><p class="lnoind">Lord Sinter:</p></td>
<td class="calibre4"><p class="lnoind1">(interrupting) That was not your first meeting though, was it?</p></td>
</tr>
<tr class="calibre3">
<td class="pr"><p class="lnoind">Lord Blisan:</p></td>
<td class="calibre4"><p class="lnoind1">Order! Order! You’ll have your turn!</p></td>
</tr>
<tr class="calibre3">
<td class="pr"><p class="lnoind">A. Baston:</p></td>
<td class="calibre4"><p class="lnoind1">No, it was not. He actually first joined us in Rakhasin. Despite Marshal Kilgrave’s suggestions to the contrary, Gilmot went spear to spear with the natives, as brave as anyone.</p></td>
</tr>
</table>
<p class="right"><i class="calibre1">Verin Parliamentary Hearings on the Gedlund Invasion</i>, YT 382</p>
|
And, for the sake of completion, here is the conversion log of ePub to MOBI:
Quote:
Parsing OEBPS/Text/28-chap23.xhtml ...
Parsing OEBPS/Text/20-chap15.xhtml ...
Parsing OEBPS/Text/17-chap12.xhtml ...
Parsing OEBPS/Text/32-chap27.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/Text/1-cover.xhtml' from manifest
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Applying case-transforming CSS...
Parsing manglecase.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating MOBI index for a book
MOBI output written to C:\Users\lodril\AppData\Local\Temp\calibre_dcz1hq\ rshlon.mobi
|
I'd love to be able to make quick and easy edits to the book on my own, fix any new typos I come across, that sort of thing. Does anyone have any idea how I could manage this sort of conversion without screwing up the formatting in MOBI? Any help in sorting this out would be greatly appreciated!