From d161be120c22faf222ec15ca618ee367e4d56575 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 1 Apr 2015 23:16:18 -0700 Subject: Refactor makefile; Add hapax preprocessor --- _template.html | 125 ++++++++++ about-the-author_backlinks.htm | 2 + about_author_backlinks.htm | 2 +- about_backlinks.htm | 4 +- abstract_backlinks.htm | 2 +- amber-alert_backlinks.htm | 4 + and_backlinks.htm | 3 + angeltoabraham_backlinks.htm | 2 + apollo11_backlinks.htm | 2 + arspoetica_backlinks.htm | 2 + art_backlinks.htm | 2 + axe_backlinks.htm | 4 + big-dipper_backlinks.htm | 3 + boar_backlinks.htm | 2 + boy_bus_backlinks.htm | 4 + building_backlinks.htm | 4 + cereal_backlinks.htm | 4 + common-titles.html | 81 ------- common-titles_backlinks.htm | 59 ----- deadman_backlinks.htm | 2 + death-zone_backlinks.htm | 2 + dollywood_backlinks.htm | 2 +- dream_backlinks.htm | 4 + early_backlinks.htm | 4 + epigraph_backlinks.htm | 1 + ex-machina_backlinks.htm | 1 + exasperated_backlinks.htm | 3 + father_backlinks.htm | 4 + feedingtheraven_backlinks.htm | 3 +- fire_backlinks.htm | 3 + first-lines.html | 83 ------- first-lines_backlinks.htm | 59 ----- hands_backlinks.htm | 5 + hapax.html | 2 +- hapax.txt | 367 ++++++++++++++++++++++++------ hapax_backlinks.htm | 59 ----- hardware_backlinks.htm | 7 +- howithappened_backlinks.htm | 1 + howtoread_backlinks.htm | 1 + hymnal_backlinks.htm | 4 + i-am_backlinks.htm | 2 + i-think-its-you_backlinks.htm | 4 + i-want-to-say_backlinks.htm | 2 +- initial-conditions_backlinks.htm | 4 + joke_backlinks.htm | 3 + lappel-du-vide_backlinks.htm | 4 + last-bastion_backlinks.htm | 4 + last-passenger_backlinks.htm | 1 + leaf_backlinks.htm | 4 + leg_backlinks.htm | 4 + likingthings_backlinks.htm | 1 + love-as-god_backlinks.htm | 4 + lovesong_backlinks.htm | 2 + makefile | 189 +++++++-------- man_backlinks.htm | 6 + manifesto_poetics_backlinks.htm | 2 +- moon-drowning_backlinks.htm | 3 + moongone_backlinks.htm | 1 + mountain_backlinks.htm | 2 + movingsideways_backlinks.htm | 2 + music-433_backlinks.htm | 4 + notes_backlinks.htm | 7 +- on-genre-dimension_backlinks.htm | 2 +- onformalpoetry_backlinks.htm | 2 + options_backlinks.htm | 4 + ouroboros_memory_backlinks.htm | 2 + paul_backlinks.htm | 7 +- peaches_backlinks.htm | 2 +- philosophy_backlinks.htm | 2 + phone_backlinks.htm | 4 + planks_backlinks.htm | 4 + poetry-time_backlinks.htm | 5 + problems_backlinks.htm | 2 + process.html | 16 +- proverbs_backlinks.htm | 2 + punch_backlinks.htm | 7 +- purpose-dogs_backlinks.htm | 2 + question_backlinks.htm | 4 + reports_backlinks.htm | 4 + riptide_memory_backlinks.htm | 3 + ronaldmcdonald_backlinks.htm | 2 + roughgloves_backlinks.htm | 1 + sapling_backlinks.htm | 7 +- serengeti_backlinks.htm | 2 + shed_backlinks.htm | 4 + shipwright_backlinks.htm | 2 + sixteenth-chapel_backlinks.htm | 3 + snow_backlinks.htm | 4 + spittle_backlinks.htm | 2 + squirrel_backlinks.htm | 2 + stagnant_backlinks.htm | 4 + stump_backlinks.htm | 4 + swansong_backlinks.htm | 2 + swear_backlinks.htm | 4 + table_contents_backlinks.htm | 2 + tapestry_backlinks.htm | 4 + telemarketer_backlinks.htm | 2 + template.html | 125 ---------- theoceanoverflowswithcamels_backlinks.htm | 2 + todaniel_backlinks.htm | 2 + toilet_backlinks.htm | 4 + toothpaste_backlinks.htm | 7 +- treatise_backlinks.htm | 4 + trunk/backlink.sh | 29 +++ trunk/forceascii.hs | 17 ++ trunk/hapax.lua | 95 ++++---- trunk/hapaxlink.sh | 26 +++ trunk/lozenge.js | 2 +- trunk/lozenge.sh | 15 ++ trunk/versify.exe | Bin 13686106 -> 13686106 bytes underwear_backlinks.htm | 4 + walking-in-the-rain_backlinks.htm | 2 +- wallpaper_backlinks.htm | 4 + weplayedthosegamestoo_backlinks.htm | 2 + what-we-are-made-of_backlinks.htm | 2 +- window_backlinks.htm | 5 + wip/0 | 0 wip/backlink.sh | 22 -- wip/makefile | 48 ---- words-irritable-reaching_backlinks.htm | 2 +- words-meaning_backlinks.htm | 1 + worse-looking-over_backlinks.htm | 5 + writing_backlinks.htm | 7 +- x-ray_backlinks.htm | 3 + yellow_backlinks.htm | 5 +- 125 files changed, 963 insertions(+), 785 deletions(-) create mode 100644 _template.html delete mode 100644 common-titles.html delete mode 100644 common-titles_backlinks.htm delete mode 100644 first-lines.html delete mode 100644 first-lines_backlinks.htm delete mode 100644 hapax_backlinks.htm delete mode 100644 template.html create mode 100644 trunk/backlink.sh create mode 100644 trunk/forceascii.hs create mode 100644 trunk/hapaxlink.sh create mode 100644 trunk/lozenge.sh delete mode 100644 wip/0 delete mode 100644 wip/backlink.sh delete mode 100644 wip/makefile diff --git a/_template.html b/_template.html new file mode 100644 index 0000000..074800e --- /dev/null +++ b/_template.html @@ -0,0 +1,125 @@ + + + + + + + + + + + $title$ | Autocento of the breakfast table + + + + + + + + $for(header-includes)$ + $headerincludes$ + $endfor$ + + + $for(include-before)$ $include-before$ $endfor$ + +
+
+ + $if(title)$

$title$

$endif$ + $if(subtitle)$

$subtitle$

$endif$ + +
+ $if(dedication)$ + +
$dedication$
+ $endif$ + + $if(epigraph.content)$ + +
+ $if(epigraph.link)$ + $epigraph.content$ + $else$ + $epigraph.content$ + $endif$ + + $if(epigraph.attrib)$ +
$epigraph.attrib$
+ $endif$ +
+ $endif$ +
+
+ + $if(ekphrastic.image)$ +
+ $if(ekphrastic.link)$ + + $ekphrastic.alt$ + + $else$ + $ekphrastic.alt$ + $endif$ +
+ $endif$ + +
+ $body$ +
+
+ + + $for(include-after)$ $include-after$ $endfor$ + + diff --git a/about-the-author_backlinks.htm b/about-the-author_backlinks.htm index 2ef3be9..1994cb2 100644 --- a/about-the-author_backlinks.htm +++ b/about-the-author_backlinks.htm @@ -39,8 +39,10 @@ diff --git a/template.html b/template.html deleted file mode 100644 index 074800e..0000000 --- a/template.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - $title$ | Autocento of the breakfast table - - - - - - - - $for(header-includes)$ - $headerincludes$ - $endfor$ - - - $for(include-before)$ $include-before$ $endfor$ - -
-
- - $if(title)$

$title$

$endif$ - $if(subtitle)$

$subtitle$

$endif$ - -
- $if(dedication)$ - -
$dedication$
- $endif$ - - $if(epigraph.content)$ - -
- $if(epigraph.link)$ - $epigraph.content$ - $else$ - $epigraph.content$ - $endif$ - - $if(epigraph.attrib)$ -
$epigraph.attrib$
- $endif$ -
- $endif$ -
-
- - $if(ekphrastic.image)$ -
- $if(ekphrastic.link)$ - - $ekphrastic.alt$ - - $else$ - $ekphrastic.alt$ - $endif$ -
- $endif$ - -
- $body$ -
-
- - - $for(include-after)$ $include-after$ $endfor$ - - diff --git a/theoceanoverflowswithcamels_backlinks.htm b/theoceanoverflowswithcamels_backlinks.htm index 4cbd34e..64b65d4 100644 --- a/theoceanoverflowswithcamels_backlinks.htm +++ b/theoceanoverflowswithcamels_backlinks.htm @@ -38,6 +38,8 @@
diff --git a/walking-in-the-rain_backlinks.htm b/walking-in-the-rain_backlinks.htm index 8a9cbd9..0db04f3 100644 --- a/walking-in-the-rain_backlinks.htm +++ b/walking-in-the-rain_backlinks.htm @@ -36,7 +36,7 @@
-

Nothing links here!

+