Fenris Wolf

Fenris Wolf commited on 2016-04-22 17:27:38
Zeige 35 geänderte Dateien mit 622 Einfügungen und 448 Löschungen.

... ...
@@ -1,2 +1,4 @@
1 1
 temp
2 2
 build
3
+trash
4
+
... ...
@@ -73,15 +73,19 @@ def main():
73 73
 	}
74 74
 	
75 75
 	texs = [
76
-		os.path.join(dirs["source"],"html.php","folksprak.html.php"),
77
-		os.path.join(dirs["source"],"html.php","meta.html.php"),
78
-		os.path.join(dirs["source"],"html.php","preface.html.php"),
79
-		os.path.join(dirs["source"],"html.php","grammar.html.php"),
80
-		os.path.join(dirs["source"],"html.php","phonology_and_orthography.html.php"),
81
-		os.path.join(dirs["source"],"html.php","pronouns.html.php"),
82
-		os.path.join(dirs["source"],"html.php","conjugation.html.php"),
83
-		os.path.join(dirs["source"],"html.php","declension.html.php"),
84
-		os.path.join(dirs["source"],"html.php","attributes.html.php"),
76
+		os.path.join(dirs["source"],"logic","server","settings.php"),
77
+		os.path.join(dirs["source"],"structure","draft.html.php"),
78
+		os.path.join(dirs["source"],"structure","meta.html.php"),
79
+		os.path.join(dirs["source"],"structure","preface.html.php"),
80
+		os.path.join(dirs["source"],"structure","grammar.html.php"),
81
+		os.path.join(dirs["source"],"structure","phonology_and_orthography.html.php"),
82
+		os.path.join(dirs["source"],"structure","pronouns.html.php"),
83
+		os.path.join(dirs["source"],"structure","personal_pronouns.html.php"),
84
+		os.path.join(dirs["source"],"structure","correlatives.html.php"),
85
+		os.path.join(dirs["source"],"structure","conjugation.html.php"),
86
+		os.path.join(dirs["source"],"structure","declension.html.php"),
87
+		os.path.join(dirs["source"],"structure","attributes.html.php"),
88
+		os.path.join(dirs["source"],"structure","vocabulary.html.php"),
85 89
 	]
86 90
 	
87 91
 	rules = []
... ...
@@ -89,8 +93,8 @@ def main():
89 93
 		class_rule(
90 94
 			"all",
91 95
 			[
92
-				os.path.join(dirs["build"],"folksprak.html"),
93
-				os.path.join(dirs["build"],"folksprak.css"),
96
+				os.path.join(dirs["build"],"draft.html"),
97
+				os.path.join(dirs["build"],"draft.css"),
94 98
 				os.path.join(dirs["build"],"logo.svg"),
95 99
 			],
96 100
 			[],
... ...
@@ -123,7 +127,7 @@ def main():
123 127
 	)
124 128
 	rules.append(
125 129
 		class_rule(
126
-			os.path.join(dirs["build"],"folksprak.html"),
130
+			os.path.join(dirs["build"],"draft.html"),
127 131
 			texs,
128 132
 			[
129 133
 				class_command_log({
... ...
@@ -133,8 +137,8 @@ def main():
133 137
 					"path": dirs["build"],
134 138
 				}),
135 139
 				class_command_php_compile({
136
-					"path-from": os.path.join(dirs["source"],"html.php","folksprak.html.php"),
137
-					"path-to": os.path.join(dirs["build"],"folksprak.html"),
140
+					"path-from": os.path.join(dirs["source"],"structure","draft.html.php"),
141
+					"path-to": os.path.join(dirs["build"],"draft.html"),
138 142
 				}),
139 143
 			]
140 144
 		)
... ...
@@ -159,8 +163,8 @@ def main():
159 163
 	)
160 164
 	rules.append(
161 165
 		class_rule(
162
-			os.path.join(dirs["build"],"folksprak.css"),
163
-			[os.path.join(dirs["source"],"less","common.less"), os.path.join(dirs["source"],"less","concrete.less")],
166
+			os.path.join(dirs["build"],"draft.css"),
167
+			[os.path.join(dirs["source"],"style","common.less"), os.path.join(dirs["source"],"style","concrete.less")],
164 168
 			[
165 169
 				class_command_log({
166 170
 					"message": "compiling style ..."
... ...
@@ -169,15 +173,15 @@ def main():
169 173
 					"path": os.path.join(dirs["temp"]),
170 174
 				}),
171 175
 				class_command_file_concat({
172
-					"paths-from": [os.path.join(dirs["source"],"less","common.less"), os.path.join(dirs["source"],"less","concrete.less")],
173
-					"path-to": os.path.join(dirs["temp"],"folksprak.less"),
176
+					"paths-from": [os.path.join(dirs["source"],"style","common.less"), os.path.join(dirs["source"],"style","concrete.less")],
177
+					"path-to": os.path.join(dirs["temp"],"draft.less"),
174 178
 				}),
175 179
 				class_command_directory_create({
176 180
 					"path": os.path.join(dirs["build"]),
177 181
 				}),
178 182
 				class_command_lessc_compile({
179
-					"path-from": os.path.join(dirs["temp"],"folksprak.less"),
180
-					"path-to": os.path.join(dirs["build"],"folksprak.css"),
183
+					"path-from": os.path.join(dirs["temp"],"draft.less"),
184
+					"path-to": os.path.join(dirs["build"],"draft.css"),
181 185
 				}),
182 186
 			]
183 187
 		)
... ...
@@ -1,4 +1,4 @@
1
-all: build/folksprak.html build/folksprak.css build/logo.svg
1
+all: build/draft.html build/draft.css build/logo.svg
2 2
 .PHONY: all
3 3
 
4 4
 clean: 
... ...
@@ -9,20 +9,20 @@ clear: clean
9 9
 	@ rm --recursive --force build
10 10
 .PHONY: clear
11 11
 
12
-build/folksprak.html: source/html.php/folksprak.html.php source/html.php/meta.html.php source/html.php/preface.html.php source/html.php/grammar.html.php source/html.php/phonology_and_orthography.html.php source/html.php/pronouns.html.php source/html.php/conjugation.html.php source/html.php/declension.html.php source/html.php/attributes.html.php
12
+build/draft.html: source/logic/server/settings.php source/structure/draft.html.php source/structure/meta.html.php source/structure/preface.html.php source/structure/grammar.html.php source/structure/phonology_and_orthography.html.php source/structure/pronouns.html.php source/structure/personal_pronouns.html.php source/structure/correlatives.html.php source/structure/conjugation.html.php source/structure/declension.html.php source/structure/attributes.html.php source/structure/vocabulary.html.php
13 13
 	@ echo -e '-- compiling document ...'
14 14
 	@ mkdir --parents build
15
-	@ php source/html.php/folksprak.html.php > build/folksprak.html
15
+	@ php source/structure/draft.html.php > build/draft.html
16 16
 
17 17
 build/logo.svg: source/media/logo.svg
18 18
 	@ echo -e '-- copying logo ...'
19 19
 	@ mkdir --parents build
20 20
 	@ cp --recursive source/media/logo.svg build/logo.svg
21 21
 
22
-build/folksprak.css: source/less/common.less source/less/concrete.less
22
+build/draft.css: source/style/common.less source/style/concrete.less
23 23
 	@ echo -e '-- compiling style ...'
24 24
 	@ mkdir --parents temp
25
-	@ cat source/less/common.less source/less/concrete.less > temp/folksprak.less
25
+	@ cat source/style/common.less source/style/concrete.less > temp/draft.less
26 26
 	@ mkdir --parents build
27
-	@ lessc temp/folksprak.less > build/folksprak.css
27
+	@ lessc temp/draft.less > build/draft.css
28 28
 
... ...
@@ -1,27 +0,0 @@
1
-<!DOCTYPE HTML>
2
-<html>
3
-	<head>
4
-		<meta charset="utf-8"/>
5
-		<?php include("source/html.php/meta.html.php"); ?>
6
-		<link rel="stylesheet" type="text/css" href="folksprak.css"/>
7
-	</head>
8
-	<body>
9
-		<div id="mid">
10
-			<div id="title">
11
-				<header>Folksprak Draft</header>
12
-				<div id="logo">
13
-					<img src="logo.svg" alt="[logo]"/>
14
-				</div>
15
-			</div>
16
-			<!--
17
-			titlepage
18
-			  -->
19
-			<?php include("source/html.php/preface.html.php"); ?>
20
-			<!--
21
-			toc
22
-			  -->
23
-			<?php include("source/html.php/grammar.html.php"); ?>
24
-		</div>
25
-	</body>
26
-</html>
27
-
... ...
@@ -1,9 +0,0 @@
1
-<section class="chapter" id="grammar">
2
-	<header>Grammar</header>
3
-	<?php include("source/html.php/phonology_and_orthography.html.php"); ?>
4
-	<?php include("source/html.php/pronouns.html.php"); ?>
5
-	<?php include("source/html.php/conjugation.html.php"); ?>
6
-	<?php include("source/html.php/declension.html.php"); ?>
7
-	<?php include("source/html.php/attributes.html.php"); ?>
8
-</section>
9
-
... ...
@@ -1,138 +0,0 @@
1
-<section class="section" id="grammar/phonology_and_orthography">
2
-	<header>Phonology and Orthography</header>
3
-	<p>Folksprak uses the following characters as letters:</pa>
4
-	<table>
5
-		<thead>
6
-			<tr>
7
-				<th>IPA-sound</th>
8
-				<th>Latin letter Representation</th>
9
-				<th>Runic Representation</th>
10
-			</tr>
11
-		</thead>
12
-		<tbody>
13
-			<tr class="splitter"><td></td><td></td><td></td></tr>
14
-			<tr>
15
-				<td><span class="ipa">l</span></td>
16
-				<td><span class="word_fs">L</span>/<span class="word_fs">l</span></td>
17
-				<td><span class="word_fs">ᛚ</span></td>
18
-			</tr>
19
-			<tr class="splitter"><td></td><td></td><td></td></tr>
20
-			<tr>
21
-				<td><span class="ipa">m</span></td>
22
-				<td><span class="word_fs">M</span>/<span class="word_fs">m</span></td>
23
-				<td><span class="word_fs">ᛗ</span></td>
24
-			</tr>
25
-			<tr>
26
-				<td><span class="ipa">n</span></td>
27
-				<td><span class="word_fs">N</span>/<span class="word_fs">n</span></td>
28
-				<td><span class="word_fs">ᚾ</span></td>
29
-			</tr>
30
-			<tr>
31
-				<td><span class="ipa">ŋ</span></td>
32
-				<td><span class="word_fs">Ng</span>/<span class="word_fs">ng</span></td>
33
-				<td><span class="word_fs">ᛜ</span></td>
34
-			</tr>
35
-			<tr class="splitter"><td></td><td></td><td></td></tr>
36
-			<tr>
37
-				<td><span class="ipa">g</span></td>
38
-				<td><span class="word_fs">G</span>/<span class="word_fs">g</span></td>
39
-				<td><span class="word_fs">ᚷ</span></td>
40
-			</tr>
41
-			<tr>
42
-				<td><span class="ipa">k</span></td>
43
-				<td><span class="word_fs">K</span>/<span class="word_fs">k</span></td>
44
-				<td><span class="word_fs">ᚲ</span></td>
45
-			</tr>
46
-			<tr>
47
-				<td><span class="ipa">b</span></td>
48
-				<td><span class="word_fs">B</span>/<span class="word_fs">b</span></td>
49
-				<td><span class="word_fs">ᛒ</span></td>
50
-			</tr>
51
-			<tr>
52
-				<td><span class="ipa">p</span></td>
53
-				<td><span class="word_fs">P</span>/<span class="word_fs">p</span></td>
54
-				<td><span class="word_fs">ᛈ</span></td>
55
-			</tr>
56
-			<tr>
57
-				<td><span class="ipa">d</span></td>
58
-				<td><span class="word_fs">D</span>/<span class="word_fs">d</span></td>
59
-				<td><span class="word_fs">ᛞ</span></td>
60
-			</tr>
61
-			<tr>
62
-				<td><span class="ipa">t</span></td>
63
-				<td><span class="word_fs">T</span>/<span class="word_fs">t</span></td>
64
-				<td><span class="word_fs">ᛏ</span></td>
65
-			</tr>
66
-			<tr class="splitter"><td></td><td></td><td></td></tr>
67
-			<tr>
68
-				<td><span class="ipa">v</span></td>
69
-				<td><span class="word_fs">V</span>/<span class="word_fs">v</span></td>
70
-				<td><span class="word_fs">ᚹ</span></td>
71
-			</tr>
72
-			<tr>
73
-				<td><span class="ipa">f</span></td>
74
-				<td><span class="word_fs">F</span>/<span class="word_fs">f</span></td>
75
-				<td><span class="word_fs">ᚠ</span></td>
76
-			</tr>
77
-			<tr>
78
-				<td><span class="ipa">s</span></td>
79
-				<td><span class="word_fs">S</span>/<span class="word_fs">s</span></td>
80
-				<td><span class="word_fs">ᛋ</span></td>
81
-			</tr>
82
-			<tr class="splitter"><td></td><td></td><td></td></tr>
83
-			<tr>
84
-				<td><span class="ipa">h</span></td>
85
-				<td><span class="word_fs">H</span>/<span class="word_fs">h</span></td>
86
-				<td><span class="word_fs">ᚺ</span></td>
87
-			</tr>
88
-			<tr>
89
-				<td><span class="ipa">ɾ</span></td>
90
-				<td><span class="word_fs">R</span>/<span class="word_fs">r</span></td>
91
-				<td><span class="word_fs">ᚱ</span></td>
92
-			</tr>
93
-			<tr class="splitter"><td></td><td></td><td></td></tr>
94
-			<tr>
95
-				<td><span class="ipa">j</span></td>
96
-				<td><span class="word_fs">J</span>/<span class="word_fs">j</span></td>
97
-				<td><span class="word_fs">ᛃ</span></td>
98
-			</tr>
99
-			<tr class="splitter"><td></td><td></td><td></td></tr>
100
-			<tr>
101
-				<td><span class="ipa">i</span></td>
102
-				<td><span class="word_fs">I</span>/<span class="word_fs">i</span></td>
103
-				<td><span class="word_fs">ᛁ</span></td>
104
-			</tr>
105
-			<tr>
106
-				<td><span class="ipa">e</span></td>
107
-				<td><span class="word_fs">E</span>/<span class="word_fs">e</span></td>
108
-				<td><span class="word_fs">ᛖ</span></td>
109
-			</tr>
110
-			<tr>
111
-				<td><span class="ipa">a</span></td>
112
-				<td><span class="word_fs">A</span>/<span class="word_fs">a</span></td>
113
-				<td><span class="word_fs">ᚨ</span></td>
114
-			</tr>
115
-			<tr>
116
-				<td><span class="ipa">o</span></td>
117
-				<td><span class="word_fs">O</span>/<span class="word_fs">o</span></td>
118
-				<td><span class="word_fs">ᛟ</span></td>
119
-			</tr>
120
-			<tr>
121
-				<td><span class="ipa">u</span></td>
122
-				<td><span class="word_fs">U</span>/<span class="word_fs">u</span></td>
123
-				<td><span class="word_fs">ᚢ</span></td>
124
-			</tr>
125
-			<tr>
126
-				<td><span class="ipa">ø</span></td>
127
-				<td><span class="word_fs">Oy</span>/<span class="word_fs">oy</span></td>
128
-				<td><span class="word_fs">ᛟᛇ</span></td>
129
-			</tr>
130
-			<tr>
131
-				<td><span class="ipa">y</span></td>
132
-				<td><span class="word_fs">Uy</span>/<span class="word_fs">uy</span></td>
133
-				<td><span class="word_fs">ᚢᛇ</span></td>
134
-			</tr>
135
-		</tbody>
136
-	</table>
137
-</section>
138
-
... ...
@@ -1,10 +0,0 @@
1
-<section class="pseudo section" id="preface">
2
-	<header>Preface</header>
3
-	<div class="pseudo subsection" id="prefac/what_is_it_about">
4
-		<header>What is it about?</header>
5
-		<p>Folksprak is the name of a project that aims to construct an inter-Germanic zonal auxiliary language, which means a language that can be easily understood by any speaker of a Germanic language (a group numbering over 465 million native speakers with an additional 300 to 900 million speaking English as a second language) without ever having learned it.</p>
6
-		<p>Folksprak is not meant to be designed by any one individual, but rather a collective work created by all interested parties; so you're welcome to participate.</p>
7
-		<p>The content of this document is the result of a collaboration between people from different parts on earth, connected by the internet. Its not a final specification for Folksprak, but a draft as a base to work on. Please let us know what you think about it and how you would improve it! You can find us in the IRC-Channel <code>##folksprak</code> on <a href="irc://irc.freenode.net">irc.freenode.net</a>. You can also write an E-Mail to <a href="mailto:admin@folksprak.org">admin@folksprak.org</a>.</p>
8
-	</div>
9
-</section>
10
-
... ...
@@ -1,77 +0,0 @@
1
-<section class="section" id="grammar/pronouns">
2
-	<header>Pronouns</header>
3
-	<section class="subsection" id="grammar/pronouns/personal_pronouns">
4
-		<header>Personal Pronouns</header>
5
-		<table>
6
-			<thead>
7
-			</thead>
8
-				<tr>
9
-					<th>Folksprak</th>
10
-					<th>Description</th>
11
-					<th>English</th>
12
-				</tr>
13
-			<tbody>
14
-				<tr>
15
-					<td><span class="word_fs">ek</span></td>
16
-					<td>1st person singular</td>
17
-					<td><span class="word_en">i</span></td>
18
-				</tr>
19
-				<tr>
20
-					<td><span class="word_fs">du</span></td>
21
-					<td>2nd person singular</td>
22
-					<td><span class="word_en">you</span></td>
23
-				</tr>
24
-				<tr>
25
-					<td><span class="word_fs">han</span></td>
26
-					<td>3rd person singular common</td>
27
-					<td>--</td>
28
-				</tr>
29
-				<tr>
30
-					<td><span class="word_fs">hin</span></td>
31
-					<td>3rd person singular masculine</td>
32
-					<td><span class="word_en">he</span></td>
33
-				</tr>
34
-				<tr>
35
-					<td><span class="word_fs">hun</span></td>
36
-					<td>3rd person singular feminine</td>
37
-					<td><span class="word_en">she</span></td>
38
-				</tr>
39
-				<tr>
40
-					<td><span class="word_fs">het</span></td>
41
-					<td>3rd person singular neuter</td>
42
-					<td><span class="word_en">it</span></td>
43
-				</tr>
44
-				<tr>
45
-					<td><span class="word_fs">man</span></td>
46
-					<td>impersonal singular</td>
47
-					<td><span class="word_en">one</span>,<span class="word_en">you</span></td>
48
-				</tr>
49
-				<tr>
50
-					<td><span class="word_fs">vi</span></td>
51
-					<td>1st person plural</td>
52
-					<td><span class="word_en">we</span></td>
53
-				</tr>
54
-				<tr>
55
-					<td><span class="word_fs">je</span></td>
56
-					<td>2nd person plural</td>
57
-					<td><span class="word_en">you (all)</span></td>
58
-				</tr>
59
-				<tr>
60
-					<td><span class="word_fs">di</span></td>
61
-					<td>3rd person plural</td>
62
-					<td><span class="word_en">they</span></td>
63
-				</tr>
64
-				<tr>
65
-					<td><span class="word_fs">man</span></td>
66
-					<td>impersonal plural</td>
67
-					<td><span class="word_en">they</span>,<span class="word_en">you</span></td>
68
-				</tr>
69
-			</tbody>
70
-		</table>
71
-	</section>
72
-	<section class="subsection" id="grammar/pronouns/correlatives">
73
-		<header>Correlatives</header>
74
-		<span class="todo">all</span>
75
-	</section>
76
-</section>
77
-
... ...
@@ -0,0 +1,5 @@
1
+<?php
2
+	$config = [
3
+		"target" => "en",
4
+	];
5
+?>
... ...
@@ -9,7 +9,7 @@
9 9
 	<section class="subsection" id="conjugation/personae_numeri">
10 10
 		<header>Personae and Numeri</header>
11 11
 		<p>There is no change in the verb for conjugating according to person and count</p>
12
-		<p>Example: <span class="word_fs">ek skriv</span> ~ <span class="word_en">i write</span>, <span class="word_fs">du skriv</span> ~ <span class="word_en">you write</span>, <span class="word_fs">hi skriv</span> ~ <span class="word_en">he writes</span></p>
12
+		<p>Example: <span class="word_fs">ek skriv</span> ~ <span class="word_en">i write</span>, <span class="word_fs">du skriv</span> ~ <span class="word_en">you write</span>, <span class="word_fs">hin skriv</span> ~ <span class="word_en">he writes</span></p>
13 13
 	</section>
14 14
 	<section class="subsection" id="conjugation/tempora">
15 15
 		<header>Tempora</header>
... ...
@@ -0,0 +1,5 @@
1
+<section class="subsection" id="grammar/pronouns/correlatives">
2
+	<header>Correlatives</header>
3
+	<span class="todo">all</span>
4
+</section>
5
+
... ...
@@ -0,0 +1,29 @@
1
+<?php include("source/logic/server/settings.php"); ?>
2
+<!DOCTYPE HTML>
3
+<html>
4
+	<head>
5
+		<meta charset="utf-8"/>
6
+		<?php include("source/structure/meta.html.php"); ?>
7
+		<link rel="stylesheet" type="text/css" href="draft.css"/>
8
+	</head>
9
+	<body>
10
+		<div id="mid">
11
+			<div id="title">
12
+				<header>Folksprak Draft</header>
13
+				<div id="logo">
14
+					<img src="logo.svg" alt="[logo]"/>
15
+				</div>
16
+			</div>
17
+			<!--
18
+			titlepage
19
+			  -->
20
+			<?php include("source/structure/preface.html.php"); ?>
21
+			<!--
22
+			toc
23
+			  -->
24
+			<?php include("source/structure/grammar.html.php"); ?>
25
+			<?php include("source/structure/vocabulary.html.php"); ?>
26
+		</div>
27
+	</body>
28
+</html>
29
+
... ...
@@ -0,0 +1,9 @@
1
+<section class="chapter" id="grammar">
2
+	<header>Grammar</header>
3
+	<?php include("source/structure/phonology_and_orthography.html.php"); ?>
4
+	<?php include("source/structure/pronouns.html.php"); ?>
5
+	<?php include("source/structure/conjugation.html.php"); ?>
6
+	<?php include("source/structure/declension.html.php"); ?>
7
+	<?php include("source/structure/attributes.html.php"); ?>
8
+</section>
9
+
... ...
@@ -0,0 +1,210 @@
1
+<?php
2
+$data = [
3
+	[
4
+		"numerus" => 1,
5
+		"persona" => 0,
6
+		"genus" => 0,
7
+		"fs" => ["man"],
8
+		"en" => ["one","you"],
9
+	],
10
+	[
11
+		"numerus" => 1,
12
+		"persona" => 1,
13
+		"genus" => 0,
14
+		"fs" => ["ek"],
15
+		"en" => ["i"],
16
+	],
17
+	[
18
+		"numerus" => 1,
19
+		"persona" => 2,
20
+		"genus" => 0,
21
+		"fs" => ["du"],
22
+		"en" => ["you","thou"],
23
+	],
24
+	[
25
+		"numerus" => 1,
26
+		"persona" => 3,
27
+		"genus" => 0,
28
+		"fs" => ["han"],
29
+		"en" => [],
30
+	],
31
+	[
32
+		"numerus" => 1,
33
+		"persona" => 3,
34
+		"genus" => 1,
35
+		"fs" => ["hin"],
36
+		"en" => ["hi"],
37
+	],
38
+	[
39
+		"numerus" => 1,
40
+		"persona" => 3,
41
+		"genus" => 2,
42
+		"fs" => ["hun"],
43
+		"en" => ["she"],
44
+	],
45
+	[
46
+		"numerus" => 1,
47
+		"persona" => 3,
48
+		"genus" => 3,
49
+		"fs" => ["het"],
50
+		"en" => ["it"],
51
+	],
52
+	[
53
+		"numerus" => 2,
54
+		"persona" => 0,
55
+		"genus" => 0,
56
+		"fs" => ["man"],
57
+		"en" => ["they","you"],
58
+	],
59
+	[
60
+		"numerus" => 2,
61
+		"persona" => 1,
62
+		"genus" => 0,
63
+		"fs" => ["vi"],
64
+		"en" => ["we"],
65
+	],
66
+	[
67
+		"numerus" => 2,
68
+		"persona" => 2,
69
+		"genus" => 0,
70
+		"fs" => ["je"],
71
+		"en" => ["you (all)"],
72
+	],
73
+	[
74
+		"numerus" => 2,
75
+		"persona" => 3,
76
+		"genus" => 0,
77
+		"fs" => ["di"],
78
+		"en" => ["they"],
79
+	],
80
+];
81
+
82
+function convert_numerus($numerus)
83
+{
84
+	switch ($numerus)
85
+	{
86
+		case 0:
87
+		{
88
+			return NULL;
89
+			break;
90
+		}
91
+		case 1:
92
+		{
93
+			return "singular";
94
+			break;
95
+		}
96
+		case 2:
97
+		{
98
+			return "plural";
99
+			break;
100
+		}
101
+		default:
102
+		{
103
+			throw ("invalid");
104
+			break;
105
+		}
106
+	}
107
+}
108
+
109
+function convert_persona($persona)
110
+{
111
+	switch ($persona)
112
+	{
113
+		case 0:
114
+		{
115
+			return "impersonal";
116
+			break;
117
+		}
118
+		case 1:
119
+		{
120
+			return "1st person";
121
+			break;
122
+		}
123
+		case 2:
124
+		{
125
+			return "2nd person";
126
+			break;
127
+		}
128
+		case 3:
129
+		{
130
+			return "3rd person";
131
+			break;
132
+		}
133
+		default:
134
+		{
135
+			throw ("invalid");
136
+			break;
137
+		}
138
+	}
139
+}
140
+
141
+function convert_genus($genus)
142
+{
143
+	switch ($genus)
144
+	{
145
+		case 0:
146
+		{
147
+			return "common";
148
+			break;
149
+		}
150
+		case 1:
151
+		{
152
+			return "masculine";
153
+			break;
154
+		}
155
+		case 2:
156
+		{
157
+			return "feminine";
158
+			break;
159
+		}
160
+		case 3:
161
+		{
162
+			return "neuter";
163
+			break;
164
+		}
165
+		default:
166
+		{
167
+			throw ("invalid");
168
+			break;
169
+		}
170
+	}
171
+}
172
+
173
+ ?>
174
+<section class="subsection" id="grammar/pronouns/personal_pronouns">
175
+	<header>Personal Pronouns</header>
176
+	<table>
177
+		<thead>
178
+			<tr>
179
+				<th>Case</th>
180
+				<th>Folksprak</th>
181
+				<th>English</th>
182
+			</tr>
183
+		</thead>
184
+		<tbody>
185
+<?php
186
+	foreach ($data as $entry)
187
+	{
188
+		$entry_desc = implode(
189
+			" / ",
190
+			[
191
+				convert_persona($entry["persona"]),
192
+				convert_numerus($entry["numerus"]),
193
+				convert_genus($entry["genus"]),
194
+			]
195
+		);
196
+		$entry_fs = implode(", ", array_map(function ($word) {return ('<span class="word_fs">' . $word . '</span>');}, $entry["fs"]));
197
+		$entry_en = implode(", ", array_map(function ($word) {return ('<span class="word_en">' . $word . '</span>');}, $entry["en"]));
198
+ ?>
199
+			<tr>
200
+				<td><?php echo($entry_desc); ?></td>
201
+				<td><?php echo($entry_fs); ?></td>
202
+				<td><?php echo($entry_en); ?></td>
203
+			</tr>
204
+<?php
205
+	}
206
+ ?>
207
+		</tbody>
208
+	</table>
209
+</section>
210
+
... ...
@@ -0,0 +1,303 @@
1
+<?php
2
+	$groups = [
3
+		[
4
+			"name" => "Lateral Approximants",
5
+			"members" => [
6
+				[
7
+					"ipa" => "l",
8
+					"latin" => "L/l",
9
+					"runic" => "ᛚ",
10
+					"examples" => [
11
+						"fs" => "_l_eva",
12
+						"en" => "_l_ive",
13
+					],
14
+				]
15
+			],
16
+		],
17
+		[
18
+			"name" => "Nasals",
19
+			"members" => [
20
+				[
21
+					"ipa" => "m",
22
+					"latin" => "M/m",
23
+					"runic" => "ᛗ",
24
+					"examples" => [
25
+						"fs" => "_m_an",
26
+						"en" => "_m_an",
27
+					],
28
+				],
29
+				[
30
+					"ipa" => "n",
31
+					"latin" => "N/n",
32
+					"runic" => "ᚾ",
33
+					"examples" => [
34
+						"fs" => "_n_it",
35
+						"en" => "_n_ot",
36
+					],
37
+				],
38
+				[
39
+					"ipa" => "ŋ",
40
+					"latin" => "Ng/ng",
41
+					"runic" => "ᛜ",
42
+					"examples" => [
43
+						"fs" => "ri_ng_",
44
+						"en" => "ri_ng_",
45
+					],
46
+				],
47
+			],
48
+		],
49
+		[
50
+			"name" => "Plosives",
51
+			"members" => [
52
+				[
53
+					"ipa" => "g",
54
+					"latin" => "G/g",
55
+					"runic" => "ᚷ",
56
+					"examples" => [
57
+						"fs" => "_g_oa",
58
+						"en" => "_g_o",
59
+					],
60
+				],
61
+				[
62
+					"ipa" => "k",
63
+					"latin" => "K/k",
64
+					"runic" => "ᚲ",
65
+					"examples" => [
66
+						"fs" => "bu_k_",
67
+						"en" => "boo_k_",
68
+					],
69
+				],
70
+				[
71
+					"ipa" => "b",
72
+					"latin" => "B/b",
73
+					"runic" => "ᛒ",
74
+					"examples" => [
75
+						"fs" => "_b_ua",
76
+						"en" => "_b_uild",
77
+					],
78
+				],
79
+				[
80
+					"ipa" => "p",
81
+					"latin" => "P/p",
82
+					"runic" => "ᛈ",
83
+					"examples" => [
84
+						"fs" => "di_p_",
85
+						"en" => "dee_p_",
86
+					],
87
+				],
88
+				[
89
+					"ipa" => "d",
90
+					"latin" => "D/d",
91
+					"runic" => "ᛞ",
92
+					"examples" => [
93
+						"fs" => "gu_d_",
94
+						"en" => "goo_d_",
95
+					],
96
+				],
97
+				[
98
+					"ipa" => "t",
99
+					"latin" => "T/t",
100
+					"runic" => "ᛏ",
101
+					"examples" => [
102
+						"fs" => "_t_id",
103
+						"en" => "_t_ime",
104
+					],
105
+				],
106
+			],
107
+		],
108
+		[
109
+			"name" => "Fricatives",
110
+			"members" => [
111
+				[
112
+					"ipa" => "v",
113
+					"latin" => "V/v",
114
+					"runic" => "ᚹ",
115
+					"examples" => [
116
+						"fs" => "gi_v_a",
117
+						"en" => "gi_v_e",
118
+					],
119
+				],
120
+				[
121
+					"ipa" => "f",
122
+					"latin" => "F/f",
123
+					"runic" => "ᚠ",
124
+					"examples" => [
125
+						"fs" => "_f_rend",
126
+						"en" => "_f_riend",
127
+					],
128
+				],
129
+				[
130
+					"ipa" => "s",
131
+					"latin" => "S/s",
132
+					"runic" => "ᛋ",
133
+					"examples" => [
134
+						"fs" => "_s_mal",
135
+						"en" => "_s_mall",
136
+					],
137
+				],
138
+				[
139
+					"ipa" => "h",
140
+					"latin" => "H/h",
141
+					"runic" => "ᚺ",
142
+					"examples" => [
143
+						"fs" => "_h_us",
144
+						"en" => "_h_ouse",
145
+					],
146
+				],
147
+			],
148
+		],
149
+		[
150
+			"name" => "Vibrants/Taps/Flaps",
151
+			"members" => [
152
+				[
153
+					"ipa" => "ɾ",
154
+					"latin" => "R/r",
155
+					"runic" => "ᚱ",
156
+					"examples" => [
157
+						"fs" => "_r_od",
158
+						"en" => NULL,
159
+					],
160
+				],
161
+			],
162
+		],
163
+		[
164
+			"name" => "Halfvowels",
165
+			"members" => [
166
+				[
167
+					"ipa" => "j",
168
+					"latin" => "J/j",
169
+					"runic" => "ᛃ",
170
+					"examples" => [
171
+						"fs" => "_j_ar",
172
+						"en" => "_y_ear",
173
+					],
174
+				],
175
+			],
176
+		],
177
+		[
178
+			"name" => "Vowels",
179
+			"members" => [
180
+				[
181
+					"ipa" => "i",
182
+					"latin" => "I/i",
183
+					"runic" => "ᛁ",
184
+					"examples" => [
185
+						"fs" => "gr_i_d",
186
+						"en" => "gr_ee_dy",
187
+					],
188
+				],
189
+				[
190
+					"ipa" => "e",
191
+					"latin" => "E/e",
192
+					"runic" => "ᛖ",
193
+					"examples" => [
194
+						"fs" => "inst_e_d",
195
+						"en" => "~ inst_ea_d",
196
+					],
197
+				],
198
+				[
199
+					"ipa" => "a",
200
+					"latin" => "A/a",
201
+					"runic" => "ᚨ",
202
+					"examples" => [
203
+						"fs" => "f_a_der",
204
+						"en" => "~ f_a_ther",
205
+					],
206
+				],
207
+				[
208
+					"ipa" => "o",
209
+					"latin" => "O/o",
210
+					"runic" => "ᛟ",
211
+					"examples" => [
212
+						"fs" => "_o_ld",
213
+						"en" => "~ _o_ld",
214
+					],
215
+				],
216
+				[
217
+					"ipa" => "u",
218
+					"latin" => "U/u",
219
+					"runic" => "ᚢ",
220
+					"examples" => [
221
+						"fs" => "bl_u_",
222
+						"en" => "bl_ue_",
223
+					],
224
+				],
225
+				[
226
+					"ipa" => "ø",
227
+					"latin" => "Oy/oy",
228
+					"runic" => "ᛟᛇ",
229
+					"examples" => [
230
+						"fs" => "sk_oy_n",
231
+						"en" => NULL,
232
+					],
233
+				],
234
+				[
235
+					"ipa" => "y",
236
+					"latin" => "Uy/uy",
237
+					"runic" => "ᚢᛇ",
238
+					"examples" => [
239
+						"fs" => "s_uy_d",
240
+						"en" => NULL,
241
+					],
242
+				],
243
+			],
244
+		],
245
+	];
246
+ ?>
247
+<section class="section" id="grammar/phonology_and_orthography">
248
+	<header>Phonology and Orthography</header>
249
+	<!--
250
+	<p>Folksprak uses the following characters as letters:</pa>
251
+	  -->
252
+	<table>
253
+		<thead>
254
+			<tr>
255
+				<th>Group</th>
256
+				<th>IPA-sound</th>
257
+				<th>Latin letter Representation</th>
258
+				<th>Runic Representation</th>
259
+				<th>Folksprak Example</th>
260
+				<th>English Example</th>
261
+			</tr>
262
+		</thead>
263
+		<tbody>
264
+<?php
265
+	function format($string)
266
+	{
267
+		return (($string == NULL) ? "--" : preg_replace("/_([^_]*)_/", "<u>$1</u>", $string));
268
+	}
269
+	
270
+	foreach ($groups as $group)
271
+	{
272
+ ?>
273
+<?php
274
+		$first = true;
275
+		foreach ($group["members"] as $member)
276
+		{
277
+ ?>
278
+		<tr>
279
+<?php
280
+			if ($first)
281
+			{
282
+ ?>
283
+				<td rowspan="<?php echo(sizeof($group["members"])); ?>"><?php echo($group["name"]); ?></td>
284
+<?php
285
+				$first = false;
286
+			}
287
+ ?>
288
+			<td><span class="ipa"><?php echo($member["ipa"]); ?></span></td>
289
+			<td><span class="word_fs"><?php echo($member["latin"]); ?></span></td>
290
+			<td><span class="word_fs"><?php echo($member["runic"]); ?></span></td>
291
+			<td><span class="word_fs"><?php echo(format($member["examples"]["fs"])); ?></span></td>
292
+			<td><span class="word_en"><?php echo(format($member["examples"]["en"])); ?></span></td>
293
+		</tr>
294
+<?php
295
+		}
296
+ ?>
297
+<?php
298
+	}
299
+ ?>
300
+		</tbody>
301
+	</table>
302
+</section>
303
+
... ...
@@ -0,0 +1,12 @@
1
+<section class="chapter pseudo" id="intro">
2
+	<section class="section pseudo" id="intro/preface">
3
+		<header>Preface</header>
4
+		<section class="subsection pseudo" id="intro/preface/what_is_it_about">
5
+			<header>What is it about?</header>
6
+			<p>Folksprak is the name of a project that aims to construct an inter-Germanic zonal auxiliary language, which means a language that can be easily understood by any speaker of a Germanic language (a group numbering over 465 million native speakers with an additional 300 to 900 million speaking English as a second language) without ever having learned it.</p>
7
+			<p>Folksprak is not meant to be designed by any one individual, but rather a collective work created by all interested parties; so you're welcome to participate.</p>
8
+			<p>The content of this document is the result of a collaboration between people from different parts on earth, connected by the internet. Its not a final specification for Folksprak, but a draft as a base to work on. Please let us know what you think about it and how you would improve it! You can find us in the IRC-Channel <code>##folksprak</code> on <a href="irc://irc.freenode.net">irc.freenode.net</a>. You can also write an E-Mail to <a href="mailto:admin@folksprak.org">admin@folksprak.org</a>.</p>
9
+		</section>
10
+	</section>
11
+</section>
12
+
... ...
@@ -0,0 +1,6 @@
1
+<section class="section" id="grammar/pronouns">
2
+	<header>Pronouns</header>
3
+	<?php include("source/structure/personal_pronouns.html.php"); ?>
4
+	<?php include("source/structure/correlatives.html.php"); ?>
5
+</section>
6
+
... ...
@@ -0,0 +1,5 @@
1
+<section class="cheptar" id="vocabulary">
2
+	<header>Vocabulary</header>
3
+	See <a href="http://folksprak.org/?target=dictionary">Munin-Dictionary</a>
4
+</section>
5
+
... ...
@@ -51,7 +51,7 @@ section
51 51
 			margin-bottom: 6px;
52 52
 		}
53 53
 		
54
-		& > *
54
+		& > *:not(:first-child)
55 55
 		{
56 56
 			margin-left: 12px;
57 57
 		}
... ...
@@ -67,9 +67,9 @@ section
67 67
 			margin-bottom: 4px;
68 68
 		}
69 69
 		
70
-		& > *
70
+		& > *:not(:first-child)
71 71
 		{
72
-			margin-left: 8px;
72
+			margin-left: 12px;
73 73
 		}
74 74
 	}
75 75
 	
... ...
@@ -84,9 +84,9 @@ section
84 84
 			margin-bottom: 2px;
85 85
 		}
86 86
 		
87
-		& > *
87
+		& > *:not(:first-child)
88 88
 		{
89
-			margin-left: 4px;
89
+			margin-left: 12px;
90 90
 		}
91 91
 	}
92 92
 	
... ...
@@ -1,6 +0,0 @@
1
-\begin{section}{Attributes}
2
-	
3
-	\todo{all}
4
-	
5
-\end{section}
6
-
... ...
@@ -1,35 +0,0 @@
1
-\newcommand{\ipa}[1]
2
-{
3
-	[#1]
4
-}
5
-
6
-\newcommand{\wordfs}[1]
7
-{
8
-	\textbf{#1}
9
-}
10
-
11
-\newcommand{\url}[1]
12
-{
13
-	\texttt{#1}
14
-}
15
-
16
-\newcommand{\email}[1]
17
-{
18
-	\textbf{\texttt{#1}}
19
-}
20
-
21
-\newcommand{\pseudosection}[1]
22
-{
23
-	\section*{#1}
24
-}
25
-
26
-\newcommand{\pseudosubsection}[1]
27
-{
28
-	\subsection*{#1}
29
-}
30
-
31
-\newcommand{\todo}[1]
32
-{
33
-	\colorbox{red}{[ToDo] #1}
34
-}
35
-
... ...
@@ -1,6 +0,0 @@
1
-\begin{section}{Conjugation}
2
-	
3
-	\todo{all}
4
-	
5
-\end{section}
6
-
... ...
@@ -1,6 +0,0 @@
1
-\begin{section}{Declension}
2
-	
3
-	\todo{all}
4
-	
5
-\end{section}
6
-
... ...
@@ -1,23 +0,0 @@
1
-\documentclass{report}
2
-
3
-\input{source/tex/packages}
4
-\input{source/tex/settings}
5
-\input{source/tex/meta}
6
-\input{source/tex/commands}
7
-
8
-\begin{document}
9
-	
10
-	\newpage \maketitle
11
-	% \vspace{20mm}
12
-	\begin{center}
13
-		\includegraphics[width=0.6\textwidth]{temp/media/logo}
14
-	\end{center}
15
-	
16
-	\newpage \input{source/tex/preface}
17
-	
18
-	\newpage \tableofcontents
19
-	
20
-	\newpage \input{source/tex/grammar}
21
-	
22
-\end{document}
23
-
... ...
@@ -1,9 +0,0 @@
1
-\begin{chapter}{Grammar}
2
-	
3
-	\input{source/tex/phonology_and_orthography}
4
-	\input{source/tex/conjugation}
5
-	\input{source/tex/declension}
6
-	\input{source/tex/attributes}
7
-	
8
-\end{chapter}
9
-
... ...
@@ -1,3 +0,0 @@
1
-\title{Folksprak}
2
-\author{Christian Fraß}
3
-
... ...
@@ -1,6 +0,0 @@
1
-\usepackage{polyglossia}
2
-\usepackage{verbatim}
3
-\usepackage{fontspec}
4
-\usepackage{color}
5
-\usepackage{graphicx}
6
-
... ...
@@ -1,42 +0,0 @@
1
-\begin{section}{Phonology and Orthography}
2
-	
3
-	Folksprak uses the following characters as letters: \\
4
-	
5
-	\begin{tabular}{|l|l|l|}
6
-		\hline
7
-		IPA-sound & Latin letter Representation & Runic Representation \\
8
-		\hline
9
-		\hline
10
-		\ipa{l} & \wordfs{L}/\wordfs{l} & \wordfs{ᛚ} \\
11
-		\hline
12
-		\ipa{m} & \wordfs{M}/\wordfs{m} & \wordfs{ᛗ} \\
13
-		\ipa{n} & \wordfs{N}/\wordfs{n} & \wordfs{ᚾ} \\
14
-		\ipa{ŋ} & \wordfs{Ng}/\wordfs{ng} & \wordfs{ᛜ} \\
15
-		\hline
16
-		\ipa{g} & \wordfs{G}/\wordfs{g} & \wordfs{ᚷ} \\
17
-		\ipa{k} & \wordfs{K}/\wordfs{k} & \wordfs{ᚲ} \\
18
-		\ipa{b} & \wordfs{B}/\wordfs{b} & \wordfs{ᛒ} \\
19
-		\ipa{p} & \wordfs{P}/\wordfs{p} & \wordfs{ᛈ} \\
20
-		\ipa{d} & \wordfs{D}/\wordfs{d} & \wordfs{ᛞ} \\
21
-		\ipa{t} & \wordfs{T}/\wordfs{t} & \wordfs{ᛏ} \\
22
-		\hline
23
-		\ipa{v} & \wordfs{V}/\wordfs{v} & \wordfs{ᚹ} \\
24
-		\ipa{f} & \wordfs{F}/\wordfs{f} & \wordfs{ᚠ} \\
25
-		\ipa{s} & \wordfs{S}/\wordfs{s} & \wordfs{ᛋ} \\
26
-		\hline
27
-		\ipa{h} & \wordfs{H}/\wordfs{h} & \wordfs{ᚺ} \\
28
-		\ipa{ɾ} & \wordfs{R}/\wordfs{r} & \wordfs{ᚱ} \\
29
-		\hline
30
-		\ipa{j} & \wordfs{J}/\wordfs{j} & \wordfs{ᛃ} \\
31
-		\hline
32
-		\ipa{i} & \wordfs{I}/\wordfs{i} & \wordfs{ᛁ} \\
33
-		\ipa{e} & \wordfs{E}/\wordfs{e} & \wordfs{ᛖ} \\
34
-		\ipa{a} & \wordfs{A}/\wordfs{a} & \wordfs{ᚨ} \\
35
-		\ipa{o} & \wordfs{O}/\wordfs{o} & \wordfs{ᛟ} \\
36
-		\ipa{u} & \wordfs{U}/\wordfs{u} & \wordfs{ᚢ} \\
37
-		\ipa{ø} & \wordfs{Oy}/\wordfs{oy} & \wordfs{ᛟᛇ} \\
38
-		\ipa{y} & \wordfs{Uy}/\wordfs{uy} & \wordfs{ᚢᛇ} \\
39
-		\hline
40
-	\end{tabular}
41
-	
42
-\end{section}
... ...
@@ -1,14 +0,0 @@
1
-\begin{pseudosection}{Preface}
2
-	
3
-	\begin{pseudosubsection}{What is it about?}
4
-	
5
-		Folksprak is the name of a project that aims to construct an inter-Germanic zonal auxiliary language, which means a language that can be easily understood by any speaker of a Germanic language (a group numbering over 465 million native speakers with an additional 300 to 900 million speaking English as a second language) without ever having learned it. \\
6
-		
7
-		Folksprak is not meant to be designed by any one individual, but rather a collective work created by all interested parties; so you're welcome to participate. \\
8
-		
9
-		The content of this document is the result of a collaboration between people from different parts on earth, connected by the internet. Its not a final specification for Folksprak, but a draft as a base to work on. Please let us know what you think about it and how you would improve it! You can find us in the IRC-Channel \texttt{\#\#folksprak} on \url{irc.freenode.net}. You can also write an E-Mail to \email{admin@folksprak.org}. \\
10
-		
11
-	\end{pseudosubsection}
12
-	
13
-\end{pseudosection}
14
-
... ...
@@ -1,5 +0,0 @@
1
-\setmainlanguage{english}
2
-
3
-\setmainfont{Linux Biolinum O}
4
-\setmonofont{FreeMono}
5
-
6 0