View Single Post
Old 01-29-2022, 07:11 AM   #8
Colonel Cathcart
Addict
Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
Quote:
Originally Posted by davidfor View Post
The only times I have seen something like that, it turned out that for some words, each letter was wrapped in a tag. It was usually a span, but, if part of a word is wrapped in an i tag for emphasis, it won't automatically select the full word.

If this is a bad conversion from a scan, you can get all sorts of things happening. If you open it in the calibre editor or Sigil, it will be fairly obvious if the above is happening.
No, that doesn't seem to be the case here, as far as I can see. There are drop-caps at the beginning of each chapter. Those are implemented with spans containing the first letter of the first word of the chapter, but that's as far as it goes. This happens even in html files that doesn't contain this feature, such as the about the author page, or the inside cover containing just the title of the book. Even those exhibit the same behavior, I can't pick a whole word just by pressing it. Just a single letter is picked.

Quote:
Originally Posted by svenlind View Post
I have had a speciel problem with a single book. It was fixed by making a new conversion of epub to kepub using the KoboTouchExtended plugin.

Look here
It was worth a shot, I tried searching and it works fine.

What I've tried so far:
1. The original epub.
2. The kepub created by Calibre/KoboTouchExtended
3. The kepub created by the online version of kepubify
4. Fixing errors in Calibre editor in the original epub: fix HTML - all files; check book
5. Fixing errors and also upgrade book internals.

None of that did the trick.

nothing did the trick.

Here are a couple of short, html files from the book, both having this issue. Yes, even this single line title page exhibits this issue.

Edit I'm uploading the epub of the book that just contains these two pages, not even the front cover. It also exhibits this issue. Could it be just my kobo device? I doubt it.

Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<title>The Plot Against America</title>
	<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/><link href="stylesheet.css" type="text/css" rel="stylesheet"/><style type="text/css">
		@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style></head>
  <body class="text">
<div class="calibre1">
<h2 class="calibre2" id="calibre_pb_1"><span class="calibre3"><span class="bold"><span><span class="bold">The Plot Against America</span></span></span></span></h2></div>
<div class="mbppagebreak" id="calibre_pb_2"></div></body>
</html>
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<title>The Plot Against America</title>
	<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/><link href="stylesheet.css" type="text/css" rel="stylesheet"/><style type="text/css">
		@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style></head>
  <body class="text">
<div class="calibre">
<div class="calibre">
<h2 class="calibre26" id="calibre_pb_43"><span class="calibre39"><span class="bold"><span><span class="bold">ABOUT THE AUTHOR</span></span></span></span></h2><div class="calibre20"></div></div>
<div class="calibre">
<p class="calibre30">In 1997 Philip Roth won the Pulitzer Prize for <span><span class="italic">American Pastoral.</span></span> In 1998 he received the National Medal of Arts at the White House, and in 2002 received the highest award of the American Academy of Arts and Letters, the Gold Medal in Fiction, previously awarded to John Dos Passos, William Faulkner, and Saul Bellow, among others. He has twice won the National Book Award, the PEN/Faulkner Award, and the National Book Critics Circle Award.</p>
<p class="calibre32">In 2005 Roth will become the third living American writer to have his work published in a comprehensive, definitive edition by the Library of America. The last of the eight volumes is scheduled for publication in 2013.</p>
</div>
</div>
<div class="mbppagebreak" id="calibre_pb_44"></div></body>
</html>
Attached Files
File Type: epub The plot against America - the book-less version.epub (8.1 KB, 62 views)

Last edited by Colonel Cathcart; 01-29-2022 at 07:46 AM.
Colonel Cathcart is offline   Reply With Quote