diff --git a/lib/generators/ebook.js b/lib/generators/ebook.js
index <HASH>..<HASH> 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, {
Fix include of css in pdf header/footer