summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-09-09 01:12:51 -0600
committerGitHub <noreply@github.com>2016-09-09 01:12:51 -0600
commit3703f46d1ed33b999f82c423d84440e4da2f785d (patch)
tree6e6d6bb2ff83595f58e964e63d8dce25ffcd2266 /data
parent6b91540888fd4f5d022ce27a70dd420155d5f7a8 (diff)
resolves #383 add support for recto/verso margins (PR #415)
- add support for recto/verso margins when attribute media=prepress - introduce page_margin_inner and page_margin_outer keys to theme - calculate page margin for recto and verso pages automatically - add recto/verso support to running content - start title page, toc, and content on recto page when media=prepress and doctype=book - add set_page_margin helper - add page_margin helper - add page_side helper - add recto_page? and verso_page? helpers - resolve #458 add page labels for all front matter pages to fix page numbering in outline - simplify toc page nums calculation - document "prepress" publishing mode in theming guide - use term "periphery" instead of "position" to refer to running content region - fix some formatting and wording in theming guide
Diffstat (limited to 'data')
-rw-r--r--data/themes/default-theme.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml
index 301a21fa..ac3f781d 100644
--- a/data/themes/default-theme.yml
+++ b/data/themes/default-theme.yml
@@ -25,6 +25,9 @@ page:
background_color: ffffff
layout: portrait
margin: [0.5in, 0.67in, 0.67in, 0.67in]
+ # margin_inner and margin_outer keys are used for recto/verso print margins when media=press
+ margin_inner: 0.75in
+ margin_outer: 0.59in
size: A4
base:
align: justify