Login  Register

Re: AsciiDoctor PDF & slide-show presentations

Posted by mcp292 on Aug 24, 2020; 8:06pm
URL: https://discuss.asciidoctor.org/AsciiDoctor-PDF-slide-show-presentations-tp6053p8201.html

I've since created a bash function in my ~/.bashrc. I store the above theme in a central location and can call the function to create a slide pdf from any directory:

```
adocslide()
{
    asciidoctor-pdf -a pdf-theme=/path/to/theme.yml "$1"
}
```

Use:
`adocslide presentation.adoc`

Possible improvement could be including page size in the theme, but for me it serves as a reminder to use page breaks (<<<), and an indication that I am working in an adoc file intended for slides.