Quantcast

Gradle-example producing pdf via docbook

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Gradle-example producing pdf via docbook

elygre
We are migrating from a homebuilt doc toolchain to asciidoctor. We need PDF-output, but due to issues with the current (alpha-level) backend, we cannot use that. I understand that the proper alternative then is to go via docbook.

* Are there any examples of this, anywhere?
* In particular, are there any examples using gradle to do this?

https://github.com/asciidoctor/asciidoctor-gradle-examples only has examples using the pdf backend, which does not work for us.

Eirik
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Gradle-example producing pdf via docbook

mojavelinux
Administrator
I recommend looking at either the Hibernate ORM or the Sprint projects. They both use the setup you describe.


Cheers,

-Dan

On Wed, Jul 13, 2016 at 1:57 AM, elygre [via Asciidoctor :: Discussion] <[hidden email]> wrote:
We are migrating from a homebuilt doc toolchain to asciidoctor. We need PDF-output, but due to issues with the current (alpha-level) backend, we cannot use that. I understand that the proper alternative then is to go via docbook.

* Are there any examples of this, anywhere?
* In particular, are there any examples using gradle to do this?

https://github.com/asciidoctor/asciidoctor-gradle-examples only has examples using the pdf backend, which does not work for us.

Eirik


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Gradle-example-producing-pdf-via-docbook-tp4823.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Gradle-example producing pdf via docbook

elygre
So, truth to be told, I found both of these quite confusing:

* Spring uses a custom docbook plugin that really only generates their reference document
* Hibernate doesn't seem to generate pdf through their docbook toolchain (only html and html_single)

It gave me somewhere to start, though, and after waaay to much fiddeling something works. I haven't really tried it out on our big docs yet, but I have created a sample project that illustrates the concept: https://github.com/asciidoctor/asciidoctor-gradle-examples/pull/27

Eirik

On Wed, Jul 13, 2016 at 10:19 AM mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I recommend looking at either the Hibernate ORM or the Sprint projects. They both use the setup you describe.


Cheers,

-Dan

On Wed, Jul 13, 2016 at 1:57 AM, elygre [via Asciidoctor :: Discussion] <[hidden email]> wrote:
We are migrating from a homebuilt doc toolchain to asciidoctor. We need PDF-output, but due to issues with the current (alpha-level) backend, we cannot use that. I understand that the proper alternative then is to go via docbook.

* Are there any examples of this, anywhere?
* In particular, are there any examples using gradle to do this?

https://github.com/asciidoctor/asciidoctor-gradle-examples only has examples using the pdf backend, which does not work for us.

Eirik


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Gradle-example-producing-pdf-via-docbook-tp4823.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Gradle-example-producing-pdf-via-docbook-tp4823p4824.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Gradle-example producing pdf via docbook, click here.
NAML
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Gradle-example producing pdf via docbook

mojavelinux
Administrator
Thanks Eirik! That just proves why a straightforward example belongs in this repository.

Cheers,

-Dan

On Tue, Jul 19, 2016 at 2:16 AM, elygre [via Asciidoctor :: Discussion] <[hidden email]> wrote:
So, truth to be told, I found both of these quite confusing:

* Spring uses a custom docbook plugin that really only generates their reference document
* Hibernate doesn't seem to generate pdf through their docbook toolchain (only html and html_single)

It gave me somewhere to start, though, and after waaay to much fiddeling something works. I haven't really tried it out on our big docs yet, but I have created a sample project that illustrates the concept: https://github.com/asciidoctor/asciidoctor-gradle-examples/pull/27

Eirik

On Wed, Jul 13, 2016 at 10:19 AM mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I recommend looking at either the Hibernate ORM or the Sprint projects. They both use the setup you describe.


Cheers,

-Dan

On Wed, Jul 13, 2016 at 1:57 AM, elygre [via Asciidoctor :: Discussion] <[hidden email]> wrote:
We are migrating from a homebuilt doc toolchain to asciidoctor. We need PDF-output, but due to issues with the current (alpha-level) backend, we cannot use that. I understand that the proper alternative then is to go via docbook.

* Are there any examples of this, anywhere?
* In particular, are there any examples using gradle to do this?

https://github.com/asciidoctor/asciidoctor-gradle-examples only has examples using the pdf backend, which does not work for us.

Eirik


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Gradle-example-producing-pdf-via-docbook-tp4823.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Gradle-example-producing-pdf-via-docbook-tp4823p4824.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Gradle-example producing pdf via docbook, click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Gradle-example-producing-pdf-via-docbook-tp4823p4825.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Loading...