]> piware.de Git - talk-cockpit-auth-anywhere.git/commitdiff
Build notes separately
authorMartin Pitt <martin@piware.de>
Sun, 19 Jan 2020 10:59:48 +0000 (11:59 +0100)
committerMartin Pitt <martin@piware.de>
Sun, 19 Jan 2020 11:26:09 +0000 (12:26 +0100)
.gitignore
Makefile
cockpit-auth-anywhere.md

index 1e91a7fccf9021c65b2e5f0af8c5d8286cd2f52f..25732ae39165a2f5584dab4beca5535c8bf767a5 100644 (file)
@@ -1,3 +1,4 @@
 cockpit-auth-anywhere.pdf
+cockpit-auth-anywhere-notes.pdf
 bots
 tmp
index 9b0ef6dfc6841afce42b8a6921363738751c6abe..e97bc2e9609fd5d99115529a4f44caee80a065a1 100644 (file)
--- 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:
index 32d543635814a3502ef27ba2fdf05dd6eb2083fa..3845cdedc961c592d4e32dc0464a765ceb6506ef 100644 (file)
@@ -6,7 +6,7 @@ email: mpitt@redhat.com
 date: DevConv.CZ 2020
 theme: Singapore
 header-includes:
- - \setbeameroption{show notes}
+ - \setbeameroption{hide notes}
 ...
 
 # Cockpit what?