Login  Register

Re: Customizing PDF export template

Posted by abelsromero on Jul 13, 2018; 1:03pm
URL: https://discuss.asciidoctor.org/Customizing-PDF-export-template-tp6416p6418.html

Hi, welcome to the  forum!

Not sure eveything you want to do can be achieved, but I think you should have a look at the theme guide:
https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc.

Amongst other things, it shows how to disable the title page with an attrtibute:
The title page can be disabled from the document by setting the notitle attribute in the AsciiDoc document header.
If you want ot play with it, in the maven plugin examples we have a demo ready to use (provided you have Java and maven): https://github.com/asciidoctor/asciidoctor-maven-examples/blob/master/asciidoctor-pdf-with-theme-example/.

If you want to ran directly from Ruby, you can see the required attributed to add to the command in the pom.xml.