1 |
--- jbook document class.
|
|
2 |
-- @use classes.jbook
|
|
3 |
|
|
UNCOV
4
|
local tbook = require("classes.tbook") |
× |
5 |
|
|
UNCOV
6
|
local class = pl.class(tbook) |
× |
UNCOV
7
|
class._name = "jbook"
|
× |
8 |
|
|
UNCOV
9
|
function class:_init (options) |
× |
UNCOV
10
|
tbook._init(self, options) |
× |
UNCOV
11
|
SILE.languageSupport.loadLanguage("ja")
|
× |
UNCOV
12
|
SILE.settings:set("document.language", "ja", true) |
× |
UNCOV
13
|
SILE.settings:set("font.family", "Noto Sans CJK JP", true) |
× |
14 |
end
|
|
15 |
|
|
UNCOV
16
|
class.declareOptions = tbook.declareOptions |
× |
17 |
|
|
UNCOV
18
|
class.setOptions = tbook.setOptions |
× |
19 |
|
|
UNCOV
20
|
return class
|
× |