View Single Post
Old 06-04-2025, 01:28 AM   #1
1ily
Connoisseur
1ily doesn't litter1ily doesn't litter
 
Posts: 63
Karma: 190
Join Date: Sep 2023
Device: Kobo Libra 2
How can I disable calibre splitting after converting a book?

Hello!

I convert all my ebooks in calibre to epub, and I've been running into an issue where it will split chapters into two. Usually this happens when there is a chapter number and a chapter title.

All .xhtml files are below 30kb - way under the split by size limit.

The code looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en" lang="en">
<head>
  <meta charset="UTF-8" />
  <title>Sebastián</title>
  <link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
  
  <div class="th-767a2bf9-abd9-4801-bc80-086037f91207"><div class="chapter"><div class="chapter-title-card "><div class="chapter-number"><span>1</span></div><div class="chapter-title"><h2>Sample Title</h2></div></div><div class="chapter-body withDropcap"><div class="wrapper"><p><span aria-hidden="true" class="dropcap">L</span><span aria-hidden="true" class="lead_word">orem</span> <span aria-hidden="true" class="lead_word">ipsum</span> <span aria-hidden="true" class="lead_word">dolor</span> <span aria-hidden="true" class="lead_word">sit</span> amet. </p>
How can I disable chapter splitting?
1ily is offline   Reply With Quote