Hi, I've converted a PDF to epub and since converting on Calibre have enabled Heuristic processing (to fix a problem with every 2nd or 3rd line of text breaking) and have inserted page breaks in Structure detection (using //h:h2[re:test(@class, "Chapter", "i") to define my chapters. However, since I've done that, in the middle of one chapter of text, there is an unwanted page break and then the font size and type changes for the remainder of the chapter, before reverting back to the correct font for the next correct page break.
I have attempted on search and repair to overcome this unwanted page break by replacing the code of a page break (in this case: at</p>
</h2></body></html>
--------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<title>index</title>
<meta name="generator" content="pdftohtml 0.36"/>
<meta name="author" content="george morris"/>
<meta name="date" content="2015-09-06T06:34:08+00:00"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre">
<p class="calibre1">them)
and replace it with 'at them' which is the continuous text I want to keep, hoping to effectively delete this unwanted code but it isn't working! Can anybody help?
I have attempted on search and repair to overcome this unwanted page break by replacing the code of a page break (in this case: at</p>
</h2></body></html>
--------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<title>index</title>
<meta name="generator" content="pdftohtml 0.36"/>
<meta name="author" content="george morris"/>
<meta name="date" content="2015-09-06T06:34:08+00:00"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre">
<p class="calibre1">them)
and replace it with 'at them' which is the continuous text I want to keep, hoping to effectively delete this unwanted code but it isn't working! Can anybody help?