From c8a7fe74c8122063de348652bb2129c399438a08 Mon Sep 17 00:00:00 2001
From: Chris Wells <chris@mathematicaster.org>
Date: Mon, 14 Oct 2024 16:16:45 -0500
Subject: Fixed publication list

---
 pub-list.tex | 58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

(limited to 'pub-list.tex')

diff --git a/pub-list.tex b/pub-list.tex
index 6f17082..4088323 100644
--- a/pub-list.tex
+++ b/pub-list.tex
@@ -1,13 +1,33 @@
 \documentclass[11pt]{article}
 \usepackage[margin=1in]{geometry}
 \usepackage{amsfonts, amsmath, amssymb, amsthm}
+\usepackage{bm}
 
 \PassOptionsToPackage{obeyspaces,hyphens}{url}
 \usepackage{url}
 \usepackage[colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=blue,bookmarksopen=true]{hyperref}
 \usepackage{tikz}
 \usepackage{enumitem}
-\usepackage{bibentry}
+\usepackage[
+    style=numeric,
+    sorting=ydmdnt,
+    natbib=true,
+    defernumbers=true,
+    maxbibnames=99,
+    refsection=section,
+]{biblatex}
+\addbibresource{content/papers.bib}
+\addbibresource{content/presentations.bib}
+\renewcommand*{\mkbibnamefamily}[1]{%
+    {#1}%
+    \ifitemannotation{undergrad}
+        {{\color{red}$^{\bm{\star}}$}}
+        {}%
+    \ifitemannotation{earlygrad}
+        {{\color{red}$^{\bm{\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
@@ -19,30 +39,6 @@
 \setlength\parskip{5pt}
 
 
-% \newcommand*{\at}[1]{\\[2pt]\hspace*{-5pt}\begin{minipage}{\textwidth}\begin{itemize}\item[@]#1\end{itemize}\end{minipage}}
-\newcommand*{\at}[1]{\vspace{-5pt}\begin{itemize}[leftmargin=0.75cm]\item[@]#1\end{itemize}}
-\newcommand*{\with}[1]{\begin{itemize}[leftmargin=1.25cm]\item[with]#1\end{itemize}}
-
-\newcommand*{\arXiv}[1]{\href{https://arxiv.org/abs/#1}{arXiv:#1}}
-\newcommand*{\doi}[1]{\href{https://doi.org/#1}{DOI:#1}}
-% \published{title}{coauthors}{journal}{vol}{no}{pp}{date}{url}
-\newcommand*{\published}[8]{%
-    {\nopagebreak
-        #1. \textit{#3}, \ifthere{vol}{#4}\ifthere{no}{#5}\ifthere{pp}{#6}#7.
-        \with{#2.}
-    }
-}
-% \accepted{title}{coauthors}{journal}{arXiv}
-\newcommand*{\accepted}[4]{#1. \textit{#3}. \arXiv{#4}.\with{#2.}}
-% \submitted{title}{coauthors}{arXiv}
-\newcommand*{\submitted}[3]{#1. \arXiv{#3}.\with{#2.}}
-
-\def\ifthere#1#2{%
-    \if\relax\detokenize{#2}\relax%
-    \else%
-        {#1 #2,}
-    \fi}
-
 \def\doc{Publication List}
 
 
@@ -65,6 +61,16 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \setlist{nolistsep}
 
-\input{content/publications.tex}
+{\footnotesize
+    \begin{itemize}
+        \item[{\color{red}$\bm{\star}$}] indicates an undergraduate co-author
+        \item[{\color{red}$\bm{\dagger}$}] indicates a graduate co-author
+    \end{itemize}
+}
+\nocite{*}
+
+\printbibliography[title=Published, heading=subbibliography, keyword=published]
+\printbibliography[title=Accepted, heading=subbibliography, keyword=accepted]
+\printbibliography[title=Submitted, heading=subbibliography, keyword=submitted]
 
 \end{document}
-- 
cgit v1.2.3

