From 7f9c36dd1393440f3d4158d5915c0d6118d12b82 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 12 Feb 2017 13:06:12 +0100 Subject: add footer and make html standalone --- .gitignore | 2 +- Makefile | 2 +- footer.html | 13 +++++++++++++ style.css | 6 ++---- 4 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 footer.html diff --git a/.gitignore b/.gitignore index 95c7271..a337b48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ *.pdf -*.html +rcheatsheet.html *~ diff --git a/Makefile b/Makefile index 915cfb5..bc6cbd9 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ CSS=style.css all: pdf html rcheatsheet.html: rcheatsheet.md - cat $< | ./highlight_code.py | pandoc -f markdown_github --css $(CSS) -o $@ -; + cat $< | ./highlight_code.py | pandoc -s -S -A footer.html -f markdown_github -H $(CSS) -o $@ -; sed -i -f remove_table_width.sed $@ rcheatsheet.pdf: rcheatsheet.html diff --git a/footer.html b/footer.html new file mode 100644 index 0000000..aea745b --- /dev/null +++ b/footer.html @@ -0,0 +1,13 @@ +

+ + CC0 + +
+To the extent possible under law, + + Florian Fischer +has waived all copyright and related or neighboring rights to +this work. +

diff --git a/style.css b/style.css index 0799f74..2ede04f 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,4 @@ -/* - * I add this to html files generated with pandoc. - */ - + -- cgit v1.2.3