Skip to content
Herman Jordaan edited this page Jan 20, 2015 · 1 revision

Prerequisites

To generate the slideshows and other documents:

To play the slide shows, you need the reveal.js framework.

You can add page numbers and other text to PDF files with cpdf (the Coherent PDF Command Line Tools).

AsciiDoc

You can install AsciiDoc with MacPorts:

$ port install asciidoc

Asciidoctor

For information about installing Asciidoctor, see the following page: http://asciidoctor.org/docs/install-asciidoctor-macosx/

$ sudo gem update --system
$ sudo gem install asciidoctor -N
$ asciidoctor -V

You also need the following for reveal.js and the asciidoctor-reveal.js backend:

$ sudo gem install tilt
$ sudo gem install thread_safe
$ sudo gem install slim --version 2.1.0

reveal.js

The full framework (release 2.6.2) is included in this repository. See https://github.com/hakimel/reveal.js/releases.

asciidoctor reveal.js backend

The files are included in this repository.

Some changes are required to the following file: asciidoctor-reveal.js/templates/slim/document.html.slim

If you get an error on the line title=(doctitle sanitize: true, use_fallback: true) comment it out (by placing with a / at the start), then add a line with only the following: title=doctitle

Find the following:

section
	[email protected]
	p: small=author

and change it to this:

section
	[email protected]
	p=author

cpdf

http://community.coherentpdf.com

Clone this wiki locally