From 284c9020d6545b0de43d96c05e72bb6d97beb8d9 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 23 Mar 2015 23:26:48 -0700 Subject: Add makefile (no tests yet) --- src/apollo11.txt | 5 +++++ src/makefile | 24 ++++++++++++++++++++++++ src/words-irritable-reaching.txt | 16 ++++++++-------- 3 files changed, 37 insertions(+), 8 deletions(-) create mode 100644 src/makefile (limited to 'src') diff --git a/src/apollo11.txt b/src/apollo11.txt index 78e150b..8e4b522 100644 --- a/src/apollo11.txt +++ b/src/apollo11.txt @@ -2,6 +2,11 @@ title: On seeing the panorama of the Apollo 11 landing site genre: verse +ekphrastic: + image: "img/panorama-apollo11.jpg" + title: "Big deal." + link: "http://apod.nasa.gov/apod/ap141220.html" + project: title: Elegies for alternate selves css: elegies diff --git a/src/makefile b/src/makefile new file mode 100644 index 0000000..eefa4a3 --- /dev/null +++ b/src/makefile @@ -0,0 +1,24 @@ +# Produce HTML & RIVER outputs with pandoc +# Case Duckworth | autocento.me +# inspired by Lincoln Mullen | lincolnmullen.com + +# Define directories, file lists, and options +HTMLdir = .. +RIVdir = ../river +LUAdir = ../lua +HTMLs := $(patsubst %.txt,%.html,$(wildcard *.txt)) +HTMopts = --template=$(HTMLdir)/.template.html +HTMopts+= --smart --mathml --section-divs +RIVERs := $(patsubst %.txt,%.river,$(wildcard *.txt)) +RIVopts = + +# Do everything +all : $(HTMLs) $(RIVERs) + +# Generic rule for HTML targets and Markdown sources +%.html : %.txt + pandoc $< -f markdown -t html5 $(HTMLopts) -o $(HTMLdir)/$@ + +# Generic rule for RIVER targets and Markdown sources +%.river : %.txt + pandoc $< -f markdown -t $(LUAdir)/river.lua $(RIVopts) -o $(RIVdir)/$@ diff --git a/src/words-irritable-reaching.txt b/src/words-irritable-reaching.txt index c616c95..97d3e8c 100644 --- a/src/words-irritable-reaching.txt +++ b/src/words-irritable-reaching.txt @@ -29,14 +29,14 @@ Gilbert furthers Keats in asserting that no matter what we write, "the words / G In Gilbert's poem, though, he does reach after something. In the second half of the poem he begins to imagine what the "mysterious Sumerian tablets" could be as poetry, instead of just "business records:" -> [...] My joy is the same as twelve -> Ethiopian goats standing in the morning light. -> O Lord, thou art slabs of salt and ingots of copper, -> as grand as ripe barley under the wind's labor. -> Her breasts are six white oxen loaded with bolts -> of long-fibered Egyptian cotton. My love is a hundred -> pitchers of honey. Shiploads of thuya are what -> my body wants to say to your body. Giraffes are this +> [...] My joy is the same as twelve \ +> Ethiopian goats standing in the morning light. \ +> O Lord, thou art slabs of salt and ingots of copper, \ +> as grand as ripe barley under the wind's labor. \ +> Her breasts are six white oxen loaded with bolts \ +> of long-fibered Egyptian cotton. My love is a hundred \ +> pitchers of honey. Shiploads of thuya are what \ +> my body wants to say to your body. Giraffes are this \ > desire in the dark. This is my favorite part of the poem, and I think it's because Gilbert, like Hass, reaches for the specific in the general; he brings huge ideas like the Lord or Love or Joy into the specific images of salt, copper, or honey, or like he says at the end of his poem: "What we feel most has / no name but amber, archers, cinnamon, horses and birds." -- cgit 1.4.1-21-gabe81