Quote:
Originally Posted by eschwartz
"Put it somewhere safe" indeed! It is pretty darn safe now.
I would guess that the html markup inside the book is incorrectly using <h2> header tags to mark paragraphs, instead of <p> paragraph tags. Look at the Structure Detection tab in the conversion settings -- you can disable adding pagebreaks on them.
|
I've been putting things in a safe place for 50 years. If I can ever find the place there is a fortune in treasures awaiting me. Oh, all right, probably a huge pile of old tat.
This is the (truncated and abbreviated) html generated:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>1: Random Ramona</title>
<meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/>
<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="preface" title="1: Random Ramona">
<div class="preface">
<div class="preface">
<div class="preface">
<h4 class="titlepreface">
<a id="idp29440" class="calibre1"></a>
<a href="part0003.html#toc-idp29440" class="calibre1">1: PROLOGUE: ONE MONTH AGO</a>
</h4>
</div>
</div>
</div>
<p class="prefacefirstpara">Dont be silly, Bob,¯ said Mo. everybody knows vampires dont exist.¯</p>
<div class="calibre7"></div><p class="chapter">I froze (blah blah blah) denial.</p>
<div class="calibre7"></div><p class="chapter">We cant be sure of that. I mean, (blah blah blah) place¯</p>
Now, my use of HTML predates style sheets but the 'class="chapter"' stuff looked suspicious to me. However, looking in the .css file "chapter" seems innocuous, but the "calibre7" block contains the worrying line
Code:
page-break-after: always
Is this a smoking gun and if so where is the safety catch?
Sorry, I'm a sucker for a mixed metaphor.
<A few minutes later>
Could it be that the internal epub viewer is ignoring the page break command because it doesn't have a fixed page size, but the nook is honouring it? Tomorrow I will unpack the epub, remove the line from the css and repack it to see if I can get something more readable.