From 5da1c3de6966f256c744b7c45312b2519e3933e8 Mon Sep 17 00:00:00 2001
From: Chris Cox <chris@mathematicaster.org>
Date: Wed, 5 Oct 2022 13:25:51 -0500
Subject: Working on making it better

---
 cv.tex | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 52 insertions(+), 4 deletions(-)

(limited to 'cv.tex')

diff --git a/cv.tex b/cv.tex
index 743de5b..078565e 100644
--- a/cv.tex
+++ b/cv.tex
@@ -7,8 +7,31 @@
 \usepackage[colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=blue,bookmarksopen=true]{hyperref}
 \usepackage{tikz}
 \usepackage{enumitem}
-\usepackage{bibentry}
 
+\usepackage[
+    style=numeric,
+    sorting=ydnt,
+    natbib=true,
+    defernumbers=true,
+    maxbibnames=99,
+    giveninits=true,
+    refsection=section
+]{biblatex}
+\addbibresource{content/papers.bib}
+\addbibresource{content/presentations.bib}
+% \renewcommand*{\mkbibnamegiven}[1]{
+% \ifitemannotation{highlight}
+% {\textbf{#1}}
+% {#1}}
+\renewcommand*{\mkbibnamefamily}[1]{
+    {#1}%
+    \ifitemannotation{undergrad}
+        {\textsuperscript{*}}
+        {}%
+    \ifitemannotation{earlygrad}
+        {$^\dagger$}
+        {}%
+}%%
 % The following hack from http://tex.stackexchange.com/a/103349 reduces spacing in the bibliography slightly.
 % The effect is that the paper is not so long
 \usepackage{etoolbox}
@@ -69,13 +92,38 @@
 \section*{Academic positions \hrulefill}
 \input{content/positions.tex}
 
+% \section*{Publications \hrulefill}
+% \input{content/publications.tex}
 \section*{Publications \hrulefill}
-\input{content/publications.tex}
+{\footnotesize
+    \begin{itemize}
+        \item[$^*$] indicates an undergraduate co-author
+        \item[$^\dagger$] indicates an early graduate co-author
+    \end{itemize}
+}
+\nocite{*}
 
-\section*{Presentations \hrulefill}
-\input{content/presentations.tex}
+\printbibliography[title=Published, heading=subbibliography, keyword=published]
+\printbibliography[title=Accepted, heading=subbibliography, keyword=accepted]
+\printbibliography[title=Submitted, heading=subbibliography, keyword=submitted]
+
+\section*{Teaching \hrulefill}
+\input{content/teaching.tex}
+
+\section*{Professional service \hrulefill}
+\input{content/service.tex}
+
+% \section*{Presentations \hrulefill}
+% \input{content/presentations.tex}
 
 \section*{Awards/Grants \hrulefill}
 \input{content/awards-grants.tex}
 
+\section*{Presentations \hrulefill}
+
+\nocite{*}
+\printbibliography[title=Invited, heading=subbibliography, keyword=invited]
+\printbibliography[title=Contributed, heading=subbibliography, keyword=contributed]
+\printbibliography[title={Internal (at my home institution)}, heading=subbibliography, keyword=internal]
+
 \end{document}
-- 
cgit v1.2.3

