diff --git a/ReadingSystems/Lektz/Epub_ReaderSettings.txt b/ReadingSystems/Lektz/Epub_ReaderSettings.txt new file mode 100755 index 0000000..f32ef40 --- /dev/null +++ b/ReadingSystems/Lektz/Epub_ReaderSettings.txt @@ -0,0 +1,57 @@ +{ + "Search": [], + "TOC": [], + "Brightness": [ + "Brightness Slider" + ], + "Font Size" : [ + "Font Slider" + ], + "Font Style": [ + "Publisher Default", + "Arial", + "Times New Roman", + "Verdana", + "Courier New", + "Open Dyslexic", + "Akruti (हिंदी)" + ], + "Text Alignment": [ + "Publisher Default", + "Left", + "Right", + "Justify" + ], + "Themes": [ + "Publisher Default", + "Sepia", + "Night Mode" + ], + "Goto": [], + "Share": [ + "Facebook", + "Twitter" + ], + "More Options": [ + "RTL", + "Disable Sleep", + "Walking Mode" + ], + "Reader Style": [ + "Book", + "Full Screen" + ], + "Sync Annotations": [ + "Auto", + "Manual", + "Never" + ], + "Help":[], + "Transition Style":[ + "None", + "Page Fade" + ] + + + +} \ No newline at end of file diff --git a/ReadingSystems/OverDrive/Book.css b/ReadingSystems/OverDrive/Book.css new file mode 100644 index 0000000..d251f31 --- /dev/null +++ b/ReadingSystems/OverDrive/Book.css @@ -0,0 +1,150 @@ + \ No newline at end of file diff --git a/ReadingSystems/PocketBook-iOS/fb2.css b/ReadingSystems/PocketBook-iOS/fb2.css new file mode 100644 index 0000000..0a3e841 --- /dev/null +++ b/ReadingSystems/PocketBook-iOS/fb2.css @@ -0,0 +1,132 @@ +@define-theme day { + color: #222222; + background-color: #FFFFFF; + a { color: #2222FF; } +} +@define-theme gray_invert { + color: #222222; + background-color: #FFFFFF; + a { color: #2222FF; } +} +@define-theme night { + color: #F0F0F0; + background-color: #000000; + a { color: #19CA15; } +} +@define-theme newspaper { + color: #373028; + background-color: #FCF7E5; + a { color: #2222FF; } +} +@define-theme user_setup { + color: prop("prf.css.color_font"); + background-color: prop("prf.css.color_background"); + a { color: prop("prf.css.color_link"); } +} +@define-theme texture { + color: prop("prf.css.color_font"); + background-color: prop("prf.css.color_background"); + a { color: prop("prf.css.color_link"); } +} + +@define-theme serif { + body,annotation { font-family: "Times New Roman", "Georgia", serif; } + title { font-family: "Arial", "Helvetica", sans-serif; } + epigraph,cite { font-family: "Times New Roman", "Georgia", serif; } +} +@define-theme sans { + body,annotation { font-family: "Arial", sans-serif; } + title,subtitle { font-family: "Arial", "Helvetica", sans-serif; } + epigraph,cite { font-family: "Times New Roman", "Georgia", serif; } +} +@define-theme mono { + body,annotation { font-family: "Courier", monospace; } + title,subtitle { font-family: "Courier", monospace; } + epigraph,cite { font-family: "Courier", monospace; } +} + +FictionBook { + @theme prop("prf.css.color_preset", day); + @theme prop("prf.css.font_style", serif); + text-align: prop("prf.css.para.align", normal); +} + +@page { + margin-left: prop("prf.css.page.padding-left", 6%); + margin-right: prop("prf.css.page.padding-right", 6%); + margin-top: prop("prf.css.page.padding-top", 6%); + margin-bottom: prop("prf.css.page.padding-bottom",6%); +} + +body[name="notes"] { + font-size: x-small; + title { + font-size: medium; + font-weight: bold; + font-style: italic; + text-align: left; + } +} + +table { border: solid 3px black; text-align: center; margin: 5px;} +td,th { border: solid 1px black; padding: 2px; box-align: center; text-indent: 0px; } + +body>title { font-size: large; + color: #cc0000; + text-align: center; + white-space: pre-wrap; + margin-top: 1em; + margin-bottom: 2em; + font-weight: bold; } +poem title { font-style: italic;} + +title { font-size: large; + font-weight: bold; + text-align: left; + white-space: pre-wrap; + margin-top: 2em; + margin-bottom: 1em; + display: inline; } +annotation { text-indent: 2em; + padding: .5cm .5cm 1.5cm .5cm; } + +epigraph,cite { font-style: italic; + text-align: end; + margin-top: 1em; + margin-bottom: .5em; } +cite>p { text-align: justify; } +text-author { font-style: normal; } + +subtitle { margin-top: 1em; + margin-bottom: .5em; + font-weight: bold; + display: inline;} +title+p, subtitle+p { text-indent: prop("prf.css.para.indent", normal); } + +empty-line { line-height: 1em; } + +image { text-align: center; } + +code { white-space: pre-wrap; + text-align: start; + font-family: monospace; } + +section>p { text-indent: prop("prf.css.para.indent", normal); + margin-bottom: prop("prf.css.para.margin", normal); + line-height: prop("prf.css.line_spacing", normal); + white-space: normal; } + +stanza { margin: 1em 4%; } +v { white-space: nowrap; } + +strong, b { font-weight: bold; } +emphasis, i { font-style: italic; } +strikethrough { text-decoration: line-through; } + +sup { font-size: .66em; font-offset: +.33em; } +sub { font-size: .66em; font-offset: -.33em; } + +a[type="note"] { font-size: .66em; font-offset: +.33em; } +sup a[type="note"] { font-size: 1em; } +a[type="note"] sup { font-size: 1em; } + diff --git a/ReadingSystems/PocketBook-iOS/html.css b/ReadingSystems/PocketBook-iOS/html.css new file mode 100644 index 0000000..f1267dd --- /dev/null +++ b/ReadingSystems/PocketBook-iOS/html.css @@ -0,0 +1,122 @@ +@define-theme day { + color: #222222; + background-color: #FFFFFF; + a { color: #2222FF; } + annotation { + background-color: #bde59e; + } +} +@define-theme night { + color: #F0F0F0; + background-color: #222222; + a { color: #19CA15; } + annotation { + background-color: #bde59e; + } +} +@define-theme newspaper { + color: #373028; + background-color: #FCF7E5; + a { color: #2222FF; } + annotation { + background-color: #bde59e; + } +} +@define-theme user_setup { + color: prop("prf.css.color_font"); + background-color: prop("prf.css.color_background"); + a { color: prop("prf.css.color_link"); } +} + +@define-theme serif { + body,annotation { font-family: "Times New Roman", "Georgia", serif; } + title { font-family: "Arial", "Helvetica", sans-serif; } +} +@define-theme sans { + body,annotation { font-family: "Arial", sans-serif; } + title,subtitle { font-family: "Arial", "Helvetica", sans-serif; } +} + +html { + @theme prop("prf.css.color_preset", day); + @theme prop("prf.css.font_style", serif); + text-align: prop("prf.css.para.align", normal); +} + +@page { + margin-left: prop("prf.css.page.padding-left", 6%); + margin-right: prop("prf.css.page.padding-right", 6%); + margin-top: prop("prf.css.page.padding-top", 6%); + margin-bottom: prop("prf.css.page.padding-bottom",6%); +} + +/* Some values taken from http://www.w3.org/TR/CSS21/sample.html */ + +table { text-indent: 0px; line-height: 1em; } +th { font-weight: bolder; text-align: center; padding: 2px; } +td { padding: 2px; } + +title { font-style: italic; + font-size: large; + font-weight: bold; + text-align: left; + white-space: pre-wrap; + margin-top: 2em; + margin-bottom: 1em; + display: inline; } +annotation { text-indent: 2em; + padding: .5cm .5cm 1.5cm .5cm; } + +epigraph { font-family: "Times New Roman", "Georgia", serif; + font-style: italic; + text-align: end; + margin-top: 1em; + margin-bottom: .5em; } + +subtitle { margin-top: 1em; + margin-bottom: .5em; + font-weight: bold; + display: inline;} +title+p, subtitle+p { text-indent: prop("prf.css.para.indent", normal); } + +code { white-space: pre-wrap; + text-align: start; + font-family: monospace; } + +monospace { font-family: monospace; } + +cite { font-family: "Times New Roman", "Georgia", serif; + font-style: italic; } + +pre { white-space: pre-wrap; + text-align: left; } +br, hr { white-space: pre-line; + text-align: center; } + +h1 { font-size: xx-large;font-weight: bold; text-align: center; } +h2 { font-size: x-large; font-weight: bold; text-align: center; } +h3 { font-size: large; font-weight: bold; text-align: center; } +h4 { font-size: medium; font-weight: bold; text-align: center; } +h5 { font-size: small; font-weight: bold; text-align: center; } +h6 { font-size: x-small; font-weight: bold; text-align: center; } + +p { text-indent: prop("prf.css.para.indent", normal); + margin-bottom: prop("prf.css.para.margin", normal); + line-height: prop("prf.css.line_spacing", normal); + white-space: normal; } + +ul, ol, dl, menu, dir { margin-left: 1em; + text-indent: prop("prf.css.para.indent", normal); + margin-bottom: prop("prf.css.para.margin", normal); + line-height: prop("prf.css.line_spacing", normal); + white-space: normal; + /* border: solid 1px black; */ } + +strong, b { font-weight: bold; } +emphasis, i { font-style: italic; } +strike { text-decoration: line-through; } +u { text-decoration: underline; } + +sup { font-size: .66em; font-offset: +.33em; } +sub { font-size: .66em; font-offset: -.33em; } + diff --git a/ReadingSystems/PocketBook-iOS/notes.css b/ReadingSystems/PocketBook-iOS/notes.css new file mode 100644 index 0000000..f9da486 --- /dev/null +++ b/ReadingSystems/PocketBook-iOS/notes.css @@ -0,0 +1,88 @@ +div.bm-color-none {background-color:#eae6dc;} +div.bm-color-pink {background-color:#ecd6ea;} +div.bm-color-blue {background-color:#d2ebff;} +div.bm-color-red {background-color:#fcc1c1;} +div.bm-color-yellow {background-color:#fff3b2;} +div.bm-color-green {background-color:#d8f4cf;} + +div.bm-delim { +background-color: #d6d2c9; +height: 1px; +width: 100%; +border-bottom:1px solid #fffaec; +} + +p.bm-page:before {content: open-quote;} +p.bm-page:after {content: close-quote;} +p.bm-page:lang(ru) {quotes: "стр. № " "." "'" "'";} +p.bm-page:lang(uk) {quotes: "стор. № " "." "'" "'";} +p.bm-page:lang(de) {quotes: "Seite Nr " "." "'" "'";} +p.bm-page:lang(fr) {quotes: "page No " "." "'" "'";} +p.bm-page:lang(zh) {quotes: "頁 " "." "'" "'";} + +p.bm-page +{ +quotes: "page # " "." "'" "'"; +color: #999999; +font-size: 14pt; +font-family: Geneva, Arial, Helvetica, sans-serif; +} + +div.bookmark +{ +font-size: 14pt; +text-align: justify; +color: #222222; +padding: 10px 40px; +} + +div.bm-text +{ +font-family: Geneva, Arial, Helvetica, sans-serif; +} + +div.bm-note +{ +color: #999999; +font-style: oblique; +position: relative; +padding: 5px 20px; +background: #fffaec; +-webkit-border-radius: 5px; +border-radius: 5px; +border: #d3d3d3 solid 1px; +} + +div.bm-note:after +{ +content: ''; +position: absolute; +border-color: #fffaec transparent; +display: block; +width: 0; +z-index: 2; +top: -14px; +left: 51px; +height: 0; +border-bottom: 15px solid #fffaec; +border-right: 24px solid transparent; +} + +div.bm-note:before +{ +content: ''; +position: absolute; +display: block; +width: 0; +z-index: 1; +top: -15px; +left: 50px; +height: 0; +border-bottom: 15px solid #d3d3d3; +border-right: 24px solid transparent; +} + +div.bm-image +{ +text-align: center; +} \ No newline at end of file diff --git a/ReadingSystems/PocketBook-iOS/prf-dflt.ini b/ReadingSystems/PocketBook-iOS/prf-dflt.ini new file mode 100644 index 0000000..4e66a46 --- /dev/null +++ b/ReadingSystems/PocketBook-iOS/prf-dflt.ini @@ -0,0 +1,86 @@ +prf.gui.immersive BOOL,CREATE { dflt:"false" } +prf.gui.immersive-statusbar BOOL,CREATE,ADV { dflt:"false" } +prf.gui.immersive-navigation BOOL,CREATE,ADV { dflt:"false" } +prf.gui.style ENUM,CREATE { dflt:"Auto", values:["Auto", "Dark_Auto", "XSmall","Dark_XSmall", "Small","Dark_Small", "Normal","Dark_Normal", "Large","Dark_Large", "XLarge","Dark_XLarge"] } +prf.gui.theme STR,CREATE,ADV { val:"default-theme.msg", dflt:"default-theme.msg" } +prf.gui.start_menu_count INT,ADV,CREATE { dflt:"5" } + +prf.display.backlight-lock BOOL,CREATE { dflt:"false" } +prf.display.backlight-min-timeout REAL,CREATE,ADV { dflt:"5", min:"0", max:"30" } +prf.display.backlight-max-timeout REAL,CREATE,ADV { dflt:"30", min:"10", max:"300" } +prf.display.backlight-manual BOOL,CREATE,ADV { dflt:"false" } +prf.display.backlight-value REAL,CREATE,ADV { dflt:"0.5", min:"0", max:"1" } +prf.display.orientation-lock BOOL,CREATE,ADV { dflt:"false" } +prf.display.orientation-free ENUM,CREATE { dflt:"auto", values:["auto","system","user"] } +prf.display.orientation-mode ENUM,CREATE { dflt:"auto", values:["auto","port","land","revport","revland"] } +prf.display.opengl BOOL,CREATE { dflt:"true" } +prf.display.truecolor BOOL,CREATE { dflt:"false" } +prf.display.zoom-orig BOOL,CREATE { dflt:"false" } +prf.display.main_thread BOOL,CREATE,ADV { dflt:"false" } + +prf.display.sbar.show BOOL,CREATE { dflt:"false" } +prf.display.sbar.bottom BOOL,CREATE { dflt:"false" } +prf.display.sbar.text_size REAL,CREATE { dflt:"6", min:"3", max:"18", log:"2" } + +prf.gui.anim.type ENUM,CREATE { dflt:"curl3d", values:["none","pop","slide","open","curl3d"] } +prf.gui.anim.time REAL,CREATE { dflt:"0.33", min:"0.10", max:"5" } +prf.gui.anim.align BOOL,CREATE { dflt:"true" } +prf.gui.anim.volume REAL,CREATE { dflt:"0.5", min:"0.1", max:"1" } + +prf.gui.render_mode_per_doc BOOL,CREATE { dflt:"false" } +prf.gui.render_mode_per_pdf BOOL,CREATE,ADV { dflt:"false" } +prf.gui.render_mode STR,CREATE,ADV { dflt:"screen" } +prf.gui.render_scale STR,CREATE,ADV { dflt:"" } + +prf.gui.scale.max_page REAL,CREATE,ADV { dflt:"2.0", min:"1.0", max:"8" } +prf.gui.scale.min_page REAL,CREATE,ADV { dflt:"1.0", min:"0.2", max:"1" } + +prf.gui.input.volume_keys ENUM,CREATE { dflt:"usenorm", values:["usenorm","useswap","bypass"] } + +prf.gui.input.page.gesturing BOOL,CREATE { dflt:"false" } +prf.gui.input.page.scaling BOOL,CREATE { dflt:"true" } +prf.gui.input.page.scrolling BOOL,CREATE { dflt:"true" } +prf.gui.input.page.selecting BOOL,CREATE { dflt:"false" } +prf.gui.input.page.prefere ENUM,CREATE,ADV { dflt:"scaling", values:["none","gesturing","scaling","scrolling","selecting"] } + +prf.gui.input.scrn.gesturing BOOL,CREATE { dflt:"false" } +prf.gui.input.scrn.scaling BOOL,CREATE { dflt:"true" } +prf.gui.input.scrn.scrolling BOOL,CREATE { dflt:"false" } +prf.gui.input.scrn.selecting BOOL,CREATE { dflt:"true" } +prf.gui.input.scrn.prefere ENUM,CREATE,ADV { dflt:"none", values:["none","gesturing","scaling","scrolling","selecting"] } + +prf.gui.input.scrl.gesturing BOOL,CREATE { dflt:"false" } +prf.gui.input.scrl.scaling BOOL,CREATE { dflt:"true" } +prf.gui.input.scrl.scrolling BOOL,CREATE { dflt:"true" } +prf.gui.input.scrl.selecting BOOL,CREATE { dflt:"true" } +prf.gui.input.scrl.prefere ENUM,CREATE,ADV { dflt:"none", values:["none","gesturing","scaling","scrolling","selecting"] } + +prf.gui.touchless.dialog BOOL,CREATE { dflt:"true" } +prf.gui.search.advanced BOOL,CREATE { dflt:"false" } +prf.gui.bookmarks.icons BOOL,CREATE { dflt:"false" } +prf.gui.translate.large BOOL,CREATE,ADV { dflt:"true" } +prf.gui.translate.pen_toggle BOOL,CREATE,ADV { dflt:"true" } +prf.gui.translate.intent STR,CREATE { dflt:"" } +prf.gui.tts.collapsed BOOL,CREATE,ADV { dflt:"false" } + +prf.gui.fling.paged BOOL,CREATE { dflt:"false" } +prf.gui.fling.accelerate ENUM,CREATE { dflt:"normal", values:["xslow","slow","normal","fast","xfast"] } + +prf.gui.ctxmenu.select_highlights BOOL,CREATE { dflt:"true" } +prf.gui.ctxmenu.max_visible_items INT,CREATE { dflt:"5", min:"4", max:"10" } +prf.gui.ctxmenu.order_items STR,CREATE { dflt:"" } +prf.gui.toolbars.show_all BOOL,CREATE,ADV { dflt:"false" } +prf.gui.toolbars.left STR,CREATE,ADV { dflt:"" } +prf.gui.toolbars.right STR,CREATE,ADV { dflt:"" } + +prf.tts.engine STR,CREATE,ADV { dflt:"" } +prf.tts.speech_rate REAL,CREATE,ADV { dflt:"1.0", min:"0.3", max:"3", log:"9" } +prf.tts.pitch REAL,CREATE,ADV { dflt:"1.0", min:"0.3", max:"3", log:"9" } + +prf.help.show_menu BOOL,CREATE,HID { dflt:"false" } +prf.help.show_nav_back BOOL,CREATE,HID { dflt:"false" } + +prf.fontset STR,CREATE { dflt:"" } +prf.export.dir STR,CREATE,ADV { dflt:"/sdcard/PocketBook" } +prf.export.css STR,CREATE,ADV { dflt:"notes.css" } +prf.export.shots_count INT,CREATE,ADV { dflt:"1", min:"1", max:"100" } diff --git a/ReadingSystems/PocketBook-iOS/rtf.css b/ReadingSystems/PocketBook-iOS/rtf.css new file mode 100644 index 0000000..c3950bd --- /dev/null +++ b/ReadingSystems/PocketBook-iOS/rtf.css @@ -0,0 +1,54 @@ +@define-theme day { + color: #222222; + background-color: #FFFFFF; + a { color: #2222FF; } +} +@define-theme night { + color: #F0F0F0; + background-color: #000000; + a { color: #19CA15; } +} +@define-theme newspaper { + color: #373028; + background-color: #FCF7E5; + a { color: #2222FF; } +} +@define-theme user_setup { + color: prop("prf.css.color_font"); + background-color: prop("prf.css.color_background"); + a { color: prop("prf.css.color_link"); } +} + +@define-theme serif { + sect { font-family: "Times New Roman", "Georgia", serif; } +} +@define-theme sans { + sect { font-family: "Arial", sans-serif; } +} +@define-theme mono { + sect { font-family: "Courier", monospace; } +} + +rtf { + @theme prop("prf.css.color_preset", day); + @theme prop("prf.css.font_style", serif); + text-align: prop("prf.css.para.align", normal); + tab-size: 36pt; +} + +@page { + margin-left: prop("prf.css.page.padding-left", 6%); + margin-right: prop("prf.css.page.padding-right", 6%); + margin-top: prop("prf.css.page.padding-top", 6%); + margin-bottom: prop("prf.css.page.padding-bottom",6%); +} + +trowd { border: solid 3px black; text-align: center; margin: 5px; line-height: 1em;} +cell { border: solid 1px black; padding: 2px; box-align: center; text-indent: 0px; } + +image { text-align: center; } + +sect>p { text-indent: prop("prf.css.para.indent", normal); + margin-bottom: prop("prf.css.para.margin", normal); + line-height: prop("prf.css.line_spacing", normal); + white-space: normal; } diff --git a/ReadingSystems/PocketBook-iOS/settings-prf-dflt.ini b/ReadingSystems/PocketBook-iOS/settings-prf-dflt.ini new file mode 100644 index 0000000..f7c8076 --- /dev/null +++ b/ReadingSystems/PocketBook-iOS/settings-prf-dflt.ini @@ -0,0 +1,3 @@ +prf.css.para.align ENUM,EXPL "justify" +prf.css.line_spacing_preset ENUM,EXPL "unset" +prf.css.page.margin_preset ENUM,EXPL "normal"