This is a slide deck authored in Asiidoc, converted into a DZSlides deck using the asciidoctor-backends project.
This should done only if you want to prepare a new deck.
Clone the asciidoctor-backends and custom dzslides repos:
git clone https://github.com/asciidoctor/asciidoctor-backends.git git clone https://github.com/mojavelinux/dzslides.git
Delete the underlying git repo and indices:
rm -rf asciidoctor-backends/.git rm -rf dzslides/.git
The slides in slides.adoc
are authored in Asciidoc. Read this guide to get started on the syntax.
Incorporate any content using plaintext.
asciidoctor -b dzslides -T asciidoctor-backends/slim/dzslides -a linkcss -a data-uri slides.adoc
Conversion of the HTML5 slide deck is performed using deck2pdf.
Java 8 is recommended to ensure that CSS3 font-faces are found and included correctly.
tar zxvf jdk-8-fcs-bin-b132-linux-x64-04_mar_2014.tar.gz -C /opt export JAVA_HOME=/opt/jdk1.8.0 export PATH=$JAVA_HOME/bin:$PATH
Build deck2pdf
git clone https://github.com/melix/deck2pdf cd deck2pdf ./gradlew distZip
Unzip the distribution somewhere and add to PATH
unzip deck2pdf/build/distributions/deck2pdf-0.1-SNAPSHOT.zip -d <DECK2PDF_HOME> export PATH=<DECK2PDF_HOME>/bin:$PATH