|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
|
[kepub] Can't use the dictionary, pressing picks a single character instead of word
This is very very strange (to me). I wanted to start reading a new book. That was just after upgrading to the latest firmware, but that's not the reason for the problem, other books work just fine. It's just this single book that's giving me some trouble.
I'm not a native English speaker, but I read in English and, occasionally, need to use the built-in dictionary. Unlike other books I've read on the device, when I click-and-hold on a word I need a definition to, instead of the entire word being picked, only a single character is picked and, obviously, the wrong dictionary entry is shown. For example, if I try to look up "aviation" (yes, I know what it means), only the 2nd 'a' is highlighted and the dictionary entry for the word "a" is shown. Now I need to fidget around with the left and right control to pick the entire word. This happens 100% of the time in this book, even on 2-letter words, on different pages of the book, using both the default publisher font and some built-in alternatives like Georgia and Kobo Nickel. This is a side-loaded epub converted with Calibre to kepub. What's wrong with this book? How do I fix it? Last edited by Colonel Cathcart; 01-27-2022 at 07:46 AM. |
![]() |
![]() |
![]() |
#2 |
Lucifer's Bat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,575
Karma: 20638583
Join Date: Nov 2010
Location: Earth/Berlin
Device: Kobo Libra Colour
|
I don't know how to fix it, but you can type your word into the search box that opens when you tap on the magnifying icon in the footer menue and choose the dictionary via the drop down menue next to the search bar.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
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. |
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
|
Thank you, as always, davidfor.
So far I Just took a look at the original epub in Calibre editor and saw nothing like the stuff you're suggesting. I haven't gotten around to connecting the reader to the PC, coping over the kepub and looking at it. I'll find time this weekend to check that out as well. The work is copyright, of-course, so I won't upload files here. In case nothing stands out, like the stuff you pointed out, I was wondering if it's OK to upload here the CSS file and, say, an excerpt from the 1st chapter, from the beginning of the xhtml file, containing a few paragraphs of text. Possibly some other stuff that might help figure it out? |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
An alternative is to point to the store page for it. If there is a sample, it can show what is happening. Or, someone might already have the book. |
|
![]() |
![]() |
![]() |
#7 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 533
Karma: 10491221
Join Date: Apr 2010
Location: Denmark
Device: Kobo: Clara BW, Libra 2,Sage. Kindle Oasis 3, Ipad Mini
|
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 |
![]() |
![]() |
![]() |
#8 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
|
Quote:
Quote:
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> Last edited by Colonel Cathcart; 01-29-2022 at 07:46 AM. |
||
![]() |
![]() |
![]() |
#9 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 445
Karma: 287725
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD/Libra 2, Kindle PW3/PW5/PW11, Boox Palma
|
The book's language was set to Chinese in Calibre instead of English. Change that and send it back to the device, it should work (it worked for me on the sample you shared here).
|
![]() |
![]() |
![]() |
#10 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
|
Quote:
Edit: OK, I think I found it. At 1st I thought it was in the book's content itself. Edit 2: Thank you thank you thank you! You got it, sanity and order in the universe is restored. I have no idea how that happened I didn't have the languages column displayed. Last edited by Colonel Cathcart; 01-29-2022 at 09:58 AM. |
|
![]() |
![]() |
![]() |
#11 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 445
Karma: 287725
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD/Libra 2, Kindle PW3/PW5/PW11, Boox Palma
|
Select the book in the Calibre Library and press Modify Metadata in the top menu. You should find the Language option there. Set to English, Apply and then try resending it to the device (I use the KoboExtended plugin, so I sent over a kepub).
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
word into character | larysa | ePub | 32 | 06-13-2018 06:17 AM |
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) | SJC-Caron | ePub | 18 | 04-21-2016 11:10 AM |
Dictionary: Only allowed to look up the first word in a selected phrase - {word} | Temhar | Calibre | 2 | 06-19-2015 05:56 AM |
Problem with Unicode Character 'Word Joiner' (U+2060) | psztk | Conversion | 0 | 10-14-2011 01:18 PM |
Dictionary question: changing word delimiters for french dictionary | oecherprinte | Amazon Kindle | 1 | 05-09-2011 04:45 AM |