02-23-2015, 07:25 AM | #751 | |||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Quote:
|
|||
02-23-2015, 11:05 AM | #752 | |
Groupie
Posts: 150
Karma: 48
Join Date: Apr 2014
Device: Kindle Paperwhite 2, Kobo Aura HD
|
Quote:
|
|
Advert | |
|
02-24-2015, 04:06 AM | #753 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Dec 2014
Device: Kindle Paperwhite
|
@Ebri You can find out if it's the same issue if you change in koreader.sh the line that goes:
Code:
./reader.lua "$@" 2> crash.log Code:
./reader.lua -d "$@" 2> crash.log 1> koreader-debug.txt Then, next time you encounter a problem with a dictionary search, close koreader and open the log file. If there's a line in it that goes: Code:
# JSON data cannot be decoded frontend/JSON.lua:525: frontend/JSON.lua:240: can't parse JSON at char 1 of: save to cache |
02-27-2015, 12:51 PM | #754 | |
Connoisseur
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
|
Quote:
I have a txt glossary of en 2 persian dic that i reversed with arabshaping ( convert to srt then use arabshaping convert to txt ) but when I try to convert it to stardict format ( ifo ) in PyGlossary in ubuntu it shows this error usr/share/pyglossary/src/interface.py:88: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module. p3 = os.popen3('dictzip') /usr/share/pyglossary/src/interface.py:98: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module. p3 = os.popen3("%s '%s.dict'"%(dictzipCmd,filename)) and the output file ( have a size e.g. 26 mb ) doesnt show in koreader any idea ? |
|
02-27-2015, 01:57 PM | #755 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
It looks like you're using an older version of pyGlossary and/or maybe Python 3.4 instead of Python 2.7. If you've installed pyGlossary with a package manager, download the latest version from the developer. Quote:
If your dictionary works fine with GoldenDict, but doesn't work with KOReader, you might have to extract the .dict file from the .dz file, if pyGlossary has created one. |
||
Advert | |
|
02-27-2015, 02:06 PM | #756 | |
Connoisseur
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
|
Quote:
thanks for reply i downloaded pyglossary from ubuntu software center and output format is alreadey dz .ifo .idx .idz but i will test with other versions too I should add the owner of this link you sent to me is Saeed Rasuli also an Iranian and he send me the glossary and second thing is when I run pyglossary in windows ( both GUI and cmd form ) the output file doesn't have any size only an icon Last edited by barobach_so; 02-27-2015 at 02:09 PM. |
|
03-01-2015, 03:04 AM | #757 |
Connoisseur
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
|
We finally did it
Hi
with Doitsu & hawhill Guide and my friend help we finally have RTL Persian Dictionary in koreader here is the picture : ( You can compare with post #745 ) here is the process: convert babylon glossay to HTML file with BabylontoHtml reverse the character order by Arabshaping convert reveresed HTML to stardict ( ifo ) by stardict editor add Persian unicode font to koreader font folder and change the defaults in font.lua in koreader Last edited by barobach_so; 03-01-2015 at 04:06 AM. |
03-02-2015, 11:57 AM | #758 |
Connoisseur
Posts: 58
Karma: 6090
Join Date: Oct 2013
Device: PW
|
Does it support AZW3 files?
|
03-03-2015, 04:17 AM | #759 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
@barobach_so: Great! And thanks for sharing the processing instructions!
@Belenos: No. You'd have to convert those. |
03-03-2015, 08:00 AM | #760 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Dec 2014
Device: Kindle Paperwhite
|
@barobach_so You should be able to right align the text in the quick lookup window too, maybe playing a little with frontend/ui/widget/dictquicklookup.lua?
|
03-03-2015, 03:43 PM | #761 | |
Connoisseur
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
|
Quote:
on a trip now, I will test later I think its because arabshaping it work on srt files in subtitles and it happens there too but I will test it Thank you |
|
03-04-2015, 04:46 AM | #762 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I don't think right alignment is currently implemented. That would have to get implemented here: https://github.com/koreader/koreader...tboxwidget.lua - so don't bother to fiddle with the - higher level - dictquicklookup.
|
03-04-2015, 11:46 AM | #763 |
Connoisseur
Posts: 58
Karma: 6090
Join Date: Oct 2013
Device: PW
|
|
03-05-2015, 03:03 AM | #764 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
You'd have to ask this the CREngine developer(s), but I think it is highly unlikely. CREngine started as a FB2 renderer, had EPUB2 (at least more than enough of it to be useful) added later. Switching that to EPUB3 compatibility is a major feat alone, adding support for a proprietary format on top of that is an immense amount of work. So no, I don't think that will happen soon.
Maybe if some new reader engine comes up, but where from? |
03-05-2015, 04:54 AM | #765 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The Readium SDK? Granted, AFAICT, there's no proper Linux port (yet?), and it may or may not rely on a full webkit setup, but that's still potentially the best contender. (And what Kobo's using for their kepub ACCESS renderer, if I understood everything properly...).
Last edited by NiLuJe; 03-05-2015 at 06:55 AM. |
Tags |
application, k5 tools, kindle, koreader, launcher add-ons, lua, reader, touch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KPV: a PDF reader for Kindle, based on muPDF, GPLv3 | hawhill | Kindle Developer's Corner | 1056 | 11-11-2017 03:07 AM |
Hacked Up Reader for epub/fb2/txt/rtf/html/pdb/etc | bhaak | Kindle Developer's Corner | 296 | 10-01-2016 01:11 PM |
html to fb2 or epub | rulet | Conversion | 7 | 06-24-2012 05:54 PM |
Raccoon Reader - reads ePub, fb2, fb2.zip, txt on WP7 for free | Andrei_Shvydryk | Reading and Management | 0 | 10-31-2011 03:17 PM |
A real PDF to epub/djvu/rtf/html software?. | DsOft | ePub | 35 | 01-02-2011 03:57 PM |