update PublicationEntry templates for optional DOI

This commit is contained in:
Sina Atalay 2024-03-09 18:53:29 +01:00
parent 0354b77fab
commit 57d34c3d31
4 changed files with 24 additions and 4 deletions

View File

@ -15,7 +15,14 @@
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
\href{<<entry.doi_url>>}{<<entry.doi>>} ((* if not entry.journal == "" *))(<<entry.journal>>)((* endif *))
((*- if entry.doi != "" -*))
\href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*))
<<entry.journal>>
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
&
<<entry.date_string>>
\end{tabularx}

View File

@ -1,4 +1,4 @@
## <<entry.title>> ([<<entry.doi>>](<<entry.doi_url>>))
## <<entry.title>> ((* if entry.doi != "" *))([<<entry.doi>>](<<entry.doi_url>>))((* endif *))
- <<entry.date_string>>
- <<entry.authors|join(", ")>>

View File

@ -1,2 +1,6 @@
\cventry{<<entry.date_string>>}{<<entry.title>>}{<<entry.journal>>}{\href{<<entry.doi_url>>}{<<entry.doi>>}}{}{}
\cventry{<<entry.date_string>>}{<<entry.title>>}{<<entry.journal>>}{
((*- if entry.doi != "" -*))
\href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*))
}{}{}
\cvline{}{\small <<entry.authors|map("make_it_nolinebreak")|join(", ")>>}

View File

@ -1,6 +1,15 @@
\resumeSubheading
{<<entry.title>>}{<<entry.date_string>>}
{\href{<<entry.doi_url>>}{<<entry.doi>>} ((* if not entry.journal == "" *))(<<entry.journal>>)((* endif *))}{}
{
((*- if entry.doi != "" -*))
\href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*))
<<entry.journal>>
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
}{}
\resumeItemListStart
\resumeItem{}{\raggedright <<entry.authors|map("make_it_nolinebreak")|join(", ")>> \par}
\resumeItemListEnd