From 2ae8623120e5eae4e3c63bf1f8ac55b7709a7886 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 19 Jan 2020 11:59:48 +0100 Subject: [PATCH] Build notes separately --- .gitignore | 1 + Makefile | 3 ++- cockpit-auth-anywhere.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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? -- 2.39.2