lib/asciibook/builders/pdf_builder.rb in asciibook-0.0.3 vs lib/asciibook/builders/pdf_builder.rb in asciibook-0.0.4

- old
+ new

@@ -121,9 +121,10 @@ if page.node.is_a?(Asciidoctor::Section) && page.node.sectname == 'toc' prepare_toc_xsl(page) command << 'toc' << '--xsl-style-sheet' << 'toc.xsl' else command << page.path + command << '--allow' << File.expand_path(@tmp_dir) end end filename = "#{@book.basename}.pdf" command << filename command << { chdir: @tmp_dir }