Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2021, 06:27 AM   #1
ichnilatis
Groupie
ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.
 
Posts: 169
Karma: 1686
Join Date: Jul 2020
Location: Greece
Device: Pocketbook Touch Lux 5
Tweak document settings problem

Hi,

I've written in "Tweak document settings" the following tweaks, in order to have them applied to all the documents of that folder, but it doesn't work. What's wrong?

My Home folder is mnt/

Code:
 return {--do NOT change this line

 --HELP:
 -- You can override default settings for documents per directory in this file.
 -- The directories must be under the home folder.
 -- You can find settings to change in the metadata.lua in the .sdr folder.
 -- The path must start with "/" (absolute path).
 -- The path must not end with a "/" it must end with the folder name.

 -- syntax:

 --   ["path/to/folder"] = {
 --         ["setting_to_override"] = value,
 --    },

 -- examples:

 --[[
    ["/mnt/us/documents/hebrew"] = {
        ["inverse_reading_order"] = true
    },
    ["/mnt/onboard/smalltext"] = {
        ["font_size"] = 34,
        ["line_space_percent"] = 130,
    },
    ["/sdcard/Books/smalltext"] = {
        ["font_size"] = 34,
        ["line_space_percent"] = 130,
    },
--]]

 -- comment out line ("--" at line start) to disable


 -- ADD YOUR DEFAULTS HERE:
    ["/ext2/Λειτουργική/Λειτουργικά Κείμενα/ΟΡΘΟΔΟΞΑ ΕΛΛΗΝΙΚΑ ΛΕΙΤΟΥΡΓΙΚΑ ΚΕΙΜΕΝΑ/pent"] = {
        ["text_lang"] = "el",
        ["copt_font_size"] = 33,
        ["paragraph_web_browser_style"] = true,
        ["alternative_toc"] = true,
        ["toc_chapter_navigation_bind_to_ticks"] = false,
        ["toc_chapter_title_bind_to_ticks"] = true,
        ["font_face"] = "GFS Didot",
    },
}--do NOT change this line
Thank you in advance!
ichnilatis is offline   Reply With Quote
Old 06-25-2021, 11:08 AM   #2
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: 1,275
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
You'll need to include the full path of the folder. In your sample it would be
Code:
/mnt/ext2/Λειτουργική/Λειτουργικά Κείμενα/ΟΡΘΟΔΟΞΑ ΕΛΛΗΝΙΚΑ ΛΕΙΤΟΥΡΓΙΚΑ ΚΕΙΜΕΝΑ/pent
pazos is offline   Reply With Quote
Advert
Old 06-27-2021, 07:14 AM   #3
ichnilatis
Groupie
ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.
 
Posts: 169
Karma: 1686
Join Date: Jul 2020
Location: Greece
Device: Pocketbook Touch Lux 5
Thank you for your help!
Do the tweaks also apply to the subfolder files?
Also, what's the tweak for an "alt status bar"?

Thanks!
ichnilatis is offline   Reply With Quote
Old 06-27-2021, 11:43 AM   #4
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: 1,275
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by ichnilatis View Post
Do the tweaks also apply to the subfolder files?
Yup, see https://github.com/koreader/koreader...ssue-321815845
pazos is offline   Reply With Quote
Old 07-04-2021, 08:19 AM   #5
ichnilatis
Groupie
ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.ichnilatis once ate a cherry pie in a record 7 seconds.
 
Posts: 169
Karma: 1686
Join Date: Jul 2020
Location: Greece
Device: Pocketbook Touch Lux 5
If I want the same tweaks to be applied to different folder, do I have to write them again?

Also, is there a tweak for an "alt status bar"?
There are tweaks that I can't find in metadata.lua file...
ichnilatis is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre stopped working (mobi sent, but error: There was a problem with the document Cooluck Devices 7 10-21-2019 02:55 PM
Troubleshooting error: There was a problem with the document(s) you sent to Kindle nelluk Amazon Kindle 2 01-05-2017 10:53 AM
Problem with The Kindle Personal Document Service rusky Calibre 13 09-22-2015 02:01 PM
Problem of conversion of a pdf document Agenor Software 8 03-16-2013 10:29 AM
Problem converting document with diacritics sorin Conversion 6 07-06-2011 04:06 PM


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


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