Exporting presentations in PDF format
Presentations can be converted into PDF by using weasyprint. Follow their installation instructions since it may require you to install extra dependencies for the tool to work.
note
If you were using presenterm-export before, that tool already required weasyprint so it is already installed in whatever virtual env you were using and there's nothing to be done.
After you've installed weasyprint, run presenterm with the --export-pdf
parameter to generate the output PDF:
presenterm --export-pdf examples/demo.md
The output PDF will be placed in examples/demo.pdf
.
note
If you're using a separate virtual env to install weasyprint just make sure you activate it before running
presenterm with the --export-pdf
parameter.
PDF page size
By default, the size of each page in the generated PDF will depend on the size of your terminal.
If you would like to instead configure the dimensions by hand, set the export.dimensions
key in the configuration file
as described in the settings page.