View Single Post
Old 10-17-2015, 08:54 PM   #2444
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by roger64 View Post
Hi

Setting defaults

I have set up a file named defaults.persistent.lua which keeps some of my settings. However, when I open a book, I still have to
- adjust the line-height to a certain value (out of three)
- adjust the margin to a certain value (out of three)
- hyphen language to a language
- font family to a font
- font-weight: darker

Where must I write these above settings so that, when opening a book, Koreader could use them? If I remember properly there was a cr3.ini file that I find no more. I use the latest nightly.

Edit: To say it otherwise, I know we can select some settings with a long press. I would like to know on which file these settings are written.
If you open defaults.lua using Notepad++, you will see green notes that explain most of the settings, also some instructions on copying the settings into "defaults.persistent.lua"

Yes the long press is your friend for setting things as default.

Luck;
Ken
Ken Maltby is offline   Reply With Quote