\documentclass{article}
\PassOptionsToPackage{x11names, svgnames}{xcolor}
\PassOptionsToPackage{framemethod=TikZ}{mdframed}
\usepackage{mdframed}
\usepackage[oxalink=\VAR{oxalink}]{curvenote_paper}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{url}
\usepackage{natbib}
\usepackage[hidelinks]{hyperref}
\usepackage{adjustbox}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage[short, nodayofweek]{datetime}
\graphicspath{{assets/}}
\bibliographystyle{abbrvnat}
\setcitestyle{authoryear,open={(},close={)},comma,aysep={,}}
\usepackage[normalem]{ulem}
\usepackage{minted}
\usepackage{enumitem}
\usepackage{float}
\usemintedstyle{friendly}
\surroundwithmdframed[linewidth=1pt,leftmargin=20,rightmargin=20,hidealllines=true, backgroundcolor=GhostWhite]{minted}

%# the main title #%
\title{[[main_title]]}

\author{
[# for author in main_author_list #]
[[author]][# if not loop.last #] \and [# endif #]
[# endfor #]
}

\newdate{articleDate}{[[main_day]]}{[[main_month]]}{[[main_year]]}
\date{\displaydate{articleDate}}

\begin{document}
\maketitle
[# for article_path in article_paths #]
\input{[[article_path]]}
[# endfor #]
\bibliography{main}


\end{document}
