Skip to content
Snippets Groups Projects
Unverified Commit 3e9e789f authored by fauno's avatar fauno
Browse files

single fold imposition and some docs

parent 41811bf0
Branches
No related tags found
No related merge requests found
......@@ -41,6 +41,7 @@ pandoc:
imposition: true
binder: true
covers_dir: assets/covers
signature: 20
flags: '--smart'
site_flags: '--toc'
......@@ -72,12 +73,18 @@ regular jekyll site build.
* `bundle_permalink` is the path of the bundled articles
* `papersize` is the page size for PDF
* `papersize` is the page size for PDF. You can also use this option on
the front matter.
* `sheetsize` is the page size for ready the print PDF
* `sheetsize` is the page size for ready the print PDF. You can also
use this option on the front matter.
* `covers_dir` the directory where covers are stored
* `signature` is the amount of pages per fold on the imposition version.
Specify `0` for a single fold of all the pages. You can also use this
option on the front matter.
**IMPORTANT**: As of version 0.1.0 the syntax of the config changed.
Please upgrade your `_config.yml` accordingly.
......
......@@ -34,6 +34,8 @@ module JekyllPandocMultipleFormats
@blank_pages = @rounded_pages - @pages
# If we don't use a signature, make a single fold
@signature = signature || @rounded_pages
# Also if we specified 0
@signature = @rounded_pages if signature == 0
render_template
self
......
module JekyllPandocMultipleFormats
VERSION = '0.2.8'
VERSION = '0.2.9'
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment