aboutsummaryrefslogtreecommitdiff
path: root/Makefile.reveal.js
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-12-10 14:27:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-12-10 14:27:08 -0300
commitd178bda2bf611fdb218d4428e89f2cef57bd0249 (patch)
tree2233288223f6496b346140561c4fcdbf1788d27d /Makefile.reveal.js
downloadslides-d178bda2bf611fdb218d4428e89f2cef57bd0249.tar.gz
slides-d178bda2bf611fdb218d4428e89f2cef57bd0249.tar.bz2
Initial import
Diffstat (limited to 'Makefile.reveal.js')
-rw-r--r--Makefile.reveal.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.reveal.js b/Makefile.reveal.js
new file mode 100644
index 0000000..8e9e464
--- /dev/null
+++ b/Makefile.reveal.js
@@ -0,0 +1,12 @@
+#
+# Makefile for reveal.js presentation
+#
+
+# See https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides
+# Also look for variables at /usr/share/pandoc/data/templates/default.revealjs
+REVEAL_THEME=moon
+
+slides:
+ test -s .gitmodules && git submodule update --init --recursive
+ pandoc -V theme=$(REVEAL_THEME) -V css=index.css -s --mathjax -i -t revealjs index.md -o index.html
+ pandoc -t beamer index.md -o index.pdf