From 9c97e76745e288853511e99f2071818b61f6c589 Mon Sep 17 00:00:00 2001 From: Kenshi Muto Date: Wed, 20 Apr 2016 11:44:56 +0900 Subject: [PATCH] move lib/review/layout.tex.erb to templates/latex/ --- lib/review/pdfmaker.rb | 2 +- {lib/review => templates/latex}/layout.tex.erb | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {lib/review => templates/latex}/layout.tex.erb (100%) diff --git a/lib/review/pdfmaker.rb b/lib/review/pdfmaker.rb index 47c329e55..393321abc 100644 --- a/lib/review/pdfmaker.rb +++ b/lib/review/pdfmaker.rb @@ -342,7 +342,7 @@ def get_template @config["pubhistory"] = make_history_list.join("\n") end - template = File.expand_path('layout.tex.erb', File.dirname(__FILE__)) + template = File.expand_path('./latex/layout.tex.erb', ReVIEW::Template::TEMPLATE_DIR) layout_file = File.join(@basedir, "layouts", "layout.tex.erb") if File.exist?(layout_file) template = layout_file diff --git a/lib/review/layout.tex.erb b/templates/latex/layout.tex.erb similarity index 100% rename from lib/review/layout.tex.erb rename to templates/latex/layout.tex.erb