From 08be3abdf0fcdfc4766cbbf01640497edf1380cd Mon Sep 17 00:00:00 2001 From: jcougnoux Date: Tue, 3 Jul 2018 14:37:41 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20autre=20fa=C3=A7on=20pour=20tra?= =?UTF-8?q?nsformer=20en=20slides=20pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoReveal.js.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/HowtoReveal.js.md b/HowtoReveal.js.md index 88fd7ede..fac923ee 100644 --- a/HowtoReveal.js.md +++ b/HowtoReveal.js.md @@ -85,6 +85,29 @@ $ docker cp `docker ps -lq`:slides/slides.pdf . $ docker rm `docker ps -lq` ~~~ +### Alternative en utilisant Chromium + +Si vous avez Chromium sur votre machine, assurez-vous que le fichier /css/print/pdf.css soit chargé (il est chargé par défaut dans l'index.html). Si vous utilisez un autre fichier html, vous pouvez ajouter la section suivante dans le HEAD : + +~~~ + +~~~ + +* Depuis Chromium, ouvrez votre fichier html et ajoutez à la fin `?print-pdf`. Exemple : revealjs.com?print-pdf. +* Vous pouvez ajouter l'option `&showNotes=true` pour conserver les speaker notes +* Ouvrez la fenêtre d'impression en faisant `control+p` +* Assurez-vous que la destination soit « Save as PDF » +* Le mode doit être « Paysage » ou « Landscape » +* Les marges doivent être à « None » +* Activez l'option « Background graphics » +* Sauvegardez + ### Alternative en utilisant NodeJS Débrouillez vous pour obtenir un nodejs et npm suffisamment récent puis suivre la procédure officielle : https://github.com/astefanutti/decktape#install (non testé).