Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2014, 10:34 AM   #391
zamana
Zealot
zamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfolded
 
zamana's Avatar
 
Posts: 133
Karma: 52836
Join Date: Feb 2012
Location: São Paulo / Brazil
Device: Kindles: Touch, Voyage, Oasis 9th, Oasis 10th / Kobo: Libra Colour
Quote:
Originally Posted by chrox View Post
You can use the KUAL unified aplication launcher, in which koreader is launched as a file manager that will show all supported formats including MOBI.
Thanks!

Still, is there a way to do this without using KUAL?

Thanks.
Regards.
zamana is offline   Reply With Quote
Old 02-27-2014, 11:09 PM   #392
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
Quote:
Originally Posted by zamana View Post
Thanks!

Still, is there a way to do this without using KUAL?

Thanks.
Regards.
Then probably you need to hack kpvbooklet code here, especially the mimes.sql that will be inserted to the appreg.db of the native system. Appending the following entry:
Code:
INSERT INTO "associations" VALUES('com.github.koreader.kpvbooklet','application','MT:application/x-mobipocket-ebook','true');
into mimes.sql and update with the repackaged kpvbooklet will do the job,
or if you have ssh access to your Kindle, you can simply do this in one command:
Code:
sqlite3 /var/local/appreg.db 'INSERT INTO "associations" VALUES("com.github.koreader.kpvbooklet","application","MT:application/x-mobipocket-ebook","true");'
chrox is offline   Reply With Quote
Advert
Old 02-28-2014, 05:02 AM   #393
soulafein
Enthusiast
soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.
 
Posts: 43
Karma: 29634
Join Date: Jun 2012
Location: Poland, Poznań
Device: Amazon Kindle Paperwhite 2
Another question - what about floating punctuation? In latest nightly build there is no option?
soulafein is offline   Reply With Quote
Old 02-28-2014, 07:06 PM   #394
zamana
Zealot
zamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfoldedzamana reads XML... blindfolded
 
zamana's Avatar
 
Posts: 133
Karma: 52836
Join Date: Feb 2012
Location: São Paulo / Brazil
Device: Kindles: Touch, Voyage, Oasis 9th, Oasis 10th / Kobo: Libra Colour
Quote:
Originally Posted by chrox View Post
Then probably you need to hack kpvbooklet code here, especially the mimes.sql that will be inserted to the appreg.db of the native system. Appending the following entry:
Code:
INSERT INTO "associations" VALUES('com.github.koreader.kpvbooklet','application','MT:application/x-mobipocket-ebook','true');
into mimes.sql and update with the repackaged kpvbooklet will do the job,
or if you have ssh access to your Kindle, you can simply do this in one command:
Code:
sqlite3 /var/local/appreg.db 'INSERT INTO "associations" VALUES("com.github.koreader.kpvbooklet","application","MT:application/x-mobipocket-ebook","true");'
Absolutely perfect!

Thank you very much!!!
zamana is offline   Reply With Quote
Old 03-02-2014, 10:25 AM   #395
loopernow
Junior Member
loopernow began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2014
Device: Kindle Touch
Hello,

I'm wondering is there a way to set Koreader to always use a default, specified font whenever opening documents? I've Googled a bit and have found some promising leads but I'm afraid to edit a text file without knowing the proper syntax or if I am editing the right place.

I found indication that Koreader uses embedded fonts by default? Everything I've ever opened with Koreader seems to use the same font, something with serifs. I would prefer to use the same font that the native Kindle reader uses.

I found mention in a Koreader thread that you can modify 'font_face' in 'frontend/ui/reader/readerfont.lua' but when I go to that section of readerfont.lua, 'font_face' is indicated as 'nil'--so I'm not sure if replacing 'nil' with something else would work, and if so what the correct format would be. Unfortunately this idea was not pursued in the aforementioned thread, and I think my question there would be off-topic; here seems more appropriate.

I know that I can change the font of individual documents once they're open in Koreader, but I would like them to open with my preferred font to begin with, without my intervention. Is this possible?
loopernow is offline   Reply With Quote
Advert
Old 03-03-2014, 01:34 AM   #396
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by loopernow View Post
I would like them to open with my preferred font to begin with, without my intervention. Is this possible?
I've managed to set the default font by editing file koreader/frontend/document/credocument.lua .
I had to modify line 21:
Code:
           default_font = "FreeSerif",
I don't know if it's the proper way but it works.
See koreader/history/ for correct font names.
dsmid is offline   Reply With Quote
Old 03-03-2014, 03:57 AM   #397
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
This setting can be overwritten with the "cre_font" setting from the global config file (settings.reader.lua, created by the first run of koreader). That is probably a more proper place to set it - it would survive an update of koreader. The header font ("header_font") can also be set this way.
hawhill is offline   Reply With Quote
Old 03-06-2014, 01:27 PM   #398
loopernow
Junior Member
loopernow began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2014
Device: Kindle Touch
Thanks! I am going to try this shortly. Appreciate the help.
loopernow is offline   Reply With Quote
Old 03-08-2014, 02:15 PM   #399
Refraction
Junior Member
Refraction began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2013
Device: Kindle Paperwhite 2
I'm sorry for my stupid question, but how to use the dictionary?
I've put Tesseract eng files into koreader\data\tessdata and Stardict files into dict folder, but when select single word and press Translate dialog box hides.
Furthermore, there are only two buttons are available: Highlight (btw, how to remove highlighting?) and Translate. Add Note, Share and More are grayed and disabled.
And is it OK that dialog menu doesn't shows up by tapping a single word? I can make it shown only by moving finger from the beginning of the word to it's end.

One last thing: this annoying bug with page rendering after the screen is turned on still present
Attached Thumbnails
Click image for larger version

Name:	screenshot_2014_03_08t22_01_240300.jpg
Views:	282
Size:	66.9 KB
ID:	120006  

Last edited by pdurrant; 03-09-2014 at 06:07 AM.
Refraction is offline   Reply With Quote
Old 03-09-2014, 03:30 AM   #400
lesca
Junior Member
lesca began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2014
Device: Kindle Paperwhite 2
Kindle will restart after exit KOreader...
Once kindle goes to screen-saver (or press the on/off button) and exit KOreader, everytime, kindle will restart!!

I have updated to the latest version koreader-kindle-nightly-20140308. Any idea how to fix this?

BTW, I am reading a epub book and my device is PW2.

Last edited by lesca; 03-09-2014 at 03:57 AM.
lesca is offline   Reply With Quote
Old 03-09-2014, 08:31 AM   #401
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
For now the translate feature is not implemented yet. But you can look up word by a long press on it if you have installed the dictionary data files. A single tap on a highlighting will popup a window with the delete option.

And the last one can be solved by installing kpvbooklet.

More information can be found at the project wiki.
chrox is offline   Reply With Quote
Old 03-09-2014, 08:39 AM   #402
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
Quote:
Originally Posted by lesca View Post
Kindle will restart after exit KOreader...
Once kindle goes to screen-saver (or press the on/off button) and exit KOreader, everytime, kindle will restart!!

I have updated to the latest version koreader-kindle-nightly-20140308. Any idea how to fix this?

BTW, I am reading a epub book and my device is PW2.
It's a known bug. See the issue track at https://github.com/koreader/koreader/issues/519. But it's not a problem when launching koreader with kpvbooklet.
chrox is offline   Reply With Quote
Old 03-09-2014, 03:48 PM   #403
Refraction
Junior Member
Refraction began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2013
Device: Kindle Paperwhite 2
Quote:
Originally Posted by chrox View Post
For now the translate feature is not implemented yet. But you can look up word by a long press on it if you have installed the dictionary data files. A single tap on a highlighting will popup a window with the delete option.
It didn't work for me because I forgot to put *.ifo files into dict folder. Now it works fine.

Will the support of azw\mobi dictionaries be implemented in future? I very like Koreader for fitting PDF page in landscape mode, but StarDict eng-rus dictionaries are imperfect unlike to mobi dictionary.
Refraction is offline   Reply With Quote
Old 03-10-2014, 04:32 AM   #404
soulafein
Enthusiast
soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.soulafein is faster than slow light.
 
Posts: 43
Karma: 29634
Join Date: Jun 2012
Location: Poland, Poznań
Device: Amazon Kindle Paperwhite 2
Another issue: I insert new font with all styles (bold, italic e.g) in epub file. KOReader doesn't show latin/polish signs (such as ś, ą, ń, ó, ę) when font-style:italic or font-weight:bold in css is used - it shows "?" :-( Calibre shows it without problems.

Last edited by soulafein; 03-10-2014 at 04:54 AM.
soulafein is offline   Reply With Quote
Old 03-10-2014, 05:53 AM   #405
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Refraction: As long as there is no easy way to even parse them, let alone lookup & other things, support for azw dictionaries is probably not coming up soon.

Soulafein: Just to get it clear: both Calibre and Koreader *do* use the font you embedded into the epub file? And you *did* embed it (the actual font data, not just the CSS), right?
hawhill is offline   Reply With Quote
Reply

Tags
application, k5 tools, kindle, koreader, launcher add-ons, lua, reader, touch


Forum Jump

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


All times are GMT -4. The time now is 03:09 AM.


MobileRead.com is a privately owned, operated and funded community.