diff options
Diffstat (limited to 'lib/output/base.js')
-rw-r--r-- | lib/output/base.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/output/base.js b/lib/output/base.js index 6678bb0..2a7ec48 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -76,12 +76,12 @@ Output.prototype.generate = function() { .value(); return Promise.serie(byTypes.asset, function(filename) { - that.log.info.ln('copy asset', filename); + that.log.debug.ln('copy asset', filename); return that.onAsset(filename); }) .then(function() { return Promise.serie(byTypes.page, function(filename) { - that.log.info.ln('process page', filename); + that.log.debug.ln('process page', filename); return that.onPage(that.book.getPage(filename)); }); }); @@ -154,6 +154,7 @@ Output.prototype.onOutputSVG = function(page, svg) { // Output an image as a file // Normalize the relative link Output.prototype.onOutputImage = function(page, imgFile) { + imgFile = page.resolveLocal(imgFile); return page.relative(imgFile); }; |