summaryrefslogtreecommitdiffstats
path: root/lib/generators/ebook.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/ebook.js')
-rw-r--r--lib/generators/ebook.js2
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, {