From b1dc11abe376286e97c3d79fb7ff0058a3110a80 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Thu, 18 Jan 2024 10:05:51 +0100 Subject: [PATCH] Add Publications. --- cv-pubs.tex | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++ cv.tex | 7 +++ hdr.tex | 1 + 3 files changed, 130 insertions(+) create mode 100644 cv-pubs.tex diff --git a/cv-pubs.tex b/cv-pubs.tex new file mode 100644 index 0000000..425a605 --- /dev/null +++ b/cv-pubs.tex @@ -0,0 +1,122 @@ +% Distinguish between "real" journals and preprint sites. +\defbibcheck{formal}{ + \ifboolexpr{ + test {\iffieldequalstr{journaltitle}{CoRR}} + or + test {\iffieldequalstr{journaltitle}{bioRxiv}} + } + {\skipentry} + {} +} + +\defbibcheck{informal}{% + \ifboolexpr{ + test {\iffieldequalstr{journaltitle}{CoRR}} + or + test {\iffieldequalstr{journaltitle}{bioRxiv}} + } + {} + {\skipentry} +} + + +% Typeset my name in bold in the bibliography. +% https://tex.stackexchange.com/a/327046 +\def\makenamesetup{% + \def\bibnamedelima{~}% + \def\bibnamedelimb{ }% + \def\bibnamedelimc{ }% + \def\bibnamedelimd{ }% + \def\bibnamedelimi{ }% + \def\bibinitperiod{.}% + \def\bibinitdelim{~}% + \def\bibinithyphendelim{.-}} +\newcommand*{\makename}[2]{\begingroup\makenamesetup\xdef#1{#2}\endgroup} + +\newcommand*{\boldname}[3]{% + \def\lastname{#1}% + \def\firstname{#2}% + \def\firstinit{#3}} +\boldname{}{}{} + +% Patch new definitions +\renewcommand{\mkbibnamegiven}[1]{% + \ifboolexpr{ ( test {\ifdefequal{\firstname}{\namepartgiven}} or test {\ifdefequal{\firstinit}{\namepartgiven}} ) and test {\ifdefequal{\lastname}{\namepartfamily}} } + {\mkbibbold{#1}}{#1}% +} + +\renewcommand{\mkbibnamefamily}[1]{% + \ifboolexpr{ ( test {\ifdefequal{\firstname}{\namepartgiven}} or test {\ifdefequal{\firstinit}{\namepartgiven}} ) and test {\ifdefequal{\lastname}{\namepartfamily}} } + {\mkbibbold{#1}}{#1}% +} + +% Typeset my name in bold. +\boldname{Ivanov}{Sergiu}{} + + +\begin{refsection}[bib/sivanov-dblp.bib,bib/sivanov-extra.bib] + +\nocite{*} + +\subsection*{Book chapters} +\label{sec:chapters} + +\newrefcontext[sorting=ydnt,labelprefix=ch] +\printbibliography[ + heading=none, + type=inbook +] + +\subsection*{Peer-reviewed journals} +\label{sec:journals} + +\newrefcontext[sorting=ydnt,labelprefix=j] +\printbibliography[ + heading=none, + type=article, + check=formal +] + +\subsection*{Conference proceedings} +\label{sec:proceedings} + +\newrefcontext[sorting=ydnt,labelprefix=c] +\printbibliography[ + heading=none, + type=inproceedings +] + +\subsection*{Theses} +\label{sec:theses} + +\newrefcontext[sorting=ydnt,labelprefix=t] +\printbibliography[ + heading=none, + type=thesis +] + +\subsection*{Technical reports} +\label{sec:reports} + +\newrefcontext[sorting=ydnt,labelprefix=r] +\printbibliography[ + heading=none, + type=report +] + +\subsection*{Preprints} +\label{sec:informal} + +\newrefcontext[sorting=ydnt,labelprefix=p] +\printbibliography[ + heading=none, + type=article, + check=informal +] + +\end{refsection} + +%%% Local Variables: +%%% TeX-engine: luatex +%%% TeX-master: "hdr" +%%% End: diff --git a/cv.tex b/cv.tex index 1d484fb..5fe174b 100644 --- a/cv.tex +++ b/cv.tex @@ -602,6 +602,13 @@ the digital service of Thales Group. & \textbf{SI: 25\%}, Nicolas \textsc{Glade} 75\% \\[\internskip] \end{tabularx} +\section{Publications} +\label{sec:publications} + +\cvsecrule + +\input{cv-pubs} + %%% Local Variables: %%% TeX-engine: luatex %%% TeX-master: "hdr" diff --git a/hdr.tex b/hdr.tex index 40513ec..94053af 100644 --- a/hdr.tex +++ b/hdr.tex @@ -29,6 +29,7 @@ \usepackage{titlesec} \usepackage{tabularx} \usepackage{hyperref} +\usepackage[backend=biber,style=numeric,maxbibnames=99,doi=false,url=false,defernumbers=true]{biblatex} \hypersetup{ pdfauthor={Sergiu Ivanov},