From 18ef094558b7eaeba72b9305256321716962375a Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Wed, 5 Jun 2024 01:13:55 +0300 Subject: [PATCH] themes: fix PublicationEntry s --- rendercv/themes/classic/PublicationEntry.j2.tex | 2 +- rendercv/themes/engineeringresumes/PublicationEntry.j2.tex | 2 ++ rendercv/themes/sb2nov/PublicationEntry.j2.tex | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rendercv/themes/classic/PublicationEntry.j2.tex b/rendercv/themes/classic/PublicationEntry.j2.tex index 78c9d40..a1de4bd 100644 --- a/rendercv/themes/classic/PublicationEntry.j2.tex +++ b/rendercv/themes/classic/PublicationEntry.j2.tex @@ -15,7 +15,7 @@ \vspace{<>} <> - ((* if entry.doi or entry.journal *)) + ((* if entry.doi or entry.journal or entry.url *)) \vspace{<>} ((* endif *)) diff --git a/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex b/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex index cb310e8..b5eb909 100644 --- a/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex @@ -22,7 +22,9 @@ \begin{onecolentry} <> + ((* if entry.doi or entry.journal or entry.url *)) \vspace{<>} + ((* endif *)) ((* if entry.doi -*)) \href{<>}{<>} diff --git a/rendercv/themes/sb2nov/PublicationEntry.j2.tex b/rendercv/themes/sb2nov/PublicationEntry.j2.tex index f65c1a0..a141c0a 100644 --- a/rendercv/themes/sb2nov/PublicationEntry.j2.tex +++ b/rendercv/themes/sb2nov/PublicationEntry.j2.tex @@ -22,7 +22,7 @@ ((* endif *)) - ((* if entry.doi or entry.journal *)) + ((* if entry.doi or entry.journal or entry.url *)) \vspace{<>-3px} \begin{onecolentry} @@ -37,7 +37,7 @@ <> ((*- endif -*)) ((*- if (entry.doi or entry.url) and entry.journal *)))((* endif -*)) - ((* if entry.doi or entry.journal *)) + ((* if entry.doi or entry.journal or entry.url *)) \end{onecolentry} ((* endif *)) \end{samepage}