Skip to content

Commit

Permalink
Publications
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Mar 4, 2019
1 parent 4e379a7 commit 8753613
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 50 deletions.
24 changes: 16 additions & 8 deletions bibliography.bib
Expand Up @@ -48,7 +48,8 @@ @inproceedings{friggeri:2010:inria-00475921:1
KEYWORDS = {france},
ADDRESS = {Belle Dune, France},
MONTH = Jun,
URL = {http://hal.inria.fr/inria-00475921}
URL = {http://hal.inria.fr/inria-00475921},
KEYWORDS = {CONFERENCE}
}
%% inria-00587942, version 1
%% http://hal.inria.fr/inria-00587942
Expand All @@ -63,7 +64,8 @@ @inproceedings{friggeri:2011:inria-00587942:1
MONTH = Jun,
KEYWORDS = {france},
ADDRESS = {Cap Est{\'e}rel, France},
URL = {http://hal.inria.fr/inria-00587942}
URL = {http://hal.inria.fr/inria-00587942},
KEYWORDS = {CONFERENCE}
}
%% inria-00597446, version 1
%% http://hal.inria.fr/inria-00597446
Expand All @@ -77,7 +79,8 @@ @inproceedings{friggeri:2011:inria-00597446:1
MONTH = May,
NOTE = {31 accept{\'e}/140 soumis +250 participants},
ADDRESS = {Cambridge, {\'E}tats-Unis},
URL = {http://hal.inria.fr/inria-00597446}
URL = {http://hal.inria.fr/inria-00597446},
KEYWORDS = {WORKSHOP}
}
%% inria-00597447, version 1
%% http://hal.inria.fr/inria-00597447
Expand All @@ -90,7 +93,8 @@ @inproceedings{friggeri:2011:inria-00597447:1
YEAR = {2011},
MONTH = Jun,
ADDRESS = {Budapest, Hongrie},
URL = {http://hal.inria.fr/inria-00597447}
URL = {http://hal.inria.fr/inria-00597447},
KEYWORDS = {CONFERENCE}
}
%% inria-00619092, version 1
%% http://hal.inria.fr/inria-00619092
Expand All @@ -103,7 +107,8 @@ @inproceedings{friggeri:2011:inria-00619092:1
YEAR = {2011},
MONTH = Sep,
ADDRESS = {Cambridge, {\'E}tats-Unis},
URL = {http://hal.inria.fr/inria-00619092}
URL = {http://hal.inria.fr/inria-00619092},
KEYWORDS = {CONFERENCE}
}
%% inria-00626064, version 1
%% http://hal.inria.fr/inria-00626064
Expand All @@ -116,7 +121,8 @@ @inproceedings{friggeri:2011:inria-00626064:1
YEAR = {2011},
MONTH = Sep,
ADDRESS = {Vienna, Autriche},
URL = {http://hal.inria.fr/inria-00626064}
URL = {http://hal.inria.fr/inria-00626064},
KEYWORDS = {CONFERENCE}
}
%% inria-00507447, version 1
%% http://hal.inria.fr/inria-00507447
Expand All @@ -130,7 +136,8 @@ @inproceedings{lucet:2010:inria-00507447:1
BOOKTITLE = {{2010 Interscience Conference on Antimicrobial Agents and Chemotherapy}},
ORGANIZATION = {American Society for Microbiology},
ADDRESS = {Boston, {\'E}tats-Unis},
URL = {http://hal.inria.fr/inria-00507447}
URL = {http://hal.inria.fr/inria-00507447},
KEYWORDS = {CONFERENCE}
}
%% inria-00630363, version 1
%% http://hal.inria.fr/inria-00630363
Expand All @@ -144,7 +151,8 @@ @inproceedings{friggeri:2011:inria-00630363:1
KEYWORDS={france},
BOOKTITLE = {{13emes journ{\'e}es Graphes et Algorithmes}},
ADDRESS = {Lyon, France},
URL = {http://hal.inria.fr/inria-00630363}
URL = {http://hal.inria.fr/inria-00630363},
KEYWORDS = {CONFERENCE}
}
%% inria-00605673, version 1
%% http://hal.inria.fr/inria-00605673
Expand Down
19 changes: 1 addition & 18 deletions cv.tex
Expand Up @@ -94,24 +94,7 @@ \section{programming}
% PUBLICATIONS SECTION
%----------------------------------------------------------------------------------------

\section{publications}
\printbibsection{article}{article in peer-reviewed journal} % Print all articles from the bibliography

\printbibsection{book}{books} % Print all books from the bibliography

\begin{refsection} % This is a custom heading for those references marked as "inproceedings" but not containing "keyword=france"
\nocite{*}
\printbibliography[type=inproceedings, title={international peer-reviewed conferences/proceedings}, notkeyword={france}, heading=bibheading]
\end{refsection}

\begin{refsection} % This is a custom heading for those references marked as "inproceedings" and containing "keyword=france"
\nocite{*}
\printbibliography[type=inproceedings, title={local peer-reviewed conferences/proceedings}, keyword={france}, heading=bibheading]
\end{refsection}

\printbibsection{misc}{other publications} % Print all miscellaneous entries from the bibliography

\printbibsection{report}{research reports} % Print all research reports from the bibliography
\input{sections/publications.tex}

%----------------------------------------------------------------------------------------
% REFERENCES SECTION
Expand Down
93 changes: 69 additions & 24 deletions friggeri-cv.cls
Expand Up @@ -255,13 +255,14 @@ BoldItalicFont=\@cv@fontface-BoldItalic.ttf
% Bibliography %
%%%%%%%%%%%%%%%%

\RequirePackage[backend=biber, style=verbose, maxnames=99, sorting=ydnt]{biblatex}
\RequirePackage[backend=biber, style=verbose, maxnames=99, sorting=ydnt, defernumbers=true]{biblatex}

\DeclareFieldFormat[article]{title}{#1\par}
\DeclareFieldFormat[book]{title}{#1\par}
\DeclareFieldFormat[inproceedings]{title}{#1\par}
\DeclareFieldFormat[misc]{title}{#1\par}
\DeclareFieldFormat[report]{title}{#1\par}
\DeclareFieldFormat[article]{title}{\small#1\par}
\DeclareFieldFormat[book]{title}{\small#1\par}
\DeclareFieldFormat[inproceedings]{title}{\small#1\par}
\DeclareFieldFormat[misc]{title}{\small#1\par}
\DeclareFieldFormat[software]{title}{\small#1\par}
\DeclareFieldFormat[report]{title}{\small#1\par}

\DeclareBibliographyDriver{article}{%
\printfield{title}%
Expand All @@ -278,6 +279,13 @@ BoldItalicFont=\@cv@fontface-BoldItalic.ttf
\printlist{publisher}%
\setunit*{\addcomma\space}%
\printfield{year}%
\setunit*{\addcomma\space}%
\printfield{note}%
}
\newblock%
{%
\footnotesize\addfontfeature{Color=lightgray}\itshape%
\printfield{doi}%
\newunit%
}
\par\vspace{0.3\baselineskip}
Expand Down Expand Up @@ -317,6 +325,14 @@ BoldItalicFont=\@cv@fontface-BoldItalic.ttf
\printfield{year}%
\setunit{\addcomma\space}%
\printlist{location}%
\setunit*{\addcomma\space}%
\printfield{note}%
\newunit%
}
\newblock%
{%
\footnotesize\addfontfeature{Color=lightgray}\itshape%
\printfield{doi}%
\newunit%
}
\par\vspace{0.3\baselineskip}
Expand All @@ -330,13 +346,11 @@ BoldItalicFont=\@cv@fontface-BoldItalic.ttf
\newblock%
{%
\footnotesize\addfontfeature{Color=lightgray}\itshape%
\printfield{booktitle}%
\setunit*{\addcomma\space}%
\printfield{note}%
\printfield{eprint}%
\setunit*{\addcomma\space}%
\printfield{year}%
\setunit{\addcomma\space}%
\printlist{location}%
\setunit*{\addcomma\space}%
\printfield{note}%
\newunit%
}
\par\vspace{0.3\baselineskip}
Expand All @@ -355,36 +369,67 @@ BoldItalicFont=\@cv@fontface-BoldItalic.ttf
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{year}%
\setunit*{\addcomma\space}%
\printfield{note}%
\newunit%
}
\par\vspace{0.3\baselineskip}
}

\DeclareBibliographyDriver{software}{%
\printfield{title}%
\newblock%
\printnames{author}%
\par%
\newblock%
{%
\footnotesize\addfontfeature{Color=lightgray}\itshape%
\printfield{url}%
\setunit{\addcomma\space}%
\printfield{year}%
\setunit*{\addcomma\space}%
\printfield{note}%
\newunit%
}
\par\vspace{0.3\baselineskip}
}

\DeclareNameFormat{author}{%
\small\addfontfeature{Color=lightgray}%
\ifblank{#3}{}{#3\space}#1%
\ifblank{\namepartgiven}{}{\namepartgiven\space}\namepartfamily%
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}
{}%
}

\defbibheading{bibheading}[\bibname]{%
\subsubsection*{#1}
\setlength{\bibitemsep}{0.5ex}

\defbibheading{bibheading}[\bibname]{%
\vspace{0.3\baselineskip}%
\large\headingfont\color{headercolor}#1%
\markboth{#1}{#1}
}
}

\newcommand{\printbibsection}[2]{
\newcommand{\printbibsection}[3][]{
\begin{refsection}
\nocite{*}
\printbibliography[sorting=chronological, type={#1}, title={#2}, heading=bibheading]
\nocite{*}
\ifblank{#1}{%
\printbibliography[sorting=chronological, type={#2}, title={#3}, heading=bibheading]%
}{%
\ifblank{#2}{%
\printbibliography[sorting=chronological, #1, title={#3}, heading=bibheading]%
}{%
\printbibliography[sorting=chronological, #1, type={#2}, title={#3}, heading=bibheading]%
}
}
\end{refsection}
}
}



\DeclareSortingScheme{chronological}{
\sort[direction=descending]{\field{year}}
\sort[direction=descending]{\field{month}}
}
\DeclareSortingScheme{chronological}{
\sort[direction=descending]{\field{year}}
\sort[direction=descending]{\field{month}}
}



Expand Down
21 changes: 21 additions & 0 deletions sections/publications.tex
@@ -0,0 +1,21 @@
\section{Research Publications}


\printbibsection{article}{Journal Articles} % Print all articles from the bibliography

\printbibsection[keyword={conference}]{inproceedings}{Conference Proceedings}

\printbibsection[keyword={workshop}]{inproceedings}{Workshop Proceedings}

\printbibsection[type=inbook]{book}{Books and Chapters}

\clearpage
\newpage
\section{Academic Output}

\printbibsection[keyword={preprint}]{}{Preprints}

\printbibsection{software}{Software}


\printbibsection[notkeyword={conference},notkeyword={workshop},notkeyword={preprint},nottype={software},nottype=article,nottype={book},nottype=inbook]{}{Others}

0 comments on commit 8753613

Please sign in to comment.