From 93681dd1050068b721372d25b77d1672c6367e8c Mon Sep 17 00:00:00 2001 From: Kentaro KAZUHAMA Date: Sat, 18 Jun 2016 18:25:06 +0900 Subject: [PATCH] layout.tex.erb:works for pdf build if "config.yml" does not have "rights". --- templates/latex/layout.tex.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/latex/layout.tex.erb b/templates/latex/layout.tex.erb index 963c366ad..93a2aed2a 100644 --- a/templates/latex/layout.tex.erb +++ b/templates/latex/layout.tex.erb @@ -340,7 +340,9 @@ \end{tabular}  \\ \rule[0pt]{14cm}{1pt} \\ +<%- if @config["rights"] -%> <%= @config.names_of("rights").map{|s| escape_latex(s)}.join('\\' + '\\') %> \\ +<%- end -%> <%- end -%> <%- end -%>