-
Notifications
You must be signed in to change notification settings - Fork 100
install asciidoctor and pdf
Joseph Cayouette edited this page Jun 18, 2021
·
9 revisions
Table of Contents
This guide will help you install the gems required to build documents from adoc sources in a local environment via asciidoctor or to build PDF documents from local sources via the asciidoctor-pdf gem.
Now that you have Ruby and rbev installed you can proceed with installation of asciidoctor and asciidoctor-pdf. We have also included support packages for various syntax highlighting options:
Install Asciidoctor:
gem install asciidoctor
Install Asciidoctor PDF:
gem install asciidoctor-pdf --pre
Install support packages:
gem install rouge coderay rb-pygments concurrent-ruby asciidoctor-diagram
Install the image support package:
To use the prawn-gmagick gem you need GraphicsMagick on your system:
sudo zypper install GraphicsMagick sudo zypper install GraphicsMagick-devel
gem install prawn-gmagick -v 0.0.9
Now that the primary build tools are installed and setup lets build the docs. Building the Docs!