Skip to content

Commit b6755e6

Browse files
committed
Add config files
1 parent 877aa6e commit b6755e6

File tree

3 files changed

+78
-0
lines changed

3 files changed

+78
-0
lines changed

content/Book.en.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
title: 'Metaprogramming',
3+
subtitle: 'Multi-paradigm approach in the Software Engineering',
4+
copyright: '© Timur Shemsedinov, Metarhia community',
5+
location: 'Kiev, 2015 — 2022',
6+
};

content/Book.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
module.exports = {
2+
sections: ['Abstract', 'Index', 'Introduction'],
3+
languages: {
4+
en: require('./Book.en.js'),
5+
ru: require('./Book.ru.js'),
6+
},
7+
title: {
8+
bold: true,
9+
fontSize: 28,
10+
alignment: 'center',
11+
margin: [40, 20, 40, 0],
12+
},
13+
subtitle: {
14+
bold: true,
15+
fontSize: 14,
16+
alignment: 'center',
17+
margin: [40, 20, 40, 0],
18+
},
19+
copyright: {
20+
fontSize: 14,
21+
alignment: 'center',
22+
margin: [40, 60, 40, 0],
23+
},
24+
location: {
25+
fontSize: 14,
26+
alignment: 'center',
27+
margin: [40, 40, 40, 0],
28+
},
29+
caption: {
30+
fontSize: 15,
31+
bold: true,
32+
margin: [30, 5, 30, 5],
33+
},
34+
index: {
35+
fontSize: 11,
36+
margin: [30, 2, 30, 2],
37+
preserveLeadingSpaces: true,
38+
},
39+
para: {
40+
fontSize: 11,
41+
alignment: 'justify',
42+
margin: [30, 5, 30, 5],
43+
},
44+
code: {
45+
border: false,
46+
layout: 'noBorders',
47+
fontSize: 11,
48+
color: '#555',
49+
fillColor: '#EEE',
50+
font: 'Mono',
51+
},
52+
fonts: {
53+
Roboto: {
54+
normal: 'fonts/Roboto-Regular.ttf',
55+
bold: 'fonts/Roboto-Medium.ttf',
56+
italics: 'fonts/Roboto-Italic.ttf',
57+
bolditalics: 'fonts/Roboto-MediumItalic.ttf',
58+
},
59+
Mono: {
60+
normal: 'fonts/RobotoMono-Regular.ttf',
61+
bold: 'fonts/RobotoMono-Medium.ttf',
62+
italics: 'fonts/RobotoMono-Italic.ttf',
63+
bolditalics: 'fonts/RobotoMono-MediumItalic.ttf',
64+
},
65+
},
66+
};

content/Book.ru.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
title: 'Метапрограммирование',
3+
subtitle: 'Мультипарадигменный подход в инженерии программного обеспечения',
4+
copyright: '© Тимур Шемсединов, Сообщество Метархия',
5+
location: 'Киев, 2015 — 2022',
6+
};

0 commit comments

Comments
 (0)