$--
$-- bibliography support support for natbib and biblatex
$--
$-- biblio-config: false will not emit the bibliography configuration.
$-- This is useful if the bibliography configuration is already handled by a class file, for example.
$if(biblio-config)$ $-- <-- QUARTO ONLY VARIABLE
$if(natbib)$
\usepackage[$natbiboptions$]{natbib}
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
$endif$
$if(biblatex)$
\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
$for(bibliography)$
\addbibresource{$bibliography$}
$endfor$
$endif$
$endif$