From: Martin Pitt Date: Sun, 19 Jan 2020 10:59:48 +0000 (+0100) Subject: Build notes separately X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=2ae8623120e5eae4e3c63bf1f8ac55b7709a7886;p=talk-cockpit-auth-anywhere.git Build notes separately --- diff --git a/.gitignore b/.gitignore index 1e91a7f..25732ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ cockpit-auth-anywhere.pdf +cockpit-auth-anywhere-notes.pdf bots tmp diff --git a/Makefile b/Makefile index 9b0ef6d..e97bc2e 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ cockpit-auth-anywhere.pdf: cockpit-auth-anywhere.md pandoc -t beamer -o $@ $< + sed '/setbeameroption/ s/{.*notes/{show only notes/' cockpit-auth-anywhere.md | pandoc -t beamer -o cockpit-auth-anywhere-notes.pdf - clean: - rm -f cockpit-auth-anywhere.pdf + rm -f cockpit-auth-anywhere.pdf cockpit-auth-anywhere-notes.pdf # install the necessary tools to build this presentation deps: diff --git a/cockpit-auth-anywhere.md b/cockpit-auth-anywhere.md index 32d5436..3845cde 100644 --- a/cockpit-auth-anywhere.md +++ b/cockpit-auth-anywhere.md @@ -6,7 +6,7 @@ email: mpitt@redhat.com date: DevConv.CZ 2020 theme: Singapore header-includes: - - \setbeameroption{show notes} + - \setbeameroption{hide notes} ... # Cockpit what?