From 67854e8164da21ba0bf2dbd060e645b5ca87eb8e Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Wed, 30 Jan 2019 12:38:34 +0100 Subject: Only add copyleft symbol when license is defined --- pandoc/templates/elenq-article.latex | 6 +++--- pandoc/templates/elenq-book.latex | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pandoc') diff --git a/pandoc/templates/elenq-article.latex b/pandoc/templates/elenq-article.latex index c103547..50ec24a 100644 --- a/pandoc/templates/elenq-article.latex +++ b/pandoc/templates/elenq-article.latex @@ -279,7 +279,7 @@ $endif$ \fancyfoot{} % clear footer \renewcommand{\footrulewidth}{0.4pt} \fancyfoot[RO, LE]{\thepage} -\fancyfoot[LO, RE]{\textcopyleft $author$} +\fancyfoot[LO, RE]{$if(license)$\textcopyleft $endif$ $author$} % Header on CHAPTER PAGE TODO \fancypagestyle{chapter}{% @@ -292,7 +292,7 @@ $endif$ \fancyhead{} % clear header \renewcommand{\headrulewidth}{0pt} \fancyfoot[R]{$author$} - \fancyfoot[L]{\textcopyleft $license$} + \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$} } % Article titlepage, similar to book chapter @@ -301,7 +301,7 @@ $endif$ \fancyhead[L]{\logo{0.5}} \fancyhead[R]{\LARGE{$title$}} \fancyfoot[R]{$author$} - \fancyfoot[L]{\textcopyleft $license$} + \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$} } % Beautiful quotes diff --git a/pandoc/templates/elenq-book.latex b/pandoc/templates/elenq-book.latex index aafe32c..cfb7d7f 100644 --- a/pandoc/templates/elenq-book.latex +++ b/pandoc/templates/elenq-book.latex @@ -310,7 +310,7 @@ $endif$ \fancyfoot{} % clear footer \renewcommand{\footrulewidth}{0.4pt} \fancyfoot[RO, LE]{\thepage} -\fancyfoot[LO, RE]{\textcopyleft $author$} +\fancyfoot[LO, RE]{$if(license)$\textcopyleft $endif$ $author$} % Header on CHAPTER PAGE TODO \fancypagestyle{chapter}{% @@ -323,7 +323,7 @@ $endif$ \fancyhead{} % clear header \renewcommand{\headrulewidth}{0pt} \fancyfoot[R]{$author$} - \fancyfoot[L]{\textcopyleft $license$} + \fancyfoot[L]{$if(license)$\textcopyleft $license$ $endif$} } % Beautiful quotes -- cgit v1.2.3