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:
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.
--