mirror of https://github.com/eyhc1/rendercv.git
sb2nov: fix PublicationEntry without journal and doi
This commit is contained in:
parent
17da236450
commit
c542971219
|
@ -121,6 +121,14 @@
|
|||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumePublicationSubheading}[3]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-0.4 cm}[t]{X R{4.1 cm}}
|
||||
#1 & \small#2 \\
|
||||
#3
|
||||
\end{tabularx}
|
||||
}
|
||||
|
||||
\newcommand{\resumeNormalSubheading}[2]{
|
||||
\item
|
||||
\begin{tabularx}{0.98\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>}[t]{X R{<<design.margins.entry_area.date_and_location_width>>}}
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
\resumeSubheading
|
||||
{\textbf{<<entry.title>>}}{\textit{<<entry.date_string>>}}
|
||||
\resumePublicationSubheading{
|
||||
\textbf{<<entry.title>>}
|
||||
}{
|
||||
\textit{<<entry.date_string>>}
|
||||
}
|
||||
{
|
||||
\textit{((*- if entry.doi != "" -*))
|
||||
\href{<<entry.doi_url>>}{<<entry.doi>>}
|
||||
((*- if entry.doi != "" -*))
|
||||
\small\textit{\href{<<entry.doi_url>>}{<<entry.doi>>}}
|
||||
((*- endif -*))
|
||||
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
|
||||
((*- if entry.journal != "" -*))
|
||||
<<entry.journal>>
|
||||
\small\textit{<<entry.journal>>}
|
||||
((*- endif -*))
|
||||
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))}
|
||||
}{}
|
||||
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
|
||||
}
|
||||
\resumeItemListStart
|
||||
\resumeItem{}{\raggedright <<entry.authors|map("make_it_nolinebreak")|join(", ")>> \par}
|
||||
\resumeItemListEnd
|
Loading…
Reference in New Issue