From: Ian Jackson Date: Sat, 6 Nov 2021 18:40:58 +0000 (+0000) Subject: wip titles for html and pdf X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c83bcbd5f6113c38e9e355286b354d879446ee4d;p=quacks.git wip titles for html and pdf --- diff --git a/Makefile b/Makefile index 7388793..acce17c 100644 --- a/Makefile +++ b/Makefile @@ -52,8 +52,10 @@ PUBLISH_FILES= \ %.md.txt: %.md cat $< $o +title=-Mtitle='$(shell head -1 $<)' + %.md.html: %.md Makefile - pandoc -s $< $o + pandoc $(title) -s $< $o %.md.pdf: %.md Makefile pandoc --pdf-engine=wkhtmltopdf -o $@ $< diff --git a/house-rules.md b/house-rules.md index b0e8ceb..1f3b9bf 100644 --- a/house-rules.md +++ b/house-rules.md @@ -1,4 +1,4 @@ -HOUSE RULES +House rules =========== Turn taking diff --git a/pumpkin-books.md b/pumpkin-books.md index f66a571..93ed790 100644 --- a/pumpkin-books.md +++ b/pumpkin-books.md @@ -1,4 +1,4 @@ -BOOKS INVOLVING PUMPKINS +Books involving pumpkins ======================== *** NB see pumpkin-books.pdf to see which ones have been playtested ***