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