rinohtype
rinohtype copied to clipboard
Overriding a property of a base page template in a template configuration has no effect
Take for example this template configuration:
[TEMPLATE_CONFIGURATION]
name = My Article
template = article
[page]
left_margin = 0cm
header_text = 'HEADER'
The changes made to page, which serves as the base for contents_page for example, have no effect.
- [ ] write test reproducing this
- [ ] fix the bug
Any news on this? I'm trying to customize the document margins (like in the example above), and it doesn't work.
Sorry, no progress yet. For now, you can adjust the margins in each of the page sections (e.g. contents_page) individually.
Thanks @brechtm, indeed it works by setting the margins for each section.
[TEMPLATE_CONFIGURATION]
name = My Article
template = article
[VARIABLES]
left_margin = 2.0cm
[title_page]
left_margin = $(left_margin)
[front_matter_page]
left_margin = $(left_margin)
[contents_page]
left_margin = $(left_margin)