From 45e72b41852b1ab9cf42dd933a128e3524744ce4 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 6 Mar 2015 22:09:14 -0700 Subject: Removed compile.sh--USE COMPILE.LUA --- compile.sh | 41 ------ river/.TODO.river | 65 +++++++++ river/.ipsumlorem.river | 343 ++++++++++++++++++++++++++++++++++++++++++++++++ river/.loremipsum.river | 343 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 751 insertions(+), 41 deletions(-) delete mode 100644 compile.sh create mode 100644 river/.TODO.river create mode 100644 river/.ipsumlorem.river create mode 100644 river/.loremipsum.river diff --git a/compile.sh b/compile.sh deleted file mode 100644 index 51a94f7..0000000 --- a/compile.sh +++ /dev/null @@ -1,41 +0,0 @@ -num=0 -for file in src/{.[!.]*,*}.txt; do - # TODO: change this to work with globs & args & stuff - echo -n "Compiling $file to HTML5" - pandoc -f markdown \ - -t html5 \ - --template=.template.html \ - --smart \ - --mathml \ - "$file" \ - -o "${file%.txt}.html" - echo -n " & RIVER ..." - pandoc -f markdown \ - -t lua/river.lua \ - "$file" \ - -o "${file%.txt}.river" - echo " Done." - ((num += 1)) -done - -echo -echo "Moving files to build directory ..." -mv src/{.[!.]*,*}.html ./ -echo "Moving RIVERs to river/ ..." -mv src/*.river river/ -rm src/*.river -echo "Concatenating and counting rivers ..." -cat river/*.river | \ - sort | uniq -c | sort >river/COUNTS.txt -echo "Finished compiling $num files." -############################################### -echo -echo "Updating js/lozenge.js with file list ..." - -lozengeList=( $(ls *.html) ) - -list=$(sed -e 's/\S\+\.html/"&",/g' -e 's/,$//' -e 's/^.*$/var files=[&]/' <<< "${lozengeList[@]}") - -sed -i "s/var files=.*/$list/" js/lozenge.js - -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 @@ +things +still +to +do +for +autocento +me +link +old +poems +to +new +poems +add +colors +& +background-colors +to +projects +css +add +a +notes +or +about +page +do +something +about +verse +s +\ +* +\ +\1 +s +think +about +html-q-tags +option +for +pandoc +think +about +changing +nav +links +after +to +borders +and +change +hover +thing +to +contrast +hovered +navlinks +done +add +index +page +with +all +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 @@ +ipsum +lorem +a +test +suite +for +the +gods +lorem +ipsum +dolor +sit +amet +consectetur +adipiscing +elit +vivamus +at +vulputate +ligula +ac +ullamcorper +magna +in +in +porta +metus +curabitur +iaculis +faucibus +posuere +nunc +elementum +libero +vitae +sapien +auctor +mollis +aenean +eget +tellus +ac +urna +tincidunt +vestibulum +vivamus +eget +orci +nec +purus +mollis +efficitur +pellentesque +eu +pharetra +justo +duis +tincidunt +convallis +vulputate +etiam +non +magna +mi +proin +porttitor +vel +quam +ac +dignissim +pellentesque +tempus +orci +orci +quis +tincidunt +enim +tincidunt +in +vestibulum +posuere +leo +ut +lacus +imperdiet +nec +rutrum +turpis +pellentesque +pellentesque +dictum +finibus +posuere +mauris +vehicula +lacus +lorem +a +euismod +purus +cursus +eu +vivamus +magna +mauris +vehicula +et +libero +at +commodo +consectetur +purus +sed +laoreet +posuere +consectetur +proin +sed +rutrum +ligula +id +scelerisque +eros +duis +rhoncus +magna +eu +magna +scelerisque +non +volutpat +libero +volutpat +mauris +gravida +et +tellus +non +ornare +integer +nibh +nulla +commodo +aliquam +imperdiet +a +condimentum +pulvinar +magna +praesent +commodo +eros +eu +nisi +sagittis +pulvinar +cras +id +lectus +vel +eros +porta +faucibus +eu +eu +quam +morbi +et +nisi +id +nunc +elementum +facilisis +maecenas +ultrices +eu +purus +nec +auctor +cras +quis +sagittis +nunc +in +accumsan +lacus +sed +sem +arcu +eleifend +imperdiet +ligula +consectetur +tempus +efficitur +massa +donec +commodo +convallis +cursus +donec +id +magna +at +arcu +malesuada +vulputate +nam +cursus +leo +eros +vel +volutpat +diam +tincidunt +eu +morbi +eleifend +accumsan +mollis +sed +dui +lacus +tincidunt +eu +elit +eu +venenatis +ultrices +erat +cum +sociis +natoque +penatibus +et +magnis +dis +parturient +montes +nascetur +ridiculus +mus +fusce +sit +amet +imperdiet +sapien +ut +finibus +ex +quisque +tincidunt +est +vitae +iaculis +bibendum +augue +odio +pharetra +libero +nec +ornare +erat +risus +ac +quam +nam +varius +mauris +sit +amet +purus +cursus +eget +molestie +ex +tempus +proin +augue +ligula +interdum +quis +fermentum +eu +suscipit +eget +tortor +suspendisse +nec +egestas +odio +vitae +vestibulum +turpis +proin +ipsum +ligula +maximus +vitae +mauris +ut +imperdiet +ultricies +eros +integer +mi +orci +vestibulum +ut +porttitor +quis +dictum +eu +lacus +ut +placerat +lectus +metus +vel +molestie +felis +luctus +ac +quisque +facilisis +lectus +id +magna +hendrerit +auctor +ornare +nisl +rutrum +pellentesque +vehicula +purus +vitae +dui +auctor +in +accumsan +risus +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 @@ +lorem +ipsum +a +test +suite +for +the +gods +lorem +ipsum +dolor +sit +amet +consectetur +adipiscing +elit +vivamus +at +vulputate +ligula +ac +ullamcorper +magna +in +in +porta +metus +curabitur +iaculis +faucibus +posuere +nunc +elementum +libero +vitae +sapien +auctor +mollis +aenean +eget +tellus +ac +urna +tincidunt +vestibulum +vivamus +eget +orci +nec +purus +mollis +efficitur +pellentesque +eu +pharetra +justo +duis +tincidunt +convallis +vulputate +etiam +non +magna +mi +proin +porttitor +vel +quam +ac +dignissim +pellentesque +tempus +orci +orci +quis +tincidunt +enim +tincidunt +in +vestibulum +posuere +leo +ut +lacus +imperdiet +nec +rutrum +turpis +pellentesque +pellentesque +dictum +finibus +posuere +mauris +vehicula +lacus +lorem +a +euismod +purus +cursus +eu +vivamus +magna +mauris +vehicula +et +libero +at +commodo +consectetur +purus +sed +laoreet +posuere +consectetur +proin +sed +rutrum +ligula +id +scelerisque +eros +duis +rhoncus +magna +eu +magna +scelerisque +non +volutpat +libero +volutpat +mauris +gravida +et +tellus +non +ornare +integer +nibh +nulla +commodo +aliquam +imperdiet +a +condimentum +pulvinar +magna +praesent +commodo +eros +eu +nisi +sagittis +pulvinar +cras +id +lectus +vel +eros +porta +faucibus +eu +eu +quam +morbi +et +nisi +id +nunc +elementum +facilisis +maecenas +ultrices +eu +purus +nec +auctor +cras +quis +sagittis +nunc +in +accumsan +lacus +sed +sem +arcu +eleifend +imperdiet +ligula +consectetur +tempus +efficitur +massa +donec +commodo +convallis +cursus +donec +id +magna +at +arcu +malesuada +vulputate +nam +cursus +leo +eros +vel +volutpat +diam +tincidunt +eu +morbi +eleifend +accumsan +mollis +sed +dui +lacus +tincidunt +eu +elit +eu +venenatis +ultrices +erat +cum +sociis +natoque +penatibus +et +magnis +dis +parturient +montes +nascetur +ridiculus +mus +fusce +sit +amet +imperdiet +sapien +ut +finibus +ex +quisque +tincidunt +est +vitae +iaculis +bibendum +augue +odio +pharetra +libero +nec +ornare +erat +risus +ac +quam +nam +varius +mauris +sit +amet +purus +cursus +eget +molestie +ex +tempus +proin +augue +ligula +interdum +quis +fermentum +eu +suscipit +eget +tortor +suspendisse +nec +egestas +odio +vitae +vestibulum +turpis +proin +ipsum +ligula +maximus +vitae +mauris +ut +imperdiet +ultricies +eros +integer +mi +orci +vestibulum +ut +porttitor +quis +dictum +eu +lacus +ut +placerat +lectus +metus +vel +molestie +felis +luctus +ac +quisque +facilisis +lectus +id +magna +hendrerit +auctor +ornare +nisl +rutrum +pellentesque +vehicula +purus +vitae +dui +auctor +in +accumsan +risus +efficitur -- cgit 1.4.1-21-gabe81