Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jekyll-pandoc-multiple-formats
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edsl
jekyll-pandoc-multiple-formats
Commits
3e9e789f
Unverified
Commit
3e9e789f
authored
Jan 19, 2017
by
fauno
Browse files
Options
Downloads
Patches
Plain Diff
single fold imposition and some docs
parent
41811bf0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+9
-2
9 additions, 2 deletions
README.md
lib/jekyll-pandoc-multiple-formats/imposition.rb
+2
-0
2 additions, 0 deletions
lib/jekyll-pandoc-multiple-formats/imposition.rb
lib/jekyll-pandoc-multiple-formats/version.rb
+1
-1
1 addition, 1 deletion
lib/jekyll-pandoc-multiple-formats/version.rb
with
12 additions
and
3 deletions
README.md
+
9
−
2
View file @
3e9e789f
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
lib/jekyll-pandoc-multiple-formats/imposition.rb
+
2
−
0
View file @
3e9e789f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
lib/jekyll-pandoc-multiple-formats/version.rb
+
1
−
1
View file @
3e9e789f
module
JekyllPandocMultipleFormats
VERSION
=
'0.2.
8
'
VERSION
=
'0.2.
9
'
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment