diff options
author | Samy Pesse <samypesse@gmail.com> | 2015-12-16 20:55:06 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2015-12-16 20:55:06 +0100 |
commit | 6969bb9a5c51aa5f24bb50356f4d11f058f481dc (patch) | |
tree | 17d8b537d47c783f3c67a71775f7b0f06001c1eb /lib/generators/ebook.js | |
parent | 4567041456201eb4617a30ee8a3aae8993dd3568 (diff) | |
download | gitbook-6969bb9a5c51aa5f24bb50356f4d11f058f481dc.zip gitbook-6969bb9a5c51aa5f24bb50356f4d11f058f481dc.tar.gz gitbook-6969bb9a5c51aa5f24bb50356f4d11f058f481dc.tar.bz2 |
Fix include of css in pdf header/footer
Diffstat (limited to 'lib/generators/ebook.js')
-rw-r--r-- | lib/generators/ebook.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/ebook.js b/lib/generators/ebook.js index 6052003..ff804c6 100644 --- a/lib/generators/ebook.js +++ b/lib/generators/ebook.js @@ -63,7 +63,7 @@ Generator.prototype.getPDFTemplate = function(id) { // Custom PDF style if (this.styles.pdf) { - stylesheets.push(fs.readFileSync(this.book.resolve(this.styles.pdf), { encoding: 'utf-8' })); + stylesheets.push(fs.readFileSync(this.book.resolveOutput(this.styles.pdf), { encoding: 'utf-8' })); } tpl = juice(tpl, { |