Login  Register

Re: Customizing PDF export template

Posted by mojavelinux on Oct 30, 2018; 6:43am
URL: https://discuss.asciidoctor.org/Customizing-PDF-export-template-tp6416p6573.html

> Get rid of the title page

Set the notitle attribute, like this:

asciidoctor-pdf -a notitle input.adoc

> Add the title and subtitle on top of first page instead

See this discussion:

https://github.com/asciidoctor/asciidoctor-pdf/issues/95

Cheers,

-Dan

On Fri, Jul 13, 2018 at 6:22 AM unfa [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Ok, so I'va managed to find the templates used:
$ locate asciidoctor | grep .yml
/var/lib/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.16/data/themes/base-theme.yml
/var/lib/gems/2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.16/data/themes/default-theme.yml

I've copied them as a reference and managed to use them for asciidoctor-pdf export from Atom's preview.

Now I just need to find out what do I have to change in that .yml.

I want to:

1. Get rid of the title page
2. Add the title and subtitle on top of first page instead

Making the table is less important, though knowing how to do that would be great later.



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Customizing-PDF-export-template-tp6416p6417.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