lib/asciibook/builders/pdf_builder.rb in asciibook-0.0.5 vs lib/asciibook/builders/pdf_builder.rb in asciibook-0.1.0.pre.beta
- old
+ new
@@ -113,9 +113,10 @@
command << '--footer-spacing' << @theme_config.fetch('footer_spacing', 0).to_s
if @book.cover_image_path
prepare_cover
command << 'cover' << 'cover.html'
+ command << '--allow' << File.expand_path(@tmp_dir)
end
@book.pages.each do |page|
if page.node.is_a?(Asciidoctor::Section) && page.node.sectname == 'toc'
prepare_toc_xsl(page)