diff options
-rw-r--r-- | compile.sh | 41 | ||||
-rw-r--r-- | river/.TODO.river | 65 | ||||
-rw-r--r-- | river/.ipsumlorem.river | 343 | ||||
-rw-r--r-- | river/.loremipsum.river | 343 |
4 files changed, 751 insertions, 41 deletions
diff --git a/compile.sh b/compile.sh deleted file mode 100644 index 51a94f7..0000000 --- a/compile.sh +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | num=0 | ||
2 | for file in src/{.[!.]*,*}.txt; do | ||
3 | # TODO: change this to work with globs & args & stuff | ||
4 | echo -n "Compiling $file to HTML5" | ||
5 | pandoc -f markdown \ | ||
6 | -t html5 \ | ||
7 | --template=.template.html \ | ||
8 | --smart \ | ||
9 | --mathml \ | ||
10 | "$file" \ | ||
11 | -o "${file%.txt}.html" | ||
12 | echo -n " & RIVER ..." | ||
13 | pandoc -f markdown \ | ||
14 | -t lua/river.lua \ | ||
15 | "$file" \ | ||
16 | -o "${file%.txt}.river" | ||
17 | echo " Done." | ||
18 | ((num += 1)) | ||
19 | done | ||
20 | |||
21 | echo | ||
22 | echo "Moving files to build directory ..." | ||
23 | mv src/{.[!.]*,*}.html ./ | ||
24 | echo "Moving RIVERs to river/ ..." | ||
25 | mv src/*.river river/ | ||
26 | rm src/*.river | ||
27 | echo "Concatenating and counting rivers ..." | ||
28 | cat river/*.river | \ | ||
29 | sort | uniq -c | sort >river/COUNTS.txt | ||
30 | echo "Finished compiling $num files." | ||
31 | ############################################### | ||
32 | echo | ||
33 | echo "Updating js/lozenge.js with file list ..." | ||
34 | |||
35 | lozengeList=( $(ls *.html) ) | ||
36 | |||
37 | list=$(sed -e 's/\S\+\.html/"&",/g' -e 's/,$//' -e 's/^.*$/var files=[&]/' <<< "${lozengeList[@]}") | ||
38 | |||
39 | sed -i "s/var files=.*/$list/" js/lozenge.js | ||
40 | |||
41 | echo "Finished updating: ${#lozengeList[@]} files." | ||
diff --git a/river/.TODO.river b/river/.TODO.river new file mode 100644 index 0000000..b2c99e3 --- /dev/null +++ b/river/.TODO.river | |||
@@ -0,0 +1,65 @@ | |||
1 | things | ||
2 | still | ||
3 | to | ||
4 | do | ||
5 | for | ||
6 | autocento | ||
7 | me | ||
8 | link | ||
9 | old | ||
10 | poems | ||
11 | to | ||
12 | new | ||
13 | poems | ||
14 | add | ||
15 | colors | ||
16 | & | ||
17 | background-colors | ||
18 | to | ||
19 | projects | ||
20 | css | ||
21 | add | ||
22 | a | ||
23 | notes | ||
24 | or | ||
25 | about | ||
26 | page | ||
27 | do | ||
28 | something | ||
29 | about | ||
30 | verse | ||
31 | s | ||
32 | \ | ||
33 | * | ||
34 | \ | ||
35 | \1 | ||
36 | s | ||
37 | think | ||
38 | about | ||
39 | html-q-tags | ||
40 | option | ||
41 | for | ||
42 | pandoc | ||
43 | think | ||
44 | about | ||
45 | changing | ||
46 | nav | ||
47 | links | ||
48 | after | ||
49 | to | ||
50 | borders | ||
51 | and | ||
52 | change | ||
53 | hover | ||
54 | thing | ||
55 | to | ||
56 | contrast | ||
57 | hovered | ||
58 | navlinks | ||
59 | done | ||
60 | add | ||
61 | index | ||
62 | page | ||
63 | with | ||
64 | all | ||
65 | pieces | ||
diff --git a/river/.ipsumlorem.river b/river/.ipsumlorem.river new file mode 100644 index 0000000..a22f432 --- /dev/null +++ b/river/.ipsumlorem.river | |||
@@ -0,0 +1,343 @@ | |||
1 | ipsum | ||
2 | lorem | ||
3 | a | ||
4 | test | ||
5 | suite | ||
6 | for | ||
7 | the | ||
8 | gods | ||
9 | lorem | ||
10 | ipsum | ||
11 | dolor | ||
12 | sit | ||
13 | amet | ||
14 | consectetur | ||
15 | adipiscing | ||
16 | elit | ||
17 | vivamus | ||
18 | at | ||
19 | vulputate | ||
20 | ligula | ||
21 | ac | ||
22 | ullamcorper | ||
23 | magna | ||
24 | in | ||
25 | in | ||
26 | porta | ||
27 | metus | ||
28 | curabitur | ||
29 | iaculis | ||
30 | faucibus | ||
31 | posuere | ||
32 | nunc | ||
33 | elementum | ||
34 | libero | ||
35 | vitae | ||
36 | sapien | ||
37 | auctor | ||
38 | mollis | ||
39 | aenean | ||
40 | eget | ||
41 | tellus | ||
42 | ac | ||
43 | urna | ||
44 | tincidunt | ||
45 | vestibulum | ||
46 | vivamus | ||
47 | eget | ||
48 | orci | ||
49 | nec | ||
50 | purus | ||
51 | mollis | ||
52 | efficitur | ||
53 | pellentesque | ||
54 | eu | ||
55 | pharetra | ||
56 | justo | ||
57 | duis | ||
58 | tincidunt | ||
59 | convallis | ||
60 | vulputate | ||
61 | etiam | ||
62 | non | ||
63 | magna | ||
64 | mi | ||
65 | proin | ||
66 | porttitor | ||
67 | vel | ||
68 | quam | ||
69 | ac | ||
70 | dignissim | ||
71 | pellentesque | ||
72 | tempus | ||
73 | orci | ||
74 | orci | ||
75 | quis | ||
76 | tincidunt | ||
77 | enim | ||
78 | tincidunt | ||
79 | in | ||
80 | vestibulum | ||
81 | posuere | ||
82 | leo | ||
83 | ut | ||
84 | lacus | ||
85 | imperdiet | ||
86 | nec | ||
87 | rutrum | ||
88 | turpis | ||
89 | pellentesque | ||
90 | pellentesque | ||
91 | dictum | ||
92 | finibus | ||
93 | posuere | ||
94 | mauris | ||
95 | vehicula | ||
96 | lacus | ||
97 | lorem | ||
98 | a | ||
99 | euismod | ||
100 | purus | ||
101 | cursus | ||
102 | eu | ||
103 | vivamus | ||
104 | magna | ||
105 | mauris | ||
106 | vehicula | ||
107 | et | ||
108 | libero | ||
109 | at | ||
110 | commodo | ||
111 | consectetur | ||
112 | purus | ||
113 | sed | ||
114 | laoreet | ||
115 | posuere | ||
116 | consectetur | ||
117 | proin | ||
118 | sed | ||
119 | rutrum | ||
120 | ligula | ||
121 | id | ||
122 | scelerisque | ||
123 | eros | ||
124 | duis | ||
125 | rhoncus | ||
126 | magna | ||
127 | eu | ||
128 | magna | ||
129 | scelerisque | ||
130 | non | ||
131 | volutpat | ||
132 | libero | ||
133 | volutpat | ||
134 | mauris | ||
135 | gravida | ||
136 | et | ||
137 | tellus | ||
138 | non | ||
139 | ornare | ||
140 | integer | ||
141 | nibh | ||
142 | nulla | ||
143 | commodo | ||
144 | aliquam | ||
145 | imperdiet | ||
146 | a | ||
147 | condimentum | ||
148 | pulvinar | ||
149 | magna | ||
150 | praesent | ||
151 | commodo | ||
152 | eros | ||
153 | eu | ||
154 | nisi | ||
155 | sagittis | ||
156 | pulvinar | ||
157 | cras | ||
158 | id | ||
159 | lectus | ||
160 | vel | ||
161 | eros | ||
162 | porta | ||
163 | faucibus | ||
164 | eu | ||
165 | eu | ||
166 | quam | ||
167 | morbi | ||
168 | et | ||
169 | nisi | ||
170 | id | ||
171 | nunc | ||
172 | elementum | ||
173 | facilisis | ||
174 | maecenas | ||
175 | ultrices | ||
176 | eu | ||
177 | purus | ||
178 | nec | ||
179 | auctor | ||
180 | cras | ||
181 | quis | ||
182 | sagittis | ||
183 | nunc | ||
184 | in | ||
185 | accumsan | ||
186 | lacus | ||
187 | sed | ||
188 | sem | ||
189 | arcu | ||
190 | eleifend | ||
191 | imperdiet | ||
192 | ligula | ||
193 | consectetur | ||
194 | tempus | ||
195 | efficitur | ||
196 | massa | ||
197 | donec | ||
198 | commodo | ||
199 | convallis | ||
200 | cursus | ||
201 | donec | ||
202 | id | ||
203 | magna | ||
204 | at | ||
205 | arcu | ||
206 | malesuada | ||
207 | vulputate | ||
208 | nam | ||
209 | cursus | ||
210 | leo | ||
211 | eros | ||
212 | vel | ||
213 | volutpat | ||
214 | diam | ||
215 | tincidunt | ||
216 | eu | ||
217 | morbi | ||
218 | eleifend | ||
219 | accumsan | ||
220 | mollis | ||
221 | sed | ||
222 | dui | ||
223 | lacus | ||
224 | tincidunt | ||
225 | eu | ||
226 | elit | ||
227 | eu | ||
228 | venenatis | ||
229 | ultrices | ||
230 | erat | ||
231 | cum | ||
232 | sociis | ||
233 | natoque | ||
234 | penatibus | ||
235 | et | ||
236 | magnis | ||
237 | dis | ||
238 | parturient | ||
239 | montes | ||
240 | nascetur | ||
241 | ridiculus | ||
242 | mus | ||
243 | fusce | ||
244 | sit | ||
245 | amet | ||
246 | imperdiet | ||
247 | sapien | ||
248 | ut | ||
249 | finibus | ||
250 | ex | ||
251 | quisque | ||
252 | tincidunt | ||
253 | est | ||
254 | vitae | ||
255 | iaculis | ||
256 | bibendum | ||
257 | augue | ||
258 | odio | ||
259 | pharetra | ||
260 | libero | ||
261 | nec | ||
262 | ornare | ||
263 | erat | ||
264 | risus | ||
265 | ac | ||
266 | quam | ||
267 | nam | ||
268 | varius | ||
269 | mauris | ||
270 | sit | ||
271 | amet | ||
272 | purus | ||
273 | cursus | ||
274 | eget | ||
275 | molestie | ||
276 | ex | ||
277 | tempus | ||
278 | proin | ||
279 | augue | ||
280 | ligula | ||
281 | interdum | ||
282 | quis | ||
283 | fermentum | ||
284 | eu | ||
285 | suscipit | ||
286 | eget | ||
287 | tortor | ||
288 | suspendisse | ||
289 | nec | ||
290 | egestas | ||
291 | odio | ||
292 | vitae | ||
293 | vestibulum | ||
294 | turpis | ||
295 | proin | ||
296 | ipsum | ||
297 | ligula | ||
298 | maximus | ||
299 | vitae | ||
300 | mauris | ||
301 | ut | ||
302 | imperdiet | ||
303 | ultricies | ||
304 | eros | ||
305 | integer | ||
306 | mi | ||
307 | orci | ||
308 | vestibulum | ||
309 | ut | ||
310 | porttitor | ||
311 | quis | ||
312 | dictum | ||
313 | eu | ||
314 | lacus | ||
315 | ut | ||
316 | placerat | ||
317 | lectus | ||
318 | metus | ||
319 | vel | ||
320 | molestie | ||
321 | felis | ||
322 | luctus | ||
323 | ac | ||
324 | quisque | ||
325 | facilisis | ||
326 | lectus | ||
327 | id | ||
328 | magna | ||
329 | hendrerit | ||
330 | auctor | ||
331 | ornare | ||
332 | nisl | ||
333 | rutrum | ||
334 | pellentesque | ||
335 | vehicula | ||
336 | purus | ||
337 | vitae | ||
338 | dui | ||
339 | auctor | ||
340 | in | ||
341 | accumsan | ||
342 | risus | ||
343 | efficitur | ||
diff --git a/river/.loremipsum.river b/river/.loremipsum.river new file mode 100644 index 0000000..4bc1769 --- /dev/null +++ b/river/.loremipsum.river | |||
@@ -0,0 +1,343 @@ | |||
1 | lorem | ||
2 | ipsum | ||
3 | a | ||
4 | test | ||
5 | suite | ||
6 | for | ||
7 | the | ||
8 | gods | ||
9 | lorem | ||
10 | ipsum | ||
11 | dolor | ||
12 | sit | ||
13 | amet | ||
14 | consectetur | ||
15 | adipiscing | ||
16 | elit | ||
17 | vivamus | ||
18 | at | ||
19 | vulputate | ||
20 | ligula | ||
21 | ac | ||
22 | ullamcorper | ||
23 | magna | ||
24 | in | ||
25 | in | ||
26 | porta | ||
27 | metus | ||
28 | curabitur | ||
29 | iaculis | ||
30 | faucibus | ||
31 | posuere | ||
32 | nunc | ||
33 | elementum | ||
34 | libero | ||
35 | vitae | ||
36 | sapien | ||
37 | auctor | ||
38 | mollis | ||
39 | aenean | ||
40 | eget | ||
41 | tellus | ||
42 | ac | ||
43 | urna | ||
44 | tincidunt | ||
45 | vestibulum | ||
46 | vivamus | ||
47 | eget | ||
48 | orci | ||
49 | nec | ||
50 | purus | ||
51 | mollis | ||
52 | efficitur | ||
53 | pellentesque | ||
54 | eu | ||
55 | pharetra | ||
56 | justo | ||
57 | duis | ||
58 | tincidunt | ||
59 | convallis | ||
60 | vulputate | ||
61 | etiam | ||
62 | non | ||
63 | magna | ||
64 | mi | ||
65 | proin | ||
66 | porttitor | ||
67 | vel | ||
68 | quam | ||
69 | ac | ||
70 | dignissim | ||
71 | pellentesque | ||
72 | tempus | ||
73 | orci | ||
74 | orci | ||
75 | quis | ||
76 | tincidunt | ||
77 | enim | ||
78 | tincidunt | ||
79 | in | ||
80 | vestibulum | ||
81 | posuere | ||
82 | leo | ||
83 | ut | ||
84 | lacus | ||
85 | imperdiet | ||
86 | nec | ||
87 | rutrum | ||
88 | turpis | ||
89 | pellentesque | ||
90 | pellentesque | ||
91 | dictum | ||
92 | finibus | ||
93 | posuere | ||
94 | mauris | ||
95 | vehicula | ||
96 | lacus | ||
97 | lorem | ||
98 | a | ||
99 | euismod | ||
100 | purus | ||
101 | cursus | ||
102 | eu | ||
103 | vivamus | ||
104 | magna | ||
105 | mauris | ||
106 | vehicula | ||
107 | et | ||
108 | libero | ||
109 | at | ||
110 | commodo | ||
111 | consectetur | ||
112 | purus | ||
113 | sed | ||
114 | laoreet | ||
115 | posuere | ||
116 | consectetur | ||
117 | proin | ||
118 | sed | ||
119 | rutrum | ||
120 | ligula | ||
121 | id | ||
122 | scelerisque | ||
123 | eros | ||
124 | duis | ||
125 | rhoncus | ||
126 | magna | ||
127 | eu | ||
128 | magna | ||
129 | scelerisque | ||
130 | non | ||
131 | volutpat | ||
132 | libero | ||
133 | volutpat | ||
134 | mauris | ||
135 | gravida | ||
136 | et | ||
137 | tellus | ||
138 | non | ||
139 | ornare | ||
140 | integer | ||
141 | nibh | ||
142 | nulla | ||
143 | commodo | ||
144 | aliquam | ||
145 | imperdiet | ||
146 | a | ||
147 | condimentum | ||
148 | pulvinar | ||
149 | magna | ||
150 | praesent | ||
151 | commodo | ||
152 | eros | ||
153 | eu | ||
154 | nisi | ||
155 | sagittis | ||
156 | pulvinar | ||
157 | cras | ||
158 | id | ||
159 | lectus | ||
160 | vel | ||
161 | eros | ||
162 | porta | ||
163 | faucibus | ||
164 | eu | ||
165 | eu | ||
166 | quam | ||
167 | morbi | ||
168 | et | ||
169 | nisi | ||
170 | id | ||
171 | nunc | ||
172 | elementum | ||
173 | facilisis | ||
174 | maecenas | ||
175 | ultrices | ||
176 | eu | ||
177 | purus | ||
178 | nec | ||
179 | auctor | ||
180 | cras | ||
181 | quis | ||
182 | sagittis | ||
183 | nunc | ||
184 | in | ||
185 | accumsan | ||
186 | lacus | ||
187 | sed | ||
188 | sem | ||
189 | arcu | ||
190 | eleifend | ||
191 | imperdiet | ||
192 | ligula | ||
193 | consectetur | ||
194 | tempus | ||
195 | efficitur | ||
196 | massa | ||
197 | donec | ||
198 | commodo | ||
199 | convallis | ||
200 | cursus | ||
201 | donec | ||
202 | id | ||
203 | magna | ||
204 | at | ||
205 | arcu | ||
206 | malesuada | ||
207 | vulputate | ||
208 | nam | ||
209 | cursus | ||
210 | leo | ||
211 | eros | ||
212 | vel | ||
213 | volutpat | ||
214 | diam | ||
215 | tincidunt | ||
216 | eu | ||
217 | morbi | ||
218 | eleifend | ||
219 | accumsan | ||
220 | mollis | ||
221 | sed | ||
222 | dui | ||
223 | lacus | ||
224 | tincidunt | ||
225 | eu | ||
226 | elit | ||
227 | eu | ||
228 | venenatis | ||
229 | ultrices | ||
230 | erat | ||
231 | cum | ||
232 | sociis | ||
233 | natoque | ||
234 | penatibus | ||
235 | et | ||
236 | magnis | ||
237 | dis | ||
238 | parturient | ||
239 | montes | ||
240 | nascetur | ||
241 | ridiculus | ||
242 | mus | ||
243 | fusce | ||
244 | sit | ||
245 | amet | ||
246 | imperdiet | ||
247 | sapien | ||
248 | ut | ||
249 | finibus | ||
250 | ex | ||
251 | quisque | ||
252 | tincidunt | ||
253 | est | ||
254 | vitae | ||
255 | iaculis | ||
256 | bibendum | ||
257 | augue | ||
258 | odio | ||
259 | pharetra | ||
260 | libero | ||
261 | nec | ||
262 | ornare | ||
263 | erat | ||
264 | risus | ||
265 | ac | ||
266 | quam | ||
267 | nam | ||
268 | varius | ||
269 | mauris | ||
270 | sit | ||
271 | amet | ||
272 | purus | ||
273 | cursus | ||
274 | eget | ||
275 | molestie | ||
276 | ex | ||
277 | tempus | ||
278 | proin | ||
279 | augue | ||
280 | ligula | ||
281 | interdum | ||
282 | quis | ||
283 | fermentum | ||
284 | eu | ||
285 | suscipit | ||
286 | eget | ||
287 | tortor | ||
288 | suspendisse | ||
289 | nec | ||
290 | egestas | ||
291 | odio | ||
292 | vitae | ||
293 | vestibulum | ||
294 | turpis | ||
295 | proin | ||
296 | ipsum | ||
297 | ligula | ||
298 | maximus | ||
299 | vitae | ||
300 | mauris | ||
301 | ut | ||
302 | imperdiet | ||
303 | ultricies | ||
304 | eros | ||
305 | integer | ||
306 | mi | ||
307 | orci | ||
308 | vestibulum | ||
309 | ut | ||
310 | porttitor | ||
311 | quis | ||
312 | dictum | ||
313 | eu | ||
314 | lacus | ||
315 | ut | ||
316 | placerat | ||
317 | lectus | ||
318 | metus | ||
319 | vel | ||
320 | molestie | ||
321 | felis | ||
322 | luctus | ||
323 | ac | ||
324 | quisque | ||
325 | facilisis | ||
326 | lectus | ||
327 | id | ||
328 | magna | ||
329 | hendrerit | ||
330 | auctor | ||
331 | ornare | ||
332 | nisl | ||
333 | rutrum | ||
334 | pellentesque | ||
335 | vehicula | ||
336 | purus | ||
337 | vitae | ||
338 | dui | ||
339 | auctor | ||
340 | in | ||
341 | accumsan | ||
342 | risus | ||
343 | efficitur | ||