diff --git a/lib/review/pdfmaker.rb b/lib/review/pdfmaker.rb index f0b7286ee..4f6f4844a 100644 --- a/lib/review/pdfmaker.rb +++ b/lib/review/pdfmaker.rb @@ -232,7 +232,7 @@ def generate_pdf(yamlfile) @config["usepackage"] = "\\usepackage{#{@config['texstyle']}}" end - copy_images("./images", File.join(@path, "images")) + copy_images(@config["imagedir"], File.join(@path, "images")) copyStyToDir(File.join(Dir.pwd, "sty"), @path) copyStyToDir(File.join(Dir.pwd, "sty"), @path, "fd") copyStyToDir(File.join(Dir.pwd, "sty"), @path, "cls")