![]() |
#376 |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: May 2012
Device: Kindle Touch
|
I have just joined the Spanish effort. It is the least I can do to help out. Ixtab and the rest of the kt devs, you deserve to be paid by Amazon, with your code, the good stuff gets even better! Keep it up!
|
![]() |
![]() |
![]() |
#377 |
Tech Geek Forever
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 568824
Join Date: Jun 2012
Location: USA
Device: Kindle Touch hacked
|
![]()
hey ixtab and others,thanks for jbpatch.it is really awesome.here are some ideas for patches.if you dont want to do it then just ignore this:
1. graphical homescreen that actually shows book covers(like nook) not like the prototype patch that is somewhere buried in this forums. 2.a scrollbar in the pop up dictionary so if we dont find the meaning we want,we wont have to tap 'click for full definition button.' 3.make mp3 player better i.e show all songs in one go,add play where you left features,etc. 4.epub support(i dont know if this can be actually possible with jbpatch) 5.customising page turn areas Last edited by techiemonkey; 08-01-2012 at 08:31 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#378 | |
DRM remover
![]() Posts: 84
Karma: 10
Join Date: Dec 2009
Location: North of Germany
Device: Kindle 3, 4 & Touch, iPhone/iPad, Hanvon N516 (OpenInkpot)
|
Quote:
|
|
![]() |
![]() |
![]() |
#379 |
BioReader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
I tried several mobi/azw3 with that hyphenation patch - some do work, some don't. Most of the self-made azw/mobi (text imported from epub into Kindle Previewer then converted into mobi and directly transferred to my K5) do not show hyphenation. Most Amazon ebooks do!
System is Touch 5.1.2 with patch from yesterday. What is my problem? Please find attached an old German text from Nietzsche which shows no hyphenation on my Kindle. Klaus |
![]() |
![]() |
![]() |
#380 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Edit: do the files where hyphenation doesn't work get block-aligned properly? If so, then it may be a problem with the book's language - it may be set incorrectly. You can check the log file from the JBPatch UI (System tab), it logs which language it is looking for. Edit2: I verified the problem with the book that you attached. For some reason, the system doesn't request hyphenations for that book. ![]() Last edited by ixtab; 08-01-2012 at 09:59 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#381 | |
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: May 2012
Device: Kindle Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#382 |
BioReader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
Thanks for the quick response - my log says:
Loading hyphenations for language ID 7 (de) Hyphenation definitions loaded from /mnt/us/opt/j... (here no hyphenation! - this is the Nietzsche text) Loading hyphenations for language ID 1031 (de) Hyphenation definitions loaded from /mnt/us/opt/j... com.mobileread.ixtab.patch.tts applied to com.... (here hyphenation! - this is an ebook downloaded from Amazon) Looks like this confirms your findings ... |
![]() |
![]() |
![]() |
#383 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@kbaerwald:
The book you attached was in some very weird format, probably some old (or extremely new?) .mobi version. I simply imported it into calibre, let it convert (yes, input format=mobi, output format=mobi), and verified that the language was correctly set. That produced a file which is about 1/3 of the size of the file you posted, and which is hyphenated properly. I'm attaching the working one. You may want to give this method a try. |
![]() |
![]() |
![]() |
#384 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
|
![]() |
![]() |
![]() |
#385 | |
BioReader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
Quote:
![]() ![]() Thank you for the mobi/mobi conversion hint - I will give it a try. |
|
![]() |
![]() |
![]() |
#386 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
(In your case, the "ID 7" that you saw previously was from *another* book that you loaded before the Nietzsche one. ) The way that I tried it was this: Attempt 1: - english book (message shown) - Nietzsche (no message) - german book (message shown) Attempt 2: - german book (message shown) - Nietzsche (no message) - english book (message shown) This confirmed that the Nietzsche was neither german, nor english. ![]() ![]() Edit: I just re-read your first post. If all you want to do is import epub books, then you can probably skip the Kindle previewer step completely, and simply import the books directly into calibre. It will automatically convert them to a (working) .mobi format when they're sent to the device. Library management with calibre really works like a charm! ![]() Last edited by ixtab; 08-01-2012 at 10:56 AM. |
|
![]() |
![]() |
![]() |
#387 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ixtab/kbaerwald: The file attached was indeed a KF8/AZW3/mobi7/mobi8 (pick your favorite name ^^), don't be fooled by the .mobi extension
![]() And, yeah, I'm pretty sure it uses another reader entierly (com.amazon.ebook.booklet.htmlreader). No idea if there's a hint of hyphenation engine in there, but it does obey the shy (soft hyphen) html entity, and supports the language detection for the dictionary. Since my device came with 5.1, I've been mostly using mobi7 files, except for old stuff purchased on Amazon that's still in mobi6/topaz... Last edited by NiLuJe; 08-01-2012 at 11:05 AM. |
![]() |
![]() |
![]() |
#388 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 278
Karma: 2511467
Join Date: Feb 2012
Device: ABC W p2
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#389 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
@ixtab, .azw3 (as NiLuJe said) is a dual .mobi with KF8 content included. On KT, Java UI for viewing KF8-formatted content recieves from rendering process BMP image with some metadata (AFAIR, raw text and locations of words on screen for selecting/translating purposes). Rendering process is the webreader (/usr/bin/webreader) process. As KF8 format is a "restricted" HTML5-like format, webreader renders it with the help of WebKit engine and sends rendered image to Java UI.
webreader could be controlled through HTTP requests (it listens on 127.0.0.1:20450, you could find simple debug page by making HTTP request to it and control commands are represented as various URL-paths with query strings). But I believe, it's impossible to intercept rendering process without binary patch to webreader (I could be wrong, though). |
![]() |
![]() |
![]() |
#390 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@eureka: Oh my. Seems like they really like to make things as complicated as they can. So yeah, this means no hyphenation for KF8 (at least not with JBPatch).
There seems to be a workaround by modifying the book's content itself: https://www.mobileread.com/forums/sho...d.php?t=179736. So it seems like we need someone to write a calibre plugin to add "shy" entities all over the place - any volunteers? ![]() If you want to see the method that the Kindle uses for displaying KF8 for yourself, you can connect to your kindle like this: Code:
ssh -L 20450:127.0.0.1:20450 root@kindle Last edited by ixtab; 08-02-2012 at 07:14 AM. |
![]() |
![]() |