From c1067d7901bdb3978f0a7b564e465226499fac42 Mon Sep 17 00:00:00 2001
From: sedrubal <dev@sedrubal.de>
Date: Thu, 16 Nov 2017 18:29:11 +0100
Subject: [PATCH] Add things in order to make presentation printable

---
 index.html | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/index.html b/index.html
index 0c4f52d..6ae7034 100644
--- a/index.html
+++ b/index.html
@@ -16,6 +16,14 @@
     <link rel="stylesheet" href="./style.css">
 
     <link rel="stylesheet" href="./node_modules/font-awesome/css/font-awesome.min.css">
+
+    <script>
+var link = document.createElement( 'link' );
+link.rel = 'stylesheet';
+link.type = 'text/css';
+link.href = './node_modules/reveal.js/css/print/' + (window.location.search.match( /print-pdf/gi ) ? 'pdf.css' : 'paper.css');
+document.getElementsByTagName( 'head' )[0].appendChild( link );
+    </script>
   </head>
   <body>
     <div class="reveal">
@@ -726,7 +734,13 @@
               - zk-SNARK: https://eprint.iacr.org/2013/879.pdf
               - CHL06 (prevent laundering but keeping privacy): https://www.cs.jhu.edu/~susan/papers/CHL06.pdf
 
-              <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Everything else </span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://gitlab.cs.fau.de/sedrubal/blockchain-presentation-privacy-by-design" property="cc:attributionName" rel="cc:attributionURL">Sebastian Endres</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
+              *Last access on all sources: 2017-11-16*
+
+              <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
+                <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
+              </a>
+              <br>
+              Everything else is created by <a xmlns:cc="http://creativecommons.org/ns#" href="https://gitlab.cs.fau.de/sedrubal/blockchain-presentation-privacy-by-design" property="cc:attributionName" rel="cc:attributionURL">Sebastian Endres</a> and licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
               <p><br></p>
             </textarea>
           </section>
@@ -788,14 +802,15 @@
     <script src="./node_modules/reveal.js/lib/js/head.min.js"></script>
     <script>
       Reveal.initialize({
-        controls: true,
-        slideNumber: true,
-        progress: true,
-        history: true,
-        center: false,
-        showNotes: false, // show notes on the main presentation screen
-
-        transition: 'fade', // none/fade/slide/convex/concave/zoom
+        controls: true,  // show controls
+        slideNumber: true,  // show slide numbers
+        progress: true,  // show progress bar
+        history: true,  // create a history in browser
+        center: false,  // start slides at top
+        showNotes: false,  // show notes on the main presentation screen
+        pdfMaxPagesPerSlide: 1,  // max 1 slide per page for printing
+
+        transition: 'fade',  // none/fade/slide/convex/concave/zoom
 
         math: {
           mathjax: './node_modules/mathjax/MathJax.js',
-- 
GitLab