Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-14-2020, 02:55 PM   #3226
Markismus
Guru
Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.
 
Markismus's Avatar
 
Posts: 760
Karma: 143987
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, OnyxNotePro, lots of cracked Kobo's
It is a bit faster, was necessary for older Koreader version, but nowadays isn't. The dict-file can be zipped with dictzip* to dict.dz-file. (See line 1333 of PocketBookDic.pl.)

I've reupped the Oxford 2nd Ed with compressed dict.dz-file. It easier to decompress than to compress. The script also removed all the nested blockquotes, that needed extra styling in Koreader.



____________
* Under linux it is a package, under windows you can use this.

Last edited by Markismus; 11-20-2020 at 09:35 AM.
Markismus is offline   Reply With Quote
Old 11-20-2020, 05:09 AM   #3227
gogu1904
Connoisseur
gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.gogu1904 ought to be getting tired of karma fortunes by now.
 
Posts: 64
Karma: 2112464
Join Date: May 2019
Device: Kindle Voyage; Kobo Aura One LE
Thank you. Where did you reupload? The link from post #3221 has the same archive, with the expanded file.
gogu1904 is offline   Reply With Quote
Old 11-20-2020, 09:36 AM   #3228
Markismus
Guru
Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.Markismus is at one with the great books of the world.
 
Markismus's Avatar
 
Posts: 760
Karma: 143987
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, OnyxNotePro, lots of cracked Kobo's
I had to change online cloud storage providers. I've updated the link. It's now here. And I'll unshare the old cloud share.
Markismus is offline   Reply With Quote
Old 01-08-2021, 07:20 PM   #3229
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
I've never been able to log into my Wallabag server. The server settings in KOReader are the same ones I've been using to access the Wallabag page in a browser window on my computer or in my phone app. I'm running my own Wallabag instance on my web server. Could that be a factor?

The toast messages I get are "Could not login to Wallabag server." and "Communication with server failed."
mirage is offline   Reply With Quote
Old 01-08-2021, 07:30 PM   #3230
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,365
Karma: 607854
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I'm not sure why that one doesn't include the error code.

https://github.com/koreader/koreader.../main.lua#L591

You could try quickly replacing that line with this so we know what the server's saying:
[code] text = "Response code: "..code, })

Given your other message, it'll probably be something like 401 unauthorized though.

Could you double check the wallabag settings in a text editor on your PC? That's in /mnt/onboard/.adds/koreader/settings/wallabag.lua.
Frenzie is offline   Reply With Quote
Old 01-08-2021, 08:14 PM   #3231
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
Quote:
Originally Posted by Frenzie View Post
I'm not sure why that one doesn't include the error code.

https://github.com/koreader/koreader.../main.lua#L591

You could try quickly replacing that line with this so we know what the server's saying:
[code] text = "Response code: "..code, })

Given your other message, it'll probably be something like 401 unauthorized though.

Could you double check the wallabag settings in a text editor on your PC? That's in /mnt/onboard/.adds/koreader/settings/wallabag.lua.
The wallabag.lua settings are as they should be. Interestingly, there's a URL in the download queue representing the most recent page I saved to Wallabag a few days ago. So there's some sort of connection being made. I don't think I've ever seen anything in the download queue there before.

EDIT: I had a typo related to copying and pasting the code you provided into main.lua. I fixed it in the KOReader editor and now Wallabag is still present in the menu. But I get the same error messages I was getting to begin with. I'm not getting the toast that I'd have anticipated with

Code:
text = "Response code: "..code, })

Last edited by mirage; 01-09-2021 at 01:58 PM.
mirage is offline   Reply With Quote
Old 01-09-2021, 02:45 PM   #3232
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
I got this working for reasons I don't really understand.

Since the code in main.lua that was displaying the two error message toasts I was getting were in lines 390 and 603, I commented the original code out of those lines and replaced it with your suggested

Code:
text = "Response code: "..code, })
Then, when I asked the Wallabag plugin to download articles, it did. Strange since I was only editing the messages that would pop up in the events triggered for those two lines, not the processing of the events themselves. But now, for the first time, I have 30 articles in my /Wallabag directory.
mirage is offline   Reply With Quote
Old 01-09-2021, 05:42 PM   #3233
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,365
Karma: 607854
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
There must've been a communication issue then. Did you try something else like Wikipedia at the time?
Frenzie is offline   Reply With Quote
Old 01-09-2021, 06:23 PM   #3234
mirage
Zealot
mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.mirage ought to be getting tired of karma fortunes by now.
 
Posts: 138
Karma: 2382428
Join Date: Feb 2013
Location: California
Device: OnePlus 6 phone, Kobo Clara HD, Libra H2O
I don't remember if, in the past, I've tried other online connections after Wallabag had failed. But I have successfully connected to sources like Wikipedia before while I'd never succeeded in connecting to Wallabag after at least 25-30 tries over the last 6 months or so.

Works now, though. I'll see if it keeps working after the next update of KOReader overwrites my edits to main.lua. Right now, I'm on the current nightly. I'll update in the next couple of days and will see what happens.
mirage is offline   Reply With Quote
Old 01-29-2021, 02:43 AM   #3235
jberd
Member
jberd began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2015
Device: Kobo Aura H2o
Dictionary font

What controls the dictionary font?
I played around with frontend/ui/font.lua to use more serif fonts,
and the dictionary popup was using serif fonts. Then I downloaded
the gcide dictionary, and that pops up with a sans-serif font (while
the other dictionary still uses serif). I poked around looking for
something to control the font, with no luck. (The gcide dictionary
uses some html-style markup while my older dictionary doesn't, but
I didn't find any font directives in gcide.)
Is there a way to have the dictionaries all use a serif font?

Thanks, Jay
jberd is offline   Reply With Quote
Old 01-29-2021, 06:24 AM   #3236
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 940
Karma: 1402887
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by jberd View Post
What controls the dictionary font?
I played around with frontend/ui/font.lua to use more serif fonts,
and the dictionary popup was using serif fonts. Then I downloaded
the gcide dictionary, and that pops up with a sans-serif font (while
the other dictionary still uses serif). I poked around looking for
something to control the font, with no luck. (The gcide dictionary
uses some html-style markup while my older dictionary doesn't, but
I didn't find any font directives in gcide.)
Is there a way to have the dictionaries all use a serif font?

Thanks, Jay
It's the "font size" setting under "Dictionary settings". Some dicts can have different font faces in their css, and that can make them look bigger or smaller.

Default css code is in https://github.com/koreader/koreader....lua#L739-L754
Attached Thumbnails
Click image for larger version

Name:	2021-01-29_11-18.png
Views:	109
Size:	33.4 KB
ID:	185074  

Last edited by pazos; 01-29-2021 at 06:27 AM.
pazos is offline   Reply With Quote
Old 01-29-2021, 07:25 PM   #3237
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 2,183
Karma: 25056996
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Lenovo P11
I'm loving the autoturn function, just brilliant! Is there a way to assign a screen tap to pause it? Currently, if I tap the screen, it advances a page, and I have to long press to bring up a menu (any menu) to pause the autoturn. Being able to tap the screen to pause would be very handy.
Uncle Robin is offline   Reply With Quote
Old 01-29-2021, 07:58 PM   #3238
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
I don't *think* it's currently wired into Dispatcher/Gestures, so that would probably make a great FR on GitHub .
NiLuJe is offline   Reply With Quote
Old 01-29-2021, 08:00 PM   #3239
jberd
Member
jberd began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2015
Device: Kobo Aura H2o
Quote:
Originally Posted by pazos View Post
Fantastic; thanks!

I hadn't updated Koreader for a while, since it seemed to do everything already, but now it seems to do more! For example, I don't think it would download dictionaries before, but now it will (that's how I came across the gcide font puzzle).

Amazing program.
jberd is offline   Reply With Quote
Old 01-30-2021, 06:57 AM   #3240
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 2,183
Karma: 25056996
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Lenovo P11
Quote:
Originally Posted by jberd View Post
I don't think it would download dictionaries before, but now it will
Where do I find this functionality?
Uncle Robin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1244 Today 07:27 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 03:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 05:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 03:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 09:25 AM


All times are GMT -4. The time now is 09:54 PM.


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