Update FAQ authored by Armin Bernstetter's avatar Armin Bernstetter
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
- [Fragments](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#how-do-i-create-fragments-elements-appearing-one-after-another) - [Fragments](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#how-do-i-create-fragments-elements-appearing-one-after-another)
- [Columns](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#how-do-i-create-columns) - [Columns](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#how-do-i-create-columns)
- [Speaker Notes](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#how-do-i-create-speaker-notes) - [Speaker Notes](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#how-do-i-create-speaker-notes)
- [PDF](https://gitlab2.informatik.uni-wuerzburg.de/decker/decker/wikis/FAQ#pdfs)
## Vertical Slides ## Vertical Slides
...@@ -97,3 +99,32 @@ Lorem Ipsum ...@@ -97,3 +99,32 @@ Lorem Ipsum
# Speaker Notes Slide {.notes} # Speaker Notes Slide {.notes}
``` ```
## PDFs
There are currently two ways to create PDFs from your HTML presentation slides. Both require the browser Google Chrome to be installed.
### By using the command line
`decker` has two commands for creating PDFs
- `decker pdf`: Creates PDF versions of the HTML slides and handouts. Currently, the handouts are created via LaTeX and unfortunately lack in features.
- `decker pdf-decks`: Creates only PDF versions of the HTML slides. This works via opening the Chrome browser in the background.
### Directly from the browser
If you have `decker server` running, go to your slides and append `?print-pdf` to the "address" e.g. like this:
```
http://localhost:8888/example-deck.html?print-pdf#/
```
This will change the layout and you can now
- Open the in-browser print dialog (CTRL/CMD+P).
- Change the Destination setting to Save as PDF.
- Change the Layout to Landscape.
- Change the Margins to None.
- Enable the Background graphics option.
- Click Save.