asciidoctor / asciidoctor-gradle-examples

A collection of example projects that demonstrates how to use the Asciidoctor Gradle plugin
http://asciidoctor.github.io/asciidoctor-gradle-examples
Other
146 stars 132 forks source link

Example for themed PDFs #16

Closed fwilhe closed 8 years ago

fwilhe commented 8 years ago

As it was not obvious to me how to apply pdf themes, I would like to contribute an example for that, when I find the time.

Related: https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/183

mojavelinux commented 8 years ago

We could follow the model of the Maven examples and create a separate example. I'm leaning this way because I don't want people to get the impression that they have to create a custom theme to use Asciidoctor PDF. This way, they get to see both options.

See https://github.com/asciidoctor/asciidoctor-maven-examples/tree/master/asciidoctor-pdf-with-theme-example

The Maven example is using Prawn 2 to demonstrate how to set a background image. That won't be necessary once AsciidoctorJ 1.6.0 is out.

fwilhe commented 8 years ago

Right, my idea was to make a separate example. I did not check the maven examples before, but that looks like what I would like to make here.

mojavelinux commented 8 years ago

:+1:

rwinch commented 8 years ago

@fwilhe Thanks for volunteering to contribute! Looking forward to seeing a PR :)