View Single Post
Old 01-14-2024, 12:42 PM   #3
Simboubou
Connoisseur
Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.Simboubou ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
My kobo is set to japanese, by my account is my French account. I do have a Japanese kobo account, too. I'm using a kepub file.

I edited the book to transform this:

Code:
<ruby><span>行方</span><rt>ゆくえ</rt><span>不</span><rt>ふ</rt><span>明</span><rt>めい</rt></ruby>
into this:
Code:
<ruby><span>行方</span><span>不</span><span>明</span><rt>ゆくえふめい</rt></ruby>

I also inserted css to make the content of <rt> unselectable.

Now, selecting the text in the kobo only highlights the kanjis, but the search itself searches for 行方不明ゆくえふめい, and returns results for 行方不明, so it kinda worksfor words that have a single block of furigana (which is not always the case, especially some compound words like 思い出す for instance. Selecting that word would look for 思おもい出だす, which doesn't exist).

It appears the reader is actually taking all the html, remove all the tags, and look for whatever remains.

EDIT : wait, if drop the original book (with my furigana changes), not the "converted to kepub" book on my kobo, it works ! But it does display the "pages left in chapter", so it's still a kepub if I'm not mistaken ? So it appears the kepub reconversion is breaking something ?

Last edited by Simboubou; 01-14-2024 at 12:50 PM.
Simboubou is offline   Reply With Quote