Login  Register

Re: AsciiDoctor PDF & slide-show presentations

Posted by mojavelinux on Sep 02, 2020; 7:29pm
URL: https://discuss.asciidoctor.org/AsciiDoctor-PDF-slide-show-presentations-tp6053p8209.html

> Meaning it might be better to copy over the entire theme and change what you need.

I strongly recommend against doing that. That's why the theme can be extended. What I recommend is to either override all the keys you need to override from the default theme, or extend the base theme (which is much more minimal) and define the keys you need.

Best Regards,

-Dan

On Wed, Sep 2, 2020 at 8:44 AM mcp292 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I found out that the variables in the theme you extend are not updated when you change values they reference. Meaning it might be better to copy over the entire theme and change what you need. For my purposes I'd rather only change what I had to.

I added a line to increase the page number size and got rid of the margin top stuff:

```
extends: default
base:
  font_size: 15
heading:
  h1-font-size: 30  
  h2-font-size: 25    
  h3-font-size: 20
  h4-font-size: 15
title_page:
  authors:
    font_size: $heading_h3_font_size
code:
  font-size: 15
footer:
  font-size: 12
```


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/AsciiDoctor-PDF-slide-show-presentations-tp6053p8206.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux