ReaderTypeset: tweak Style> menu logic and defaults
- Reword and document most menu items. - Handle internally two default styles, one applying only to FB2/FB2 books, and the other to all other formats. - Also don't reset the stylesheet to epub.css when toggling Embedded Styles to off.
This commit is contained in:
1 parent
93b3e3504d
commit
9467034f3f
2 files changed
+79
-17
No files matched your search
@@ -173,6 +173,7 @@ function CreDocument:init()
|
||||
self.default_css = "./data/epub.css"
|
||||
if file_type == "fb2" or file_type == "fb3" then
|
||||
self.default_css = "./data/fb2.css"
|
||||
self.is_fb2 = true -- FB2 won't look good with any html-oriented stylesheet
|
||||
end
|
||||
|
||||
-- This mode must be the same as the default one set as ReaderView.view_mode
|
||||
|
||||
Reference in new issue
Block a user