Skip to content

Commit

Permalink
Merge branch 'release/0.2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
fauno committed Jan 19, 2017
2 parents d30b70a + 3e9e789 commit 2d46582
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ pandoc:
imposition: true
binder: true
covers_dir: assets/covers
signature: 20

flags: '--smart'
site_flags: '--toc'
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions lib/jekyll-pandoc-multiple-formats/imposition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def initialize(file, papersize = nil, sheetsize = nil, signature = nil, extra_op
@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
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-pandoc-multiple-formats/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module JekyllPandocMultipleFormats
VERSION = '0.2.8'
VERSION = '0.2.9'
end

0 comments on commit 2d46582

Please sign in to comment.