asciidoctor / asciidoctorj-pdf

AsciidoctorJ PDF bundles the Asciidoctor PDF RubyGem (asciidoctor-pdf) so it can be loaded into the JVM using JRuby.
Apache License 2.0
36 stars 17 forks source link

Update rouge gem to latest version and add rghost gem for PDF optimiz… #35

Closed robertpanzer closed 4 years ago

robertpanzer commented 4 years ago

…ation

Kind of change

[ ] Bug fix [X] New non-breaking feature [ ] New breaking feature [ ] Documentation update [ ] Build improvement

Description

What is the goal of this pull request?

This PR updates the version of the rouge gem to the latest version 3.13.0. I tested that the angular snippet provided by @mraible still looks ok.

Additionally I added the rghost gem which seems to be an optional dependency of asciidoctor-pdf which was missing previously. With this PDF files will get optimized with ghostscript when converting with the optimize attribute.

How does it achieve that?

Simply a dependency upgrade in the build files.